View Single Post
Old 12-04-2003, 01:16 AM   #2 (permalink)
damo1
Senior Member
 
Join Date: Mar 2003
Location: uk
Posts: 556
Send a message via MSN to damo1
Default

there you go just change ChinaAirfield to chinawarfactory and change the
ModuleTag_ numbers

here is the code

-------------------FactionBuilding-----------------------------

Behavior = CommandSetUpgrade ModuleTag_17
TriggeredBy = Upgrade_ChinaAirfieldupCommandSet
RemovesUpgrades = Upgrade_ChinaAirfielddownCommandSet
CommandSet = ChinaAirfieldtechCommandSet
End

Behavior = CommandSetUpgrade ModuleTag_18
TriggeredBy = Upgrade_ChinaAirfielddownCommandSet
RemovesUpgrades = Upgrade_ChinaAirfieldupCommandSet Upgrade_ChinaAirfielddownCommandSet
CommandSet = ChinaAirfieldCommandSet
End

Behavior = ProductionUpdate ModuleTag_19
MaxQueueEntries = 1; For the command set switching upgrade
End

Behavior = CommandSetUpgrade ModuleTag_20
TriggeredBy = Upgrade_ChinaAirfieldupCommandSetUpgrade
RemovesUpgrades = Upgrade_ChinaAirfielddownCommandSetUpgrade
CommandSet = ChinaAirfieldtechCommandSetUpgrade
End

Behavior = CommandSetUpgrade ModuleTag_21
TriggeredBy = Upgrade_ChinaAirfielddownCommandSetUpgrade
RemovesUpgrades = Upgrade_ChinaAirfieldupCommandSetUpgrade Upgrade_ChinaAirfielddownCommandSetUpgrade
CommandSet = ChinaAirfieldCommandSetUpgrade
End

--------------------------CommandSet-----------------------------

CommandSet ChinaAirfieldCommandSet

11 = Command_UpgradeChinaAirfieldupCommandSet
End

CommandSet ChinaAirfieldtechCommandSet

11 = Command_UpgradeChinaAirfielddownCommandSet

End

CommandSet ChinaAirfieldCommandSetUpgrade

11 = Command_UpgradeChinaAirfieldupCommandSetUpgrade
End

CommandSet ChinaAirfieldtechCommandSetUpgrade

11 = Command_UpgradeChinaAirfielddownCommandSetUpgrade

End

-------------------------------Upgrade-------------------------

Upgrade Upgrade_ChinaAirfieldupCommandSetUpgrade
Type = OBJECT
BuildTime = 0.0
BuildCost = 0
ButtonImage = techup
End

Upgrade Upgrade_ChinaAirfielddownCommandSetUpgrade
Type = OBJECT
BuildTime = 0.0
BuildCost = 0
ButtonImage = techdown
End

Upgrade Upgrade_ChinaAirfieldupCommandSet
Type = OBJECT
BuildTime = 0.0
BuildCost = 0
ButtonImage = techup
End

Upgrade Upgrade_ChinaAirfielddownCommandSet
Type = OBJECT
BuildTime = 0.0
BuildCost = 0
ButtonImage = techdown
End

--------------------------CommandButton----------------------

CommandButton Command_UpgradeChinaAirfieldupCommandSet
Command = OBJECT_UPGRADE
Upgrade = Upgrade_ChinaAirfieldupCommandSet
TextLabel = CONTROLBAR:UpgradeupCommandSet
ButtonImage = techup
ButtonBorderType = UPGRADE ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:ToolTipUpgradeupCommandSet
End

CommandButton Command_UpgradeChinaAirfielddownCommandSet
Command = OBJECT_UPGRADE
Upgrade = Upgrade_ChinaAirfielddownCommandSet
TextLabel = CONTROLBAR:UpgradedownCommandSet
ButtonImage = techdown
ButtonBorderType = UPGRADE ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:ToolTipUpgradedownCommandSet
End

CommandButton Command_UpgradeChinaAirfieldupCommandSetUpgrade
Command = OBJECT_UPGRADE
Upgrade = Upgrade_ChinaAirfieldupCommandSetUpgrade
TextLabel = CONTROLBAR:UpgradeupCommandSet
ButtonImage = techup
ButtonBorderType = UPGRADE ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:ToolTipUpgradeupCommandSet
End

CommandButton Command_UpgradeChinaAirfielddownCommandSetUpgrade
Command = OBJECT_UPGRADE
Upgrade = Upgrade_ChinaAirfielddownCommandSetUpgrade
TextLabel = CONTROLBAR:UpgradedownCommandSet
ButtonImage = techdown
ButtonBorderType = UPGRADE ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:ToolTipUpgradedownCommandSet
End
damo1 is offline   Reply With Quote