PDA

View Full Version : Zero Hour map.ini


zgtrman97
05-20-2008, 02:30 AM
I am trying to get all of the american dozers to build a china supply center for the first few minutes of a game however when I copy and pasted the dozer command sets from the CommandSet.ini file and then take out the particle cannon uplink lne and replace it with Construct_ChinaSupplyCenter...it crashed the game. When I look at the crash info it points to the modded command set..See examples below:

This is the first line in my map.ini file

Object ChinaSupplyCenter
Buildable = Yes (Ignore Prerequisites)
End

This one works for Vaniila USA only none of the others

CommandSet AmericaDozerCommandSet
1 = Command_ConstructAmericaPowerPlant
2 = Command_ConstructAmericaStrategyCenter
3 = Command_ConstructAmericaBarracks
4 = Command_ConstructAmericaSupplyDropZone
5 = Command_ConstructAmericaSupplyCenter
6 = Command_ConstructChinaSupplyCenter
7 = Command_ConstructAmericaPatriotBattery
8 = Command_ConstructAmericaCommandCenter
9 = Command_ConstructAmericaFireBase
11 = Command_ConstructAmericaWarFactory
13 = Command_ConstructAmericaAirfield
14 = Command_DisarmMinesAtPosition
End

any or all of these crash the game (skirmish)

CommandSet AirF_AmericaDozerCommandSet
1 = AirF_Command_ConstructAmericaPowerPlant
2 = AirF_Command_ConstructAmericaStrategyCenter
3 = AirF_Command_ConstructAmericaBarracks
4 = AirF_Command_ConstructAmericaSupplyDropZone
5 = AirF_Command_ConstructAmericaSupplyCenter
6 = AirF_Command_ConstructChinaSupplyCenter
7 = AirF_Command_ConstructAmericaPatriotBattery
8 = AirF_Command_ConstructAmericaCommandCenter
9 = AirF_Command_ConstructAmericaFireBase
11 = AirF_Command_ConstructAmericaWarFactory
13 = AirF_Command_ConstructAmericaAirfield
14 = Command_DisarmMinesAtPosition
End
CommandSet SupW_AmericaDozerCommandSet
1 = SupW_Command_ConstructAmericaPowerPlant
2 = SupW_Command_ConstructAmericaStrategyCenter
3 = SupW_Command_ConstructAmericaBarracks
4 = SupW_Command_ConstructAmericaSupplyDropZone
5 = SupW_Command_ConstructAmericaSupplyCenter
6 = SupW_Command_ConstructChinaSupplyCenter
7 = SupW_Command_ConstructAmericaPatriotBattery
8 = SupW_Command_ConstructAmericaCommandCenter
9 = SupW_Command_ConstructAmericaFireBase
11 = SupW_Command_ConstructAmericaWarFactory
13 = SupW_Command_ConstructAmericaAirfield
14 = Command_DisarmMinesAtPosition
End
CommandSet Lazr_AmericaDozerCommandSet
1 = Lazr_Command_ConstructAmericaPowerPlant
2 = Lazr_Command_ConstructAmericaStrategyCenter
3 = Lazr_Command_ConstructAmericaBarracks
4 = Lazr_Command_ConstructAmericaSupplyDropZone
5 = Lazr_Command_ConstructAmericaSupplyCenter
6 = Lazr_Command_ConstructChinaSupplyCenter
7 = Lazr_Command_ConstructAmericaPatriotBattery
8 = Lazr_Command_ConstructAmericaCommandCenter
9 = Lazr_Command_ConstructAmericaFireBase
11 = Lazr_Command_ConstructAmericaWarFactory
13 = Lazr_Command_ConstructAmericaAirfield
14 = Command_DisarmMinesAtPosition
End

any ideas would be very helpful.

apple23
06-03-2008, 03:02 AM
You are getting a random crash because there is no such thing as Lazr_Command_ConstructChinaSupplyCenter, SupW_Command_ConstructChinaSupplyCenter, or AirF_Command_ConstructChinaSupplyCenter. You don't need to add that extra tag because that extra tag is there to differentiate between two different types of the same building. There is no special china supply center for any of the USA ganerals, so there is no need to put that extra tag there. For all 3 generals, the command should read the same:

6 = Command_ConstructChinaSupplyCenter

That should work for you quite nicely.

zgtrman97
06-11-2008, 07:05 PM
You are getting a random crash because there is no such thing as Lazr_Command_ConstructChinaSupplyCenter, SupW_Command_ConstructChinaSupplyCenter, or AirF_Command_ConstructChinaSupplyCenter. You don't need to add that extra tag because that extra tag is there to differentiate between two different types of the same building. There is no special china supply center for any of the USA ganerals, so there is no need to put that extra tag there. For all 3 generals, the command should read the same:

6 = Command_ConstructChinaSupplyCenter

That should work for you quite nicely.


THATS IT!!! I feel so stupid right now..thank you for the response;)

apple23
06-11-2008, 07:55 PM
don't worry about it... but anyway, it worked right?

zgtrman97
06-12-2008, 01:48 PM
don't worry about it... but anyway, it worked right?


I made the changes and the game does not crash right at the beginning anymore..now it mismatches after the first supply center is dropped. So I limited the armies and was able play a complete game...better than nothing..thanks apple23 for pointing out my error.