How to Change the Unit Caps by rc mad
Download and install the
Decompiled Data
Singleplayer
UC_Family("Fighter",14)
UC_FamilyOverride("Vaygr","Fighter",18)
UC_Family("Corvette",12)
UC_ShipType("MinelayerCorvette",5)
UC_Family("Frigate",21)
UC_ShipType("DefenseFieldFrigate",2)
UC_ShipType("CaptureFrigate",6)
UC_ShipTypeOverride("Hiigaran","CaptureFrigate",4)
UC_Family("Capital",13)
UC_FamilyOverride("Vaygr","Capital",15)
UC_ShipType("Destroyer",5)
UC_ShipType("Carrier",4)
UC_ShipTypeOverride("Vaygr","Carrier",6)
UC_ShipType("Battlecruiser",2)
UC_ShipType("Shipyard",1)
UC_Family("Utility",50)
UC_ShipType("ResourceCollector",20)
UC_ShipType("ResourceController",4)
UC_ShipType("Probe",10)
UC_ShipType("ECMProbe",10)
UC_ShipType("ProximitySensor",10)
UC_Family("Platform",20)
UC_ShipType("HyperspacePlatform",4)
UC_Family("Mothership",1)
UC_Family("DreadNaught",1)
UC_Family("SinglePlayerMisc",100)
UC_FamilyOverride("Hiigaran","SinglePlayerMisc",0)
UC_ShipType("Mover",10)
UC_Family("SPMovers",10)
UC_Family("CommStation",1)
UC_Family refers to groups of ships, i.e. frigates.
UC_ShipType refers to a specific ship. For example, out of a possible total of 21 frigates you are only allowed 2 Defense Field Frigates.
The list is universal for both races. In some instances one race may have more/less ships than the other (I assume to keep the game balanced).
I.E.:
UC_ShipType("CaptureFrigate", 6) -- Vaygr can have 6 capture frigs
UC_ShipTypeOverride("Hiigaran", "CaptureFrigate", 4) -- hiigaran can only have 4
Let's say you wanted the Vaygr to have a 4 carrier limit, and the hiigarans 6.
Then you'd need to change:
UC_ShipType("Carrier",4)
UC_ShipTypeOverride("Vaygr","Carrier",6)
to:
UC_ShipType("Carrier",6)
UC_ShipTypeOverride("Vaygr","Carrier",4)
This means that the hiigs can build 6 carriers whilst the Vaygr can only build 4.
Lastly, there's no point in changing the following items, as you cannot build them:
UC_Family("Mothership",1)
UC_Family("DreadNaught",1)
UC_Family("CommStation",1)
Related Pages: