I am the leader of the Zero Hour Crazy Mod, and the creator of the Cookie General.
See here: http://forum.cncrene...p?showforum=152
![Posted Image](http://img99.imageshack.us/img99/782/cookiecrawlereo1.jpg)
29 August 2006 - 03:24 AM
29 August 2006 - 02:50 AM
29 August 2006 - 02:42 AM
;---------------------------- Upgrade Upgrade_USADozerPrimaryCommandSet Type = OBJECT BuildTime = 0.0 BuildCost = 0 ButtonImage = SUFakeToggle; Replace with downwards arrow cameo for best effect. End ;---------------------------- Upgrade Upgrade_USADozerSecondaryCommandSet Type = OBJECT BuildTime = 0.0 BuildCost = 0 ButtonImage = SUFakeToggle; Replace with upwards arrow cameo for best effect. End
CommandSet AmericaDozerCommandSet; This overwrites the original commandset. 1 = Command_ConstructAmericaPowerPlant 2 = Command_ConstructAmericaStrategyCenter 3 = Command_ConstructAmericaBarracks 4 = Command_ConstructAmericaSupplyDropZone 5 = Command_ConstructAmericaSupplyCenter 6 = Command_ConstructAmericaParticleCannonUplink 7 = Command_ConstructAmericaPatriotBattery 8 = Command_ConstructAmericaCommandCenter 9 = Command_ConstructAmericaFireBase 11 = Command_ConstructAmericaWarFactory 12 = Command_ConstructAmericaAirfield 13 = Command_UpgradeUSADozerSecondaryCommandSet; We add this button, which will upgrade the commandset. 14 = Command_DisarmMinesAtPosition End CommandSet AmericaDozerSecondaryCommandSet 1 = Command_ConstructAmericaSupplyDropZone 3 = Command_ConstructAmericaParticleCannonUplink 5 = Command_ConstructAmericaPatriotBattery 7 = Command_ConstructAmericaFireBase 13 = Command_UpgradeUSADozerPrimaryCommandSet;This will change the commandset to the regular one 14 = Command_DisarmMinesAtPosition End
CommandButton Command_UpgradeUSADozerSecondaryCommandSet Command = OBJECT_UPGRADE Upgrade = Upgrade_USADozerSecondaryCommandSet TextLabel = CONTROLBAR:UpgradeUSADozerSecondaryCommandSet ButtonImage = SUFakeToggle ButtonBorderType = UPGRADE; Identifier for the User as to what kind of button this is DescriptLabel = CONTROLBAR:ToolTipUpgradeUSADozerSecondaryCommandSet End CommandButton Command_UpgradeUSADozerPrimaryCommandSet Command = OBJECT_UPGRADE Upgrade = Upgrade_USADozerPrimaryCommandSet TextLabel = CONTROLBAR:UpgradeUSADozerPrimaryCommandSet ButtonImage = SUFakeToggle ButtonBorderType = UPGRADE; Identifier for the User as to what kind of button this is DescriptLabel = CONTROLBAR:ToolTipUpgradeUSADozerPrimaryCommandSet End
CommandSet AmericaDozerCommandSet 1 = Command_ConstructAmericaPowerPlant 2 = Command_ConstructAmericaStrategyCenter 3 = Command_ConstructAmericaBarracks 4 = Command_ConstructAmericaSupplyDropZone 5 = Command_ConstructAmericaSupplyCenter 6 = Command_ConstructAmericaParticleCannonUplink 7 = Command_ConstructAmericaPatriotBattery 8 = Command_ConstructAmericaCommandCenter 9 = Command_ConstructAmericaFireBase 11 = Command_ConstructAmericaWarFactory 12 = Command_ConstructAmericaAirfield 13 = Command_UpgradeUSADozerSecondaryCommandSet 14 = Command_DisarmMinesAtPosition 15 = Command_ConstructAmericaIonCannon; Put the button here. ;The bar only has room for 14 buttons, so you won't see it,but the AI can use it. End