Need help on Map.ini
I've magicly Figured out how to use modules in map.ini's affecting command sets but now I need Help With China. All Of china's buildings have 2 command sets as you may or may not know, 1 for unupgraded and 1 for upgraded with regular mines (so they can build emp mines.) Problem I'm having is exactly that. The Only example I have to go by is The code for The Internet center but it's hard to go off of because it actually has Multiple combinations for command sets (no upgrades, Mine1 and no sat, mine1 and sat1 , no mines and sat1...)
Long story short, something is wrong with this code (for a Map.ini) and I want to know what.
Object = Nuke_ChinaAirfield
CommandSet = Nuke_ChinaAirfieldCommandSet2
End
ReplaceModule ModuleTag_25
Behavior = CommandSetUpgrade ModuleTag_25_2
CommandSet = Nuke_ChinaAirfieldCommandSetUpgrade2
TriggeredBy = Upgrade_ChinaMines
End
End
CommandSet Nuke_ChinaAirfieldCommandSet2
1 = Nuke_Command_ConstructChinaJetMIG
2 = Command_UpgradeChinaAircraftArmor
3 = Nuke_Command_ConstructChinaVehicleHelix
11 = Command_UpgradeChinaTacticalNukeMig
12 = Command_UpgradeChinaMines
13 = Command_SetRallyPoint
14 = Command_Sell
End
CommandSet Nuke_ChinaAirfieldCommandSetUpgrade2
1 = Nuke_Command_ConstructChinaJetMIG
2 = Command_UpgradeChinaAircraftArmor
3 = Nuke_Command_ConstructChinaVehicleHelix
11 = Command_UpgradeChinaTacticalNukeMig
12 = Command_UpgradeEMPMines
13 = Command_SetRallyPoint
14 = Command_Sell
End
I'm also having trouble adjusting the prices/build times for units. I'm pretty sure that it should go like this but for some reason it won't work.
Object (object name)
Buildcost = X
Buildtime = X
End
|