+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Error

  1. #1

    Default 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?

  2. #2
    Senior Member
    Join Date
    Jun 2004
    Location
    United States of America
    Posts
    122

    Default

    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

  3. #3

    Default

    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

  4. #4

    Default

    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.

  5. #5
    Senior Member
    Join Date
    Jun 2004
    Location
    United States of America
    Posts
    122

    Default

    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

  6. #6

  7. #7

    Default

    I had the same problem at one point. I just decided not to use Upgrades.

  8. #8

  9. #9
    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

  10. #10
    Banned
    Join Date
    May 2003
    Location
    Eindhoven, Netherlands
    Posts
    2,275

    Default

    To buy upgrades from a unit, that unit needs ProductionUpdate:

    Code:
    Behavior = ProductionUpdate Whatever
    End

Similar Threads

  1. ERROR LOG ?
    By adamstrange in forum Generals & Zero Hour Editing
    Replies: 6
    Last Post: 06-23-2007, 06:02 PM
  2. Error, help please!
    By H3lLg4t3 in forum Generals & Zero Hour Editing
    Replies: 13
    Last Post: 08-25-2005, 03:26 AM
  3. Worldbuilder error : Runtime error. I've tried everything
    By Bart in forum Generals & Zero Hour Editing
    Replies: 8
    Last Post: 10-09-2004, 07:17 PM
  4. Map Error
    By SeansWarrior in forum Red Alert 2 & Yuri's Revenge Editing
    Replies: 3
    Last Post: 06-06-2004, 03:35 AM
  5. ERROR!
    By Oldfaq in forum Generals & Zero Hour Editing
    Replies: 2
    Last Post: 06-02-2003, 03:43 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts