What is your problem?
Hi there im new here and i have some problems with making new weapon upgrade for aurora jet
Here is what i've done:
CommandSet.iniCode: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
Upgrade.iniCode:CommandSet SupW_AmericaJetAuroraCommandSet 1 Command_UpgradeAmericaStealthAuroraMOAB 11 = Command_AttackMove 13 = Command_Guard 14 = Command_Stop End
SuperWeaponGeneral.iniCode:;----------------------------------- ;StealthAuroraMOABUpgrade - This is really big ... ;----------------------------------- Upgrade Upgrade_AmericaStealthAuroraMOAB DisplayName = UPGRADE:StealthAuroraMOAB Type = OBJECT BuildTime = 0.0 BuildCost = 100 ButtonImage = SAMOAB 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?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
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?
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.
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?
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:
Last edited by P3le; 07-01-2009 at 12:18 PM.
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
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
Does your aurora have a productionupdate module?
Code:Behavior = ProductionUpdate ModuleTag_16 MaxQueueEntries = 1; For the command set switching upgrade End
Nope it don't have something like that or similar... also i thinking about it:
Is it good when i place in commandbutton.ini OBJECT_UPGRADE? Also i have in upgrade.iniCode:WeaponSet Conditions = PLAYER_UPGRADE <----------------- Weapon = PRIMARY MOABDetonationWeapon End
Ill try to add that production moduletag and ill check it...Code:TYPE = OBJECT
OKAY Solved! Thanks for help mate ) That productionUpdate module was missing thanks alot!