Posted: Mon Nov 21, 2016 5:04 am Post subject:
Aircraft Secondary Weapon, Is It Possible?
So I made an aircraft that has an AA missile as Primary and kirov bomb as Secondary but the aircraft only uses it's Primary and also uses it as AG even though I set it to =no.
Is it possible to make the aircraft shoot missiles against air and bombs against ground? QUICK_EDIT
Also Known As: evanb90 Joined: 20 Feb 2005 Location: o kawaii koto
Posted: Mon Nov 21, 2016 7:02 am Post subject:
Switch their order. Make the bombing attack the primary and the missile attack the secondary. _________________ YR modder/artist, DOOM mapper, aka evanb90
Project Lead Developer, New-Star Strike (2014-)
Former Project Lead DeveloperStar Strike (2005-2012), Z-Mod (2006-2007), RA1.5 (2008-2013), The Cold War (2006-2007) QUICK_EDIT
Aircraft secondary weapons use the projectile behaviour of Primary regardless of their own settings. Combining a free-fall projectile and a guided missile on aircraft is not possible. _________________ QUICK_EDIT
Aircraft secondary weapons use the projectile behaviour of Primary regardless of their own settings. Combining a free-fall projectile and a guided missile on aircraft is not possible.
So I suppose the other guy's suggestion of switching them won't work. I haven't been able to test his suggestion cause I'm having a "no projectile" error.
Is it possible to have a missile with ammo and machine guns no ammo needed for an aircraft?
I saw it mentioned this to be possible, somewhere. QUICK_EDIT
This results in the aircraft simply flying around the extent of [AMRAAM]'s range, but not firing when given an order to attack something on the ground, other than landed aircraft/helicopters. That's despite the Versus values suggesting it should switch to [Maverick] for everything else.
If you give the aircraft LandTargeting=2 (use secondary on land targets), it will use the secondary weapon, but it will still approach them according to the Primary weapon's range. (in the case of my fighter here, AMRAAM Range=18, Maverick Range=6, so it just flies around at a distance from the target and never attacks)
What Starkuu said is also correct, though. Can't have both a guided missile attack and free-fall bombing run attack.
as for your other question, the 0.C documentation has this to say about Ammo and aircraft
Quote:
[Weapon]►Ammo= (integer)
The rounds of ammunition needed to fire this weapon. If fewer than the required rounds are present, the unit will not fire and wait for the ammo to reload. Defaults to 1.
Note
This feature does not support AircraftTypes.
_________________ YR modder/artist, DOOM mapper, aka evanb90
Project Lead Developer, New-Star Strike (2014-)
Former Project Lead DeveloperStar Strike (2005-2012), Z-Mod (2006-2007), RA1.5 (2008-2013), The Cold War (2006-2007) 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