Game Crash on New Module Mouseover

So, I'm adding in a new defense module... I think I've edited all the necessary files.  I can get the unit placed in the Tactical menu, shows the correct icon but once I hover over it it doesn't display the infocard and crashes the game.  New to the modding scene, but no stranger to coding. (Though not that great). =P

Here's the files I've edited, am I missing any files?

Created a new file PLANETMODULE_TECHORBITALGUNDEFENSE.entity, copied from PLANETMODULE_TECHORBITALGAUSSDEFENSE.entity
Edited PlayerTech.entity, increased count, added in new defense module under tactical page.
Edited InfoCardIcon-Module.brushes, increased count and copy/pasted gauss defense infocard block and edited to reflect new defense module.

Thanks for the help.
3,101 views 2 replies
Reply #1 Top
Did you change the string references but forgot to add the strings to the file, by any chance?
Reply #2 Top
Figured out what was wrong, for the NameStringID and DescriptionStringID I was putting in my own text, when I needed to create it in the English.str and use that ID instead of custom text in those 2 fields.