OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: The-Architect on 17 Apr 2004, 19:12:59
-
How can I get ground units to fire on my helicopter when its in the air?
Including tanks and soft skinned vehicles with mounted MGs.
Cheers.
-
As I am not an addon maker, I cannot give you any exact tips. I would suggest taking a look at Seb Nam Pack 2.0 and see how they did it with the Hueys included in that pack.
I think that all helicopters in OFP should be able to take ground fire so I wish you the best in creating your addon.
Wadmann
-
Give the ammo airLock=1. Might want to increase the soldiers' threat vs. air too.
-
What does that mean?
-
class cfgAmmo
{
class Default {};
...
class SomeBullet: BulletSingleE
{
airLock=1;
};
};
class cfgVehicles
{
class All {};
...
class SomeSoldier: SoldierEMG
{
threat[]={1,0.1,0.5};
};
};