PDA

View Full Version : WeaponFireSpecialAbilityUpdate problem



Stygs
12-15-2011, 07:11 PM
I wanted to equip the GDI Slingshot with AA missiles as a special abillity - works so far, but only ONCE.
The SP reloads and I can use it again, but it will not fire any missiles.

Why?



<SpecialPowerTemplate
id="SpecialPower_GDI_Slingshot_AntiAircraftMissiles"
TargetType="OBJECT"
ReloadTime="20s"
NameOfVoiceNameToUseAsInitiateIntendToDoVoice="InitiateSpotTargetBombard"
Flags="WATER_OK">
<GameDependency>
<!-- <NeededUpgrade>Upgrade_PredatorMissileLauncher</NeededUpgrade> -->
</GameDependency>
</SpecialPowerTemplate>

<SpecialPower
id="ModuleTag_AntiAircratMissilesSP"
SpecialPowerTemplate="SpecialPower_GDI_Slingshot_AntiAircraftMissiles"
UpdateModuleStartsAttack="true" />
<WeaponFireSpecialAbilityUpdate
id="ModuleTag_AntiAircratMissilesSPUpdate"
SpecialPowerTemplate="SpecialPower_GDI_Slingshot_AntiAircraftMissiles"
UnpackTime="1.0s"
PackTime="0s"
PersistentPrepTime="0.1s"
PersistentCount="4"
StartAbilityRange="500.0"
BusyForDuration="0s"
SpecialWeapon="GDIJuggernaughtArtilleryBombard"
WhichSpecialWeapon="1" />


(i am using the juggernaut weapon for testing)

R3ven
12-15-2011, 09:03 PM
Make sure the weapon has a ClipSize of 0

Stygs
12-15-2011, 10:55 PM
Made no difference :/

Also, I am using the juggernaut weapon and since the jugg can bombard just fine, its propably something else.