Changes to ShipComponentDefs not showing up in tech tree?

So I modded ShipComponentDefs.xml a bit to try to (in my opinion) balance a few things, but the changes don't show up in the tooltips for the tech tree, which is very annoying. I assume it will mean they also won't show up when adding the components to ships, even if they actually are statistically matching my changes.

how do I get tooltips to match changes that I make?

13,417 views 8 replies
Reply #1 Top

Additionally: if I can't get the tooltips for the components to change, the stats themselves will still behave according to the changes though, right?

And for example a component with increased attack compared to vanilla, will a ship I put it on display that it has damage equal to the incorrect vanilla value or the correct modded value?

Reply #2 Top

Did you modify the shipcomponentdefs.xml directly or did you make a copy in your mods folder and modify that.

Tooltip descriptions that say 'Increases rate of fire of Beam Weapons 30% but lowers damage 15%' are hardcoded into the text descriptions, so you will have to edit these to reflect any changes you have made.

The stats below the description in the tooltip, are dynamic, and should change based on what stats are in the xml 

Hope this helps.

Reply #3 Top

Quoting treborblue, reply 2

Did you modify the shipcomponentdefs.xml directly or did you make a copy in your mods folder and modify that.

Tooltip descriptions that say 'Increases rate of fire of Beam Weapons 30% but lowers damage 15%' are hardcoded into the text descriptions, so you will have to edit these to reflect any changes you have made.

The stats below the description in the tooltip, are dynamic, and should change based on what stats are in the xml 

Hope this helps.

 

I first tried the copy in mods folder method, when that didn't work, I also tried changing the xml file in the game folder itself (while still keeping the mods folder version) and that still didn't work

If the stats in the tooltip are supposed to be dynamic, they are definitely not working

Reply #4 Top

Which stats are you trying to modify?

 

Reply #5 Top

damage for the late game weapons mostly, also adjusting strategic resource costs

Reply #6 Top

I have just done a quick test.

Copied shipcomponentsdefs.xml to mod folder '....\Documents\My Games\GC3Crusade\Mods\ExampleMod\Game

Fired up the tech tree editor, set the mod path to point at '...\Documents\My Games\GC3Crusade\Mods\ExampleMod

Select View from drop down menu, unselect 'default tech trees only' this will load the mod file instead of default file.

Double clicked on 'Prototype Duranthium Driver' icon  (pulse cannon tech) this opens up the relevant xml file (small bug - says its a core file, ignore)

Edited the Duranthium cost from 12 to 2 and edited the Kinetic attack to 40, saved and loaded game.

Changes are in working in game. Tool tips show new values etc.

If it still doesn't work ,remove all mods from crusade mods folder and base game mod folder.

Reply #7 Top

ok, I ended up just re-installing all my mods and that fixed it, no idea what the problem was, but at least it's working now, thanks though :)

Reply #8 Top

Glad you got it working.