Pimm
07-22-2007, 07:42 PM
Hi all,
I'm new to Generals modding (I'm actually modding Generals, not Zero:Hour) and I have a problem.
I have this in my map.ini:CommandSet
ChinaNuclearMissileCommandSet
1 = Command_NeutronMissile
2 = Command_UpgradeChinaNuclearTanks
10 = Command_UpgradeChinaMines
12 = Command_Sell
EndBut it turns out button 7 and 8 (old places for UpgradeChinaNuclearTanks and UpgradeChinaUraniumShells) are still there. So I'm looking for a way to remove these buttons. Tried7 = NONE
8 = NONEbut that crashes Generals. I wanted to entirely drop the ChinaNuclearMissileCommandSet and write a new one, but I don't know how to configure the panel to use my new CommandSet instead of that one.
Any help is appreciated!
Thanks.
Edit: The following did the trick:Object ChinaNuclearMissileLauncher
CommandSet = ChinaNuclearMissileCommandSet_New
End
CommandSet ChinaNuclearMissileCommandSet_New
1 = Command_NeutronMissile
2 = Command_UpgradeChinaUraniumShells
10 = Command_UpgradeChinaMines
12 = Command_Sell
End
I'm new to Generals modding (I'm actually modding Generals, not Zero:Hour) and I have a problem.
I have this in my map.ini:CommandSet
ChinaNuclearMissileCommandSet
1 = Command_NeutronMissile
2 = Command_UpgradeChinaNuclearTanks
10 = Command_UpgradeChinaMines
12 = Command_Sell
EndBut it turns out button 7 and 8 (old places for UpgradeChinaNuclearTanks and UpgradeChinaUraniumShells) are still there. So I'm looking for a way to remove these buttons. Tried7 = NONE
8 = NONEbut that crashes Generals. I wanted to entirely drop the ChinaNuclearMissileCommandSet and write a new one, but I don't know how to configure the panel to use my new CommandSet instead of that one.
Any help is appreciated!
Thanks.
Edit: The following did the trick:Object ChinaNuclearMissileLauncher
CommandSet = ChinaNuclearMissileCommandSet_New
End
CommandSet ChinaNuclearMissileCommandSet_New
1 = Command_NeutronMissile
2 = Command_UpgradeChinaUraniumShells
10 = Command_UpgradeChinaMines
12 = Command_Sell
End