Thread: Error
View Single Post
Old 08-09-2004, 04:15 PM   #9 (permalink)
DaLump
Senior Member
 
Join Date: Jun 2004
Location: United States of America
Posts: 122
Default

Command Set (with upgrade)

CommandSet SupW_AmericaDozerCommandSet
1 = SupW_Command_ConstructAmericaPowerPlant
2 = SupW_Command_ConstructAmericaStrategyCenter
3 = SupW_Command_ConstructAmericaBarracks
4 = SupW_Command_ConstructAmericaSupplyDropZone
5 = SupW_Command_ConstructAmericaPatriotBattery
6 = SupW_Command_ConstructAmericaFireBase
7 = SupW_Command_ConstructAmericaSupplyCenter
8 = SupW_Command_ConstructAmericaCommandCenter
9 = SupW_Command_ConstructAmericaWarFactory
10 = Command_ConstructAmericaOilDerrick
11 = SupW_Command_ConstructAmericaAirfield
13 = Command_SwitchToSuperweapons
14 = Command_DisarmMinesAtPosition
End

Command Button (for upgrade)

CommandButton Command_SwitchToSuperweapons
Command = OBJECT_UPGRADE
Upgrade = Upgrade_SuperweaponCommandSet
TextLabel = CONTROLBAR:UpgradeChinaDozerSWCommandSet
ButtonImage = SACDozer
ButtonBorderType = UPGRADE ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:ToolTipUpgradeChinaDozerSWCommandSet
End

Command Set (the new expanded one)
CommandSet SupW_AmericaDozerSuperweaponCommandSet
1 = SupW_Command_ConstructAmericaParticleCannonUplink
3 = Command_ConstructAmericaICBM
5 = SupW_Command_ConstructAmericaTomahawkStorm
13 = Command_SwitchToBuildings
14 = Command_DisarmMinesAtPosition
End

The Upgrade (for the new SW commandset)
Upgrade Upgrade_SuperweaponCommandSet
Type = OBJECT
BuildTime = 0.0
BuildCost = 0
ButtonImage = SACDozer
End

Command Button (switches back to original command set)
CommandButton Command_SwitchToBuildings
Command = OBJECT_UPGRADE
Upgrade = Upgrade_BuildingsCommandSet
TextLabel = CONTROLBAR:UpgradeChinaDozerRealCommandSet
ButtonImage = SACDozer
ButtonBorderType = UPGRADE ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:ToolTipUpgradeChinaDozerRealCommandSet
End

Upgrade (for switch back)

Upgrade Upgrade_BuildingsCommandSet
Type = OBJECT
BuildTime = 0.0
BuildCost = 0
ButtonImage = SACDozer
End

Information about the dozer (In this case, in the SWG's ini)

Behavior = CommandSetUpgrade ModuleTag_25
TriggeredBy = Upgrade_BuildingsCommandSet
RemovesUpgrades = Upgrade_SuperweaponCommandSet
CommandSet = SupW_AmericaDozerCommandSet
End

Behavior = CommandSetUpgrade ModuleTag_26
TriggeredBy = Upgrade_SuperweaponCommandSet
RemovesUpgrades = Upgrade_BuildingsCommandSet
CommandSet = SupW_AmericaDozerSuperweaponCommandSet
End

---this piece below here may be causing your problem, it happened to me and it just greyed out and could not be purchased; u need for it to be able to have special updates---

Behavior = ProductionUpdate ModuleTag_27
MaxQueueEntries = 1; For the command set switching upgrade
End
DaLump is offline   Reply With Quote