posted on July 9th, 2009, 6:10 pm
Ok, I am working on a shield recharge weapon, but for somereason it does nothing when I click fire. I think I'm missing something in the ship file, but I will try this first.
Here are the lines.
Weapon:
ordname = "fed_shield_rechargeo"
wpnname = "Shield Recharge"
tooltip = "Shield Recharge"
verbosetooltip = "AUTOTOOLTIP-rom_shield_recharge.odf"
buttonslot = 80
special = 1
firesound = "romulan_shield_recharge.wav"
beneficial = 1
targetalliedcraft = 1
targetalliedbuildings = 1
targetenemycraft = 0
targetenemybuildings = 0
showweaponradius = 1
classlabel = "toggleweapon"
shotdelay = 0
needtarget = 1
switchtoattack = 0
speakonattack = 0
attackspeech = 0
range = 1000
Ord:
classlabel = "esconverter"
specialvalue = 100
lifespan = 50.0
shotspeed = 100
sprite = "wshieldrecharge"
radius = 20.0
ignoreshield = 0
spriteduration = 1.0
What am I missing, and what could I be missing in the ship odf?