Posted: Thu Jul 17, 2008 1:19 am Post subject:
Aircraft Problem
umm.. i have come with this issue i never see it before, ALL of my Aircrafts are acting really odd i ,send my Aircraft to attack something anything, and somethimes when near the target they start to move in circles and never fire, they always get killed by AA before they attack
Some Codes:
Quote:
; Intruder ;Harrier
[ORCA]
UIName=Name:ORCA
Name=Intruder
Prerequisite=RADAR
Primary=Maverick
CanPassiveAquire=no ; Won't try to pick up own targets
CanRetaliate=no; Won't fire back when hit
Strength=150
Category=AirPower
Armor=light
TechLevel=3
Sight=8
RadarInvisible=no
Landable=yes
MoveToShroud=yes
;Dock=GAAIRC,GAHPAD,NAHPAD
Dock=GAAIRC,AMRADR,NAHELIPAD,YAPAD,GAAPAD
PipScale=Ammo
Speed=14
;PitchSpeed=0.9
;PitchAngle=0
Cost=1200
Points=20
ROT=3
Ammo=1
Crewed=yes
ConsideredAircraft=yes
AirportBound=yes ; If I ever need to land and there are no airports I crash because I can only land on them
GuardRange=30
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={4A582746-9839-11d1-B709-00A024DDAFD1}
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=MaverickE
PreventAttackMove=yes
Secondary=MaverickA
AACombat=yes
Image=FALC2
RequiredHouses=Americans,French,Germans,British
Weapons
Quote:
[Maverick]
Damage=150
ROF=10
Range=6
Projectile=AirToGroundMissile ;GEF was AAHeatSeeker2 ; was HeatSeeker
Speed=70
Warhead=ORCAAP
Report=IntruderAttack
Burst=2;2
[MaverickE]
Damage=300
ROF=10
Range=9
Projectile=AirToGroundMissileE;GEF was AAHeatSeeker2 ; was HeatSeeker
Speed=70
Warhead=ORCAAP
Report=IntruderAttack
Burst=2;4
First things first, organize your code man! Its an unintelligible mess to read!
Secondly, AirToGroundMissileE? You defined an extra projectile for an elite weapon when the original works just as good? Or on second thought you might be doing something significantly different with the Elite weapon and its properties needing a unique projectile and what have you.
Third, OmniFire is a weapon tag, not a unit tag.
Fourth, some of your House settings on this unit are horribly redundant. But that's just me. QUICK_EDIT
1. You know, I've had this problem as well before with a spawned aircraft... I fixed the problem by: finding the warhead and put the IgnoresFirestorm=yes and putting the ROF=10 in the weapon tag and then the plane behaves like a bomber.
2. It could also be your projectile. Look into it!
3.
Dny wrote:
Dock=GAAIRC,AMRADR,NAHELIPAD,YAPAD,GAAPAD
-- And this is just my opinion *you don't have to read this* but giving everyone the intruder is lame... make everyone different but equal. _________________ The best part about procrastination is that you are never bored, because you have all kinds of things that you should be doing. QUICK_EDIT
i see AACombat=yes. Do you use some kind of rockpatch, npatch or how they're called for RA2?
Maybe this new logic messes up the game. _________________ SHP Artist of Twisted Insurrection: Nod buildings
I have Npatch and it works fine, maybe you se the range too low so it can't hit the ground with it's weapon? _________________ Yes, work on MV continues. It is not forgotten. QUICK_EDIT
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