the total upgrades ALLOWED are in the entrenchment\gameinfo\starbaseRACE.entitys, and the upgrades are in the entrenchment\gameinfo\StarBaseUpgradeRACEfunction.entitys (each of these can have a total of ten levels from 0 to 9, with nine upgrades possible there is a theoretical limit of ninety upgrades
and the line you want to alter to increase the total upgrades that can be buit per starbase reads
maxUpgradeLevelCount 8 <== change the 8 to whatever you want, but the total count of stock starbase upgrades is 24, so if you want more than 24 upgrades then you will have to edit the starbase upgrades to add the extra levels.
and the starebases were hidden in the ENTRENCHMENT gameinfo's
and before I forget, do NOT change the files in the program files folders, first make a copy of them in ANOTHER location, then create a MOD with the files you want to alter in them and change the files in the MOD, the enable the mod in game AND apply the mod in the game
harpo