Hi, I'm making a mod for personal use, and to figure out this game's modding possibilities. So far, I've removed all frigates except scout and colony, gotten rid of all fleet cap research, upped the number of capital slots for each research level, made captial slot research cost a percentage of income, and probably a few other things that I can't remember. Without playing a game, I've predicted that bombers will be too powerful in a captial ship only game. So, rather than go through all the trouble of putting anti-squadron weapons on each capital ship, I think I'm going to give each captial ship a squadron to start with, and let all capital ships except for the carrier only build fighter squadrons.
But I can't seem to be able to remove the ability to build bomber squadrons from a capital ship. In each ship's entity file, these lines appear:
squadTypeEntityDef:0 "SquadPhaseCombat"
squadAntiMatterCost:0 0.000000
squadTypeEntityDef:1 "SquadPhaseBomber"
squadAntiMatterCost:1 0.000000
My first thought was to get rid of the last 2 lines. But that causes a crash when you load the mod files. I can't see any count entry in the file above that, where is specifies a number of lines that are expected to follow. So my next solution was to change "SquadPhaseBomber" to "SquadPhaseCombat", and just have both options build a fighter squadron. Doing this lets you load the mod up, and get right into a game, but when you try to build the second fighter squadron option the game freezes and uses up 100% CPU.
Any thoughts on how to remove bomber squadrons from certain captial ships?
-Neb