View Full Version : Small problem
nuker7735
04-23-2007, 09:28 AM
I'm making a new kind of drone that flys low to the ground, but behaves like a normal aircraft otherwise. I gave it regular jumpjet properties, with a very low cruise height of 150, and although with the jumpjet properties it flys kinda weird, the main problem is that when you destroy it, it falls down like a helicopter, but it dosent blow up when it hits the ground. It just sits there, useless. It cant fire, move, accept a command, or do much of anything. You can't even fire at it. Does anyone know whats wrong?
Fenring
04-23-2007, 05:44 PM
That happens now and then with JumpJet vehicles and infantry. Basically, the unit dies but it doesn't. I'm not really sure what causes it but I get around it by setting Crashable to no. It's not the best fix but it works.
nuker7735
04-23-2007, 07:51 PM
i actually had crashable=no on accident, i tested it and it did crash-without-blowing-up. i went back and put crashable=yes and it still did that..... =(
Fenring
04-24-2007, 10:13 AM
Post your code then.
nuker7735
04-24-2007, 04:09 PM
ok here it is: This is in the aircraft section; a copy of the hornet if it makes any difference.
;Laser drone; advanced allied aircraft
[LASRDRON] (Laser Drone)
UIName=Name:LASRDRON
Name=Laser Drone
Primary=DroneLaser
Secondary=HornetCollision
Strength=200
Category=AirPower
Armor=light
TechLevel=10
Sight=10
RadarInvisible=no
Landable=yes
MoveToShroud=yes
PipScale=Ammo
Speed=20
PitchSpeed=.9
PitchAngle=0
Owner=British,French,Germans,Americans,Alliance
Cost=1000
Points=20
ROT=3
GuardRange=30
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
Maxdebris=2
VoiceSelect=IntruderSelect
VoiceMove=IntruderMove
VoiceAttack=IntruderAttackCommand
VoiceFeedback=
DieSound=
CrashingSound=HornetDie
ImpactLandSound=GenAircraftCrash
Locomotor={92612C46-F71F-11d1-AC9F-006008055BB5}
MovementZone=Fly
ThreatPosed=10
DamageParticleSystems=SparkSys,SmallGreySSys
AuxSound1=HornetTakeoff
AuxSound2=HornetLanding
ImmuneToPsionics=yes
VeteranAbilities=STRONGER,FIREPOWER
EliteAbilities=STRONGER,FIREPOWER
ElitePrimary=DroneLaserE
Image=HORNET
Prerequisite=RADAR,CAAIRP
IsSelectableCombatant=yes
VoiceCrashing=IntruderVoiceDie
Fighter=yes
JumpjetSpeed=30
JumpjetClimb=10
JumpjetCrash=40
JumpJetAccel=12
JumpJetTurnRate=6
JumpjetHeight=150
JumpjetWobbles=.2
JumpjetDeviation=1
BalloonHover=yes
ConsideredAircraft=yes
JumpJet=yes
SpeedType=Hover
I dunno whats wrong... I tried it with Crashable=no and yes.
Fenring
04-24-2007, 07:55 PM
JumpJets do not belong on the [AircraftTypes] list.
nuker7735
04-24-2007, 08:10 PM
ok i switched it to the vehicle types list and it works! but now i have another problem... it will not fire its laser unless the target is directly in front of it... and if its not it dosent rotate to fire...:grumpy:
*EDIT* I fixed it by putting OmniFire=yes on the weapon.
vBulletin® v3.8.3, Copyright ©2000-2010, Jelsoft Enterprises Ltd.