I have been doing some experimenting with the rules ini and I started working on a unit that spawned a plane which would then limbo launch into its target paralyzing it. Everything works fine except for when you kill the plane or the vehicle it is in it gives the game an internal error. Does anyone know why this is.
Here is the code:
Code:
[TESTPLANE]
UIName=Name:HORNET
Name=Hornet
Primary=STUNJUMP
Strength=75
Category=AirPower
Armor=light
Spawned=yes
TechLevel=-1
Sight=2
RadarInvisible=no
Landable=yes
MoveToShroud=yes
;Dock=NONE
;Dock=GAAIRC,AMRADR
;PipScale=Ammo
Speed=12
PitchSpeed=.9
PitchAngle=0
Owner=British,French,Germans,Americans,Alliance
Cost=50
Points=20
ROT=3
;Ammo=1
Crewed=no
GuardRange=30
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=2
VoiceSelect=
VoiceMove=
VoiceAttack=
VoiceFeedback=
DieSound=
CrashingSound=HornetDie
ImpactLandSound=GenAircraftCrash
Locomotor={4A582746-9839-11d1-B709-00A024DDAFD1}
MovementZone=Fly
;MovementRestrictedTo=Water ; See if this will affect landing only
ThreatPosed=10 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
AuxSound1=HornetTakeoff ;Taking off
AuxSound2=HornetLanding ;Landing
ImmuneToPsionics=yes
VeteranAbilities=STRONGER,FIREPOWER
EliteAbilities=STRONGER,FIREPOWER
Selectable=no ; SJM: this should be here but is commented out because bug prevents aircraft from landing
[STUNJUMP]
Damage=1
ROF=999999
Range=5
Projectile=JUMP
Speed=30
Warhead=ParasitePlus2 ;Parasite
LimboLaunch=yes ; Limbo shooter at launch (one shot or become the bullet)
Report=TerrorDroneAttack
PenetratesBunker=yes;If shot at a bunkered tank, no means the bunker gets the damage, yes means the unit does
;In Terror Drone case, it just handles the bad case where a TD'd guy makes it into a bunker.
FireInTransport=no;can't fire out of the BattleFortress
[ParasitePlus2]; SquidGrab
Verses=0%,0%,0%,2%,2%,2%,0%,0%,0%,0%,0%
Parasite=yes
Culling=yes ; kills instead of damages if victim in Red
Paralyzes=5000 ; SJM: Last a long time. Will be reset in code to last as long as Squid grapples.
InfDeath=1
Rocker=no
AnimList=PULSEFX1,PULSEFX2
Thanks in advance.
