k, i need u to post these things:
1 China dozer command set
2 your upgrade (in upgrade ini)
3 the command buttons for the upgrade
4 objects effected by the upgrade
Ok, i did the command sets for the China dozer but, i cannot click on the upgrade, as it says Conflicting Upgrade cannot be purchesed. I see nothing thats its gettin conflicted by. Can someone help me?
k, i need u to post these things:
1 China dozer command set
2 your upgrade (in upgrade ini)
3 the command buttons for the upgrade
4 objects effected by the upgrade
ok, command set
CommandSet ChinaDozerCommandSet
1 = Command_ConstructChinaPowerPlant
2 = Command_ConstructChinaAirfield
3 = Command_ConstructChinaBarracks
4 = Command_ConstructChinaPropagandaCenter
5 = Command_ConstructChinaSupplyCenter
6 = Command_ConstructChinaSpeakerTower
7 = Command_ConstructChinaBunker
8 = Command_ConstructChinaNuclearMissileLauncher
9 = Command_ConstructChinaGattlingCannon
10 = Command_ConstructChinaCommandCenter
11 = Command_ConstructChinaWarFactory
12 = Command_UpgradeChinaDozerSecondCommandSet
End
CommandSet ChinaDozerSecondCommandSet
1 = Command_ConstructChinaTurret
2 = Command_DisarmMinesAtPosition
12 = Command_UpgradeChinaDozerCommandSet
End
Heres CommandButtons
CommandButton Command_UpgradeChinaDozerSecondCommandSet
Command = OBJECT_UPGRADE
Upgrade = Upgrade_ChinaDozerSecondCommandSet
TextLabel = CONTROLBAR:UpgradeChinaDozerSecondCommandSet
ButtonImage = RightArrow
ButtonBorderType = UPGRADE ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:ToolTipUpgradeChinaDozerSecondCommandSe t
End
CommandButton Command_UpgradeChinaDozerCommandSet
Command = OBJECT_UPGRADE
Upgrade = Upgrade_ChinaDozerCommandSet
TextLabel = CONTROLBAR:UpgradeChinaDozerCommandSet
ButtonImage = LeftArrow
ButtonBorderType = UPGRADE ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:ToolTipUpgradeChinaDozerCommandSet
End
Upgrades Commands
;-----------------------
;China Dozer Second CommandSet Upgrade
;-----------------------
Upgrade Upgrade_ChinaDozerSecondCommandSet
DisplayName = Object
BuildTime = 0.0
BuildCost = 0
ButtonImage = RightArrow
End
;-----------------------
;China Dozer CommandSet Upgrade
;-----------------------
Upgrade Upgrade_ChinaDozerCommandSet
DisplayName = Object
BuildTime = 0.0
BuildCost = 0
ButtonImage = LeftArrow
End
and nothing effects it
now i just added the Worker code from ZH to our gen worker, and im gettin the same error. I cant click on it and it says, conflicting upgrade cannot be purchesed.![]()
oooo, your doing a structure expansion list like in nukers reborn mod, he did it in there, ill post the info for his and maybe itll help, just have to find it
ok thx
I had the same problem at one point. I just decided not to use Upgrades.
what did u use?
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
To buy upgrades from a unit, that unit needs ProductionUpdate:
Code:Behavior = ProductionUpdate Whatever End
Bookmarks