+ Reply to Thread
Results 1 to 10 of 10
  1. #1

    Default New Weapon Upgrade for Aurora "Alpha"

    Hi there im new here and i have some problems with making new weapon upgrade for aurora jet

    Here is what i've done:

    CommandButton.ini
    Code:
    CommandButton Command_UpgradeAmericaStealthAuroraMOAB
      Command           = PLAYER_UPGRADE
      Upgrade           = Upgrade_AmericaStealthAuroraMOAB
      ButtonImage       = SAMOAB
      ButtonBorderType  = UPGRADE ; Identifier for the User as to what kind of button this is
      TextLabel         = CONTROLBAR:MOAB
      DescriptLabel     = CONTROLBAR:TooltipMOAB
    End
    CommandSet.ini
    Code:
    CommandSet SupW_AmericaJetAuroraCommandSet
       1   Command_UpgradeAmericaStealthAuroraMOAB
      11 = Command_AttackMove
      13 = Command_Guard
      14 = Command_Stop
    End
    Upgrade.ini
    Code:
    ;-----------------------------------
    ;StealthAuroraMOABUpgrade - This is really big ... 
    ;-----------------------------------
    Upgrade Upgrade_AmericaStealthAuroraMOAB
      DisplayName        = UPGRADE:StealthAuroraMOAB
      Type               = OBJECT
      BuildTime          = 0.0
      BuildCost          = 100
      ButtonImage        = SAMOAB
    End
    SuperWeaponGeneral.ini
    Code:
    ....
      UpgradeCameo1 = Upgrade_AmericaAdvancedTraining
      UpgradeCameo2 = Upgrade_AmericaCountermeasures
      UpgradeCameo3 = Upgrade_AmericaStealthAurora
      UpgradeCameo4 = Upgrade_AmericaStealthAuroraMOAB
      ;UpgradeCameo5 = NONE
    
    ....
    
      WeaponSet
        Conditions = None 
        Weapon = PRIMARY SupW_AuroraFuelBombWeapon
      End
      WeaponSet
        Conditions = PLAYER_UPGRADE
        Weapon = PRIMARY MOABDetonationWeapon   <-- i m not sure is it properly weapon name ...
    
    ...
    
      Behavior = StealthUpgrade ModuleTag_23
        TriggeredBy = Upgrade_AmericaStealthAurora
      End
    
      Behavior = WeaponSetUpgrade ModuleTag_24
        TriggeredBy = Upgrade_AmericaStealthAuroraMOAB
      End
    I checked StealthFighter parameters and i didn't see something of ModuleTags about BunkerBusters Missiles? I wanna make my aurora as similar way as that stealthjet upgraded missiles... Can someone help me with my problem?

  2. #2

    Default

    What is your problem?

  3. #3

    Default

    OMG, i forgot to tell about my problem... The problem is that i have in my aurora bomber upgrade button but when i clicked on it nothing happened... I made one special upgrade for this jet already - stealth upgr. and it works fine... can you help me solve my problem?

    Edit:

    Okay, ill try to explain as best as i can. I wanna make OBJECT upgrade like nuke bomb in helix. When i click on moab icon at aurora jet it sholud start upgrading primary weaponset from daisycutter to moab bomb. Can you fix my work?
    Last edited by P3le; 07-01-2009 at 11:34 AM.

  4. #4

    Default

    When you click on it, nothing happens?

    Like, you don't have $100 deducted from your funds, or you do and your new weapon isn't used?

  5. #5

    Default

    Nothing happened i mean i can click on it and nothing says button is still unchecked. its like button exist but there is no action written to it

    Here you are sshots:

    Code:
    yfrog.com/5ksshot007jx
    Last edited by P3le; 07-01-2009 at 12:18 PM.

  6. #6

    Default

    So, the upgrade complete text doesn't appear in the top left corner?

    Also, maybe you want OBJECT_UPGRADE in
    Code:
    CommandButton Command_UpgradeAmericaStealthAuroraMOAB
      Command           = PLAYER_UPGRADE <-HERE!!!
      Upgrade           = Upgrade_AmericaStealthAuroraMOAB
      ButtonImage       = SAMOAB
      ButtonBorderType  = UPGRADE ; Identifier for the User as to what kind of button this is
      TextLabel         = CONTROLBAR:MOAB
      DescriptLabel     = CONTROLBAR:TooltipMOAB
    End

  7. #7

    Default

    I edited it but now icon of moab upgrade is unselectable (grey unavailable icon) ( i wanna make it as helix nuke bomb but not as secondary weapon and triggered by another button and decal but i wanna make automatic upgrade primary weapon of aurora bomb to moab bomb i dont understand why it isn't work

  8. #8

    Default

    Does your aurora have a productionupdate module?

    e.g.
    Code:
      Behavior = ProductionUpdate ModuleTag_16
        MaxQueueEntries = 1; For the command set switching upgrade
      End

  9. #9

    Default

    Nope it don't have something like that or similar... also i thinking about it:

    Code:
      WeaponSet
        Conditions = PLAYER_UPGRADE  <-----------------
        Weapon = PRIMARY MOABDetonationWeapon
      End
    Is it good when i place in commandbutton.ini OBJECT_UPGRADE? Also i have in upgrade.ini

    Code:
    TYPE    =  OBJECT
    Ill try to add that production moduletag and ill check it...

  10. #10

    Default

    OKAY Solved! Thanks for help mate ) That productionUpdate module was missing thanks alot!

Similar Threads

  1. Orginal C&C Generals "Alpha" Build98 Released
    By Chrizz in forum Generals & Zero Hour Editing
    Replies: 7
    Last Post: 08-22-2009, 07:13 PM
  2. Mu;tiple "types" of Rebel Ambush units
    By Hostile in forum Generals & Zero Hour Editing
    Replies: 2
    Last Post: 09-03-2004, 12:57 PM
  3. Aurora-type invincibility while "moving"
    By Fritz in forum Generals & Zero Hour Editing
    Replies: 2
    Last Post: 07-22-2004, 05:09 AM
  4. Trying to code a "charge" type weapon, need help
    By CodeCat in forum Generals & Zero Hour Editing
    Replies: 3
    Last Post: 10-03-2003, 03:52 PM
  5. Help, "Medic Upgrade" for Ranger
    By Nermal in forum Generals & Zero Hour Editing
    Replies: 17
    Last Post: 08-13-2003, 05:19 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