OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: The-Architect on 17 Apr 2004, 19:12:59

Title: Peasants target Chopper
Post 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.
Title: Re:Peasants target Chopper
Post by: Wadmann on 19 Apr 2004, 23:10:06
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
Title: Re:Peasants target Chopper
Post by: Tactician on 23 Apr 2004, 16:33:32
Give the ammo airLock=1.  Might want to increase the soldiers' threat vs. air too.
Title: Re:Peasants target Chopper
Post by: The-Architect on 24 Apr 2004, 16:44:44
What does that mean?
Title: Re:Peasants target Chopper
Post by: Tactician on 25 Apr 2004, 06:31:34
class cfgAmmo
{

class Default {};
...
class SomeBullet: BulletSingleE
{
airLock=1;
};

};

class cfgVehicles
{

class All {};
...
class SomeSoldier: SoldierEMG
{
threat[]={1,0.1,0.5};
};

};