Jump to content
Sign in to follow this  
alkuelain

Help needed. again.

Recommended Posts

Hello everyone.

I'm making missions for me nad a friend to play as coop, using the Tonal redux mod.

I have two things that I cant figure out myself.

1. Is it possible to make it so that ground infantry shoots helos with their Aks and Pks?

It would be a great atmospheric increase to my mission. Ah! Also another thing! Tolnal redux uses RHS hind, so I believe. How I can disable it's automatical landing gear?

In my mission you have to fly very low and sneak behind hills and covers and only attack with this "pop up" syle or you get blasted to bits instantly. Its silly that helo automatically lowers it's gears when low enough.

Share this post


Link to post
Share on other sites

Aft...

too much enter

now the second issue

2.

How can I make so that AI patrol will sound alarm if they notice a dead body. example: 1 guy standing in the front of a house and a 3 man patrol is walking around the house. I kill the stander with silenced weapon, and then the patrol comes around again and.... well I would like them to start yelling "AAALAAAAAAAARM!!!!"

meaning, that it would activate the alarm trigger.

And more: another disable issue. Is it possible to disable this "touch off" option from the satchel charges? It would make sabotage missions far more interesting when the bombs would only work as timebombs. and there would finally be some use for that clock that pops up pressing "t".

Thank you

Share this post


Link to post
Share on other sites

Hi to reply to your 1st question. Yes I believe it is possible to have the soldiers with AK's and PK's to shoot at chopper. I'm just not sure how to do it with regular OFP editing.

It would have to be with some kind of scripting use.

Because I have the SEBnam pack and the enemy does shoot at the allied UH huey helicopters. So it is possible just might have to do some posting on how to do it with scripting something a certain way.

Hope that guides you.

Share this post


Link to post
Share on other sites

hello try this

"sodliername" DoTarget "choppaname"

also

"sodliername" DoFire "choppaname"

but if chopper is far way from soldier this soldier i think will move to find it then u can do disable ai move

Share this post


Link to post
Share on other sites
Quote[/b] ]hello try this

"sodliername" DoTarget "choppaname"

also

"sodliername" DoFire "choppaname"

You'd think so, but no. Some newer mods have config'd heavy mg's to fire on aircraft, but to get other addons to do so you would need to edit the config.cpp. All ground infantry weapons except as noted are only config'd to target ground troops. You would need to add some lines in the config.cpp.

Quote[/b] ]class Bullet7_6W: Bullet7_6 {};

class ICP_BulletMG: Bullet7_6W

{

tracerColor[]={0.500000,0.500000,0.100000,0.100000};

tracerColorR[]={0.500000,0.500000,0.100000,0.100000};

airLock=1;  <<<< can target aircraft

hit=12;

indirectHit=2;

indirectHitRange=0.100000;

minRange=10;

minRangeProbab=0.100000;

midRange=450;

midRangeProbab=0.8500000;

maxRange=700;

maxRangeProbab=0.350000;

cost=6;

airlock=1 (true) alllows targeting of aircraft.

Also note the range settings. If range is less than height of aircraft unit will not fire. There are really many variables involved with whether or not a unit will target and fire on other units.

1. Armor rating

2. Cost of unit to attack

3. Cost of ammo to be fired.

4. Range, damage and probabilty of hit

5. Threat rating

 (//threat[] VSoft, VArmor, VAir)

 (threat[]={1, 1, 1}wink_o.gif

Besides changing ammo config, the unit config would also need to have a high VAIR threat as well to target aircraft.

Might seem a bit confusing but not as hard as it may sound.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×