 |
Forum Info
|
 |
Forum Members: 18,581
Total Threads: 8,668
Posts: 94,540
Administrators:
DeeZire, Redemption
There are currently 42 users online.
|
 |
Partner Links
|
 |
 |
Advertisements
|
 |
|
| Generals & Zero Hour Editing Discuss any modding related issues to do with Generals and Zero Hour here. |
08-08-2004, 08:29 PM
|
#1 (permalink)
|
|
Senior Member
Join Date: May 2004
Posts: 303
|
Error
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?
|
|
|
08-08-2004, 09:21 PM
|
#2 (permalink)
|
|
Senior Member
Join Date: Jun 2004
Location: United States of America
Posts: 122
|
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
|
|
|
08-09-2004, 08:14 AM
|
#3 (permalink)
|
|
Senior Member
Join Date: May 2004
Posts: 303
|
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
|
|
|
08-09-2004, 09:17 AM
|
#4 (permalink)
|
|
Senior Member
Join Date: May 2004
Posts: 303
|
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. 
|
|
|
08-09-2004, 03:25 PM
|
#5 (permalink)
|
|
Senior Member
Join Date: Jun 2004
Location: United States of America
Posts: 122
|
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
|
|
|
08-09-2004, 03:29 PM
|
#6 (permalink)
|
|
Senior Member
Join Date: May 2004
Posts: 303
|
ok thx
|
|
|
08-09-2004, 03:34 PM
|
#7 (permalink)
|
|
Member
Join Date: Aug 2004
Posts: 69
|
I had the same problem at one point. I just decided not to use Upgrades.
|
|
|
08-09-2004, 03:46 PM
|
#8 (permalink)
|
|
Senior Member
Join Date: May 2004
Posts: 303
|
what did u use?
|
|
|
08-09-2004, 04:15 PM
|
#9 (permalink)
|
|
Senior Member
Join Date: Jun 2004
Location: United States of America
Posts: 122
|
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
|
|
|
08-09-2004, 04:34 PM
|
#10 (permalink)
|
|
Senior Member
Join Date: May 2003
Location: Eindhoven, Netherlands
Posts: 2,278
|
To buy upgrades from a unit, that unit needs ProductionUpdate:
Code:
Behavior = ProductionUpdate Whatever
End
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 03:57 PM.
|