2 weapons?
Having trouble moding Raptor have A2G and A2A missile
I want to mod so raptor have 2 type of missile:
A2G (Air To Ground) = same as original Raptor missile but cannot attack air units
A2A (Air To Air) = new Raptor missile for attacking air units only and cannot attack ground
A2G reload in the airfield while A2A missile are unlimited (no clis) / delay between shots 1000
The problem is that everytime Raptor uses 2 of it's A2A missile the A2G missile clip dissapear 1...
So all 4 A2G missile will weirdly disappear without being used after raptor used total of 8 A2A missile
Mathematics time:
A2A missile are unlimited and fires every 1 second
A2G missle are limited to 4 missile per raptor
1 A2A being used ---> A2G missile clips remains 4
2 A2A being used ---> A2G missile clips remains 3 (-1 without being fired at)
3 A2A being used ---> A2G missile clips remains 3 (-1 without being fired at)
4 A2A being used ---> A2G missile clips remains 2 (-2 without being fired at)
5 A2A being used ---> A2G missile clips remains 2 (-2 without being fired at)
6 A2A being used ---> A2G missile clips remains 1 (-3 without being fired at)
7 A2A being used ---> A2G missile clips remains 1 (-3 without being fired at)
8 A2A being used ---> all A2G missile weirdly disappear
Another weird things is... how EA was done to Comanche that makes them not lose his missile when firing infantry?
It is same as my A2A missile right? the Vulcan and the A2A missile are both don't have clip, rearms in the air.
But why the Comanche works fine while my A2A missile don't? I use the same coding as Comanche for my A2A missile... but why?!?!
.ini files: (I only write what i changed)
===================
WeaponSet
Conditions = None
Weapon = PRIMARY RaptorJetMissileWeapon
PreferredAgainst = PRIMARY VEHICLE INFANTRY
AutoChooseSources = PRIMARY FROM_PLAYER FROM_SCRIPT FROM_AI
Weapon = SECONDARY RaptorJetMissileA2AWeapon
PreferredAgainst = SECONDARY AIRCRAFT
AutoChooseSources = SECONDARY FROM_PLAYER FROM_SCRIPT FROM_AI
End ;all this are copied from Comanche WeaponSet
Weapon RaptorJetMissileWeapon
ClipSize = 4
ClipReloadTime = 8000
AutoReloadsClip = RETURN_TO_BASE
AntiAirborneVehicle = No
AntiAirborneInfantry = No
AntiGround = Yes
ShowsAmmoPips = Yes
End
Weapon RaptorJetMissileWeaponA2A
ClipSize = 0
ClipReloadTime = 0
AntiAirborneVehicle = Yes
AntiAirborneInfantry = No
AntiGround = No
End
Help... seriously need help...
Anyone know where to find a new model for airforce? any F14,16,18 etc would cool...
Please... I currently have su-37 and f16israel... but none of them works correctly... too many bugs / not a compelete model...
|