i am also having a aircraft targeting problem, take a look:
Weapon GripenRocketAttackWeapon
PrimaryDamage = 155.0
PrimaryDamageRadius = 10.0
ScatterRadiusVsInfantry = 5.0 ;When this weapon is used against infantry, it can randomly miss by as much as this distance.
AttackRange = 450.0
DamageType = EXPLOSION
DeathType = EXPLODED
WeaponSpeed = 900
ProjectileObject = ScorpionMissile
ProjectileExhaust = TowMissileExhaust
FireFX = FX_ScudLauncherIgnition
FireSound = GenericMachineGunFire
RadiusDamageAffects = ALLIES ENEMIES NEUTRALS
DelayBetweenShots = 90 ; time between shots, msec
ClipSize = 8 ; how many shots in a Clip (0 == infinite)
ClipReloadTime = 8000 ; how long to reload a Clip, msec
AutoReloadsClip = RETURN_TO_BASE
AntiAirborneVehicle = Yes
AntiAirborneInfantry = No
AntiGround = Yes
AntiBallisticMissile = No
ProjectileDetonationFX = WeaponFX_B52Bombs
ProjectileCollidesWith = STRUCTURES
End
Weapon GripenAMRAAM
PrimaryDamage = 55.0
PrimaryDamageRadius = 20.0
ScatterRadiusVsInfantry = 5.0 ;When this weapon is used against infantry, it can randomly miss by as much as this distance.
AttackRange = 520.0
DamageType = EXPLOSION
DeathType = EXPLODED
WeaponSpeed = 900
ProjectileObject = AMRAAM
ProjectileExhaust = MissileExhaust
FireFX = FX_ScudLauncherIgnition
FireSound = GenericMachineGunFire
RadiusDamageAffects = ALLIES ENEMIES NEUTRALS
DelayBetweenShots = 10 ; time between shots, msec
ClipSize = 19 ; how many shots in a Clip (0 == infinite)
ClipReloadTime = 28000 ; how long to reload a Clip, msec
AutoReloadsClip = RETURN_TO_BASE
AntiAirborneVehicle = Yes
AntiAirborneInfantry = No
AntiGround = No
AntiBallisticMissile = No
ProjectileDetonationFX = WeaponFX_B52Bombs
ProjectileCollidesWith = STRUCTURES
ShowsAmmoPips = Yes
End
-----------------------------------------------------------------------------
What i want is for the AMRAAM to attack air only targets, and it does that, but for some reason, my Gripen wont land unless it uses all its weapons, which forced me to have them launch amraams at ground targets also. Is there a way to have them launch at air only targets with the amraam and return to base when their ground ammo is done instead of circling around the area and doing nothing?
|