Azerom
  • Azerom
  • 61.25% (Friendly)
  • Private Topic Starter
15 years ago
I seem to be overlooking something in this script. It show everything I want it to but will not allow the napalmbomb upgrade. Any Ideas?



CommandSet AmericaJetStealthFighterCommandSet
  7 = Command_UpgradeChinaHelixNapalmBomb
  9 = Command_ChinaHelixDropNapalmBomb
  11 = Command_AttackMove
  13 = Command_Guard
  14 = Command_Stop
End

Object AirF_AmericaJetStealthFighter

  UpgradeCameo1 = Upgrade_AmericaLaserMissiles
  UpgradeCameo2 = Upgrade_AmericaAdvancedTraining
  UpgradeCameo3 = Upgrade_AmericaCountermeasures
  UpgradeCameo4 = NONE
  ;UpgradeCameo5 = NONE

  WeaponSet
    Conditions = None 
    Weapon = PRIMARY Lazr_PatriotMissileWeapon
    Weapon = SECONDARY Lazr_PatriotMissileAssistWeapon
    Weapon = TERTIARY Lazr_PatriotMissileWeaponAir
  End

AddModule ModuleTag_32_Override
  Behavior = SpecialAbility ModuleTag_32
    SpecialPowerTemplate = SpecialAbilityHelixNapalmBomb
    UpdateModuleStartsAttack = Yes
    StartsPaused              = Yes; so the UnpauseSpecialPowerUpgrade, below can turn it on
    InitiateSound             = HelixVoiceAttack
  End
End
AddModule ModuleTag_33_Override
  Behavior = SpecialAbilityUpdate ModuleTag_33
    SpecialPowerTemplate = SpecialAbilityHelixNapalmBomb
    StartAbilityRange = 3.0
    PreparationTime = 0
    SpecialObject = NapalmBomb
    MaxSpecialObjects = 1
    SpecialObjectsPersistWhenOwnerDies = Yes 
    SpecialObjectsPersistent = Yes          ;Charges are persistent till lifetime expires or owner detonates them.
    UniqueSpecialObjectTargets = No        ;This would prevent multiple charges placed on the same object.
    UnpackTime              = 500     ;slight delay to drop bomb
    FlipOwnerAfterUnpacking = No
    FleeRangeAfterCompletion = 0.0         ;DOes not run away after finishing ability
    UnpackSound               = NoSound
    LoseStealthOnTrigger      = No
    ApproachRequiresLOS       = Yes
    NeedToFaceTarget          = No ; can drop the bomb at any angle to target

    PersistentPrepTime        = 100
    PersistenceRequiresRecharge = Yes

  End
End
AddModule ModuleTag_38_Override
  Behavior = UnpauseSpecialPowerUpgrade ModuleTag_38
    SpecialPowerTemplate = SpecialAbilityHelixNapalmBomb
    TriggeredBy = Upgrade_HelixNapalmBomb
  End
End
AddModule ModuleTag_39_Override
  Behavior = SubObjectsUpgrade ModuleTag_39
    TriggeredBy    = Upgrade_HelixNapalmBomb 
    ShowSubObjects = BombWing 
  End
End
End

Thank You Humbly In Advance,
Azerom
Sponsor
Annihilationzh
15 years ago
Looks like you need a ProductionUpdate.
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.
Azerom
  • Azerom
  • 61.25% (Friendly)
  • Private Topic Starter
15 years ago
Thank you soo much for the quick reply yet again Annihilationzh. How do I add the Production Updates?
Annihilationzh
15 years ago
AddModule ModuleTag_Prod_Override
  Behavior = ProductionUpdate ModuleTag_Prod
  End
End

If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.
Azerom
  • Azerom
  • 61.25% (Friendly)
  • Private Topic Starter
15 years ago
No does not work still. The production update lets me buy the bomb, lets me select drop bomb. but when i click where to drop it the planes just return to the airfield.
Annihilationzh
15 years ago
I'm not sure of the problem here. If I get time I might test it to see if it's a simple problem.
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.