I recently tried to create researches that increase the damage of the Advent and Vasari Starbases unique weapons. While - after a lot of trying, experimenting and learning - I finally managed to get the new research for the advent into the game without it crashing, it still doesn't increase the damage.
Now for a more detailed describtion of what I did:
I copied RESEARCHSUBJECT_WEAPONDAMAGE_TECHBEAM0.entity, renamed it into RESEARCHSUBJECT_WEAPONDAMAGE_SPIRITBLADE0.entity and replaced the "BEAM" entry in linkedWeaponClass with "SPIRITBLADE" (as it can be found in PsiStarbase.entity).
Then I changed the window location into an empty spot in the Advent Techtree, put according new lines into Psi_player.entity and entity.manifest and made new entries in the English.str.
The research shows up in the right spot, has the correct name and can be researched, but instead of increasing only the damage of the Psionic Surge, it increases the damage of all weapons. Not just the ones of the Starbase, but also the ones on beam platforms and ships.
Anyone know why the game does that, and how to make the research only increase the damage of the psi surge?