Posted: Yesterday, at 2:20 pm Post subject:
Units with ammo weapons refuse to fire (intermittently)
I've a unit with an ammo-using primary weapon and a non-ammo weapon-using secondary weapon, but it's super random as to whether it ever fires. Often it'll just hover above the target doing nothing.
Code:
[ARTE]
UIName=NOSTR:Artemis Gunship
Name=Intruder
Image=ART
Prerequisite=GAWEAP,RADAR
Primary=Artemis
Secondary=Para
CanPassiveAquire=yes ; Won't try to pick up own targets
CanRetaliate=yes; Won't fire back when hit
Strength=150
Category=AirPower
Armor=light
TechLevel=3
Sight=8
RadarInvisible=no
MoveToShroud=yes
PipScale=Ammo
Speed=14
JumpjetSpeed=30 ;params not defined use defaults (old globals way up top called Jumpjet controls)
JumpjetClimb=20 ;HY increase climb speed; used to be 10
JumpjetCrash=25 ; Climb, but down
JumpJetAccel=10
JumpJetTurnRate=10
JumpjetHeight=750
JumpjetWobbles=0.95;.15
JumpjetDeviation=10
Size=1
SpeedType=Hover
HoverAttack=yes
Crashable=yes
BalloonHover=yes ; ie never land
Crewed=yes
ConsideredAircraft=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=3
IsSelectableCombatant=yes
VoiceSelect=IntruderSelect
VoiceMove=IntruderMove
VoiceAttack=IntruderAttackCommand
VoiceCrashing=IntruderVoiceDie
DieSound=
MoveSound=IntruderMoveLoop
CrashingSound=IntruderDie
ImpactLandSound=GenAircraftCrash
Locomotor={92612C46-F71F-11d1-AC9F-006008055BB5}
MovementZone=Fly
ThreatPosed=20 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
AuxSound1=IntruderTakeOff ;Taking off
AuxSound2=IntruderLanding ;Landing
VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
EliteAbilities=STRONGER,FIREPOWER,ROF
Fighter=yes
AllowedToStartInMultiplayer=no
ImmuneToPsionics=yes
ElitePrimary=ArtemisE
EliteSecondary=ParaE
PreventAttackMove=no
Parasiteable=no
SelfHealing=Yes
Bunkerable=no; Units default to yes, others default to no
[Artemis]
Damage=75
ROF=10
Range=6
Projectile=AirToGroundMissile ;GEF was AAHeatSeeker2 ; was HeatSeeker
Speed=70
Warhead=ARTEAP
Report=IntruderAttack
Burst=2
Ammo=2
[ArtemisE]
Damage=75
ROF=10
Range=9
Projectile=AirToGroundMissile ;GEF was AAHeatSeeker2 ; was HeatSeeker
Speed=70
Warhead=ARTEAP
Report=IntruderAttack
Burst=4
Ammo=1
[ARTEAP]
Wall=yes
Wood=yes
CellSpread=.4
PercentAtMax=1
Verses=0%,0%,0%,100%,100%,100%,100%,100%,75%,0%,100%
Conventional=yes
InfDeath=3
AnimList=S_CLSN16,S_CLSN22,S_CLSN30,S_CLSN42,S_CLSN58
ProneDamage=50%
PenetratesBunker=yes;If shot at a bunkered tank, no means the bunker gets the damage, yes means the unit does
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum