Jump to content
Sign in to follow this  
zonekiller

onmapsingleclick support pack

Recommended Posts

Here is a onmapsingleclick support pack

Artillery

AmmoDrop

and

AirStrike

All you need to do is create a trigger called supportairport and put that

anywhere you want the planes to start from (does not need to be an airport)

create an empty {AV8B2 called WestAir for West} or {SU34 called EastAir for East}

and put it somewhere on the map .

only create one

example:

[3] exec "support\airstrike.sqs"

adjust the 3 to better set the timing of dropping bombs or ammo

1 = drop later

5 = drop earlier

SETUP :

1:

setup a radio trigger called AirStrike

text=AirSrtike

name=AirSrtike

In the Activation put

[3.1] exec "support\airstrike.sqs"

2:

setup a radio trigger called AmmoDrop

text=AmmoDrop

name=AmmoDrop

In the Activation put

[3.8] exec "Support\AmmoDrop.sqs"

3:

setup a radio trigger called Artillery

text=Artillery

name=Artillery

In the Activation put

[] exec "support\artillery.sqs"

4:

setup a radio trigger called Cancel Strike

text=Cancel Strike

Name=cancel1

In the Activation put

cancelled = 1

5:

setup a radio trigger called AirStrike

text=Cancel Ammo

name=Cancel2

In the Activation put

cancelled = 2

Then copy the support folder to your mission

To Easy

In the AmmoDrop A Damaged Medic tent will appear if you go to it

you will automaticly put it up you need to be right next to it.

at night time flares will show you where the ammo is

There is a test Mission

Things i Need help with:

1:

Get planes not to target enemy vehicles instead of dropping Bombs / Ammo?

they will still do it but it may take 2 or 3 runs.

NOW FIXED

2:

Is there a way to select the target without going to the map?

Maybe setup a menu or something.

3:

Sometimes the Ammo dissapears?

NOW FIXED

FIXED UPDATED MISSIONS AND SCRIPTS BELOW

Test Support Mission Rar

Test Support Mission Pbo

and the Onsinglemapclick Support Pack and my Randomenemy

and Grouplink2 scripts in one Mission

Random Enemy Mission Pbo

Im Working on a sqf version but am having trouble with the

onmapsingleclick, after clicking on the radio it does not wiat for you to click on the map. i have to put sleep 5:

anyone know how to fix this. ?

Share this post


Link to post
Share on other sites

This pack is great, very simple to use with a great demo mission. However when I put it in my mission the plane never drops the bombs, am I doing something wrong?

Python1

Share this post


Link to post
Share on other sites

There's a command called enableattack (run using <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">enableattack false or <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">enableattack true) that disables the unit's ability to attack. If you're actually firing a bomb and not just "creating" one this might not work if it actually does prevent the unit from attacking at all.

You could also try <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">disableai "target" or <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">disableai "autotarget" which should stop the AI from targetting units (but should allow it to still fire).

Will try out the pack...

Cheers.

Share this post


Link to post
Share on other sites

Thanks for your input

I have found the same thing sometimes the first run does not work in some missions

THIS IS NOW FIXED RE DOWNLOAD THE MISSIONS

Share this post


Link to post
Share on other sites

i have used

disableai "autotarget"

disableai "target"

but when i add enableattack false

it works!!

but any on there own does not work

"Thanks"

Share this post


Link to post
Share on other sites

Sounds nice...try this out now wink_o.gif

Share this post


Link to post
Share on other sites

To all thats interested

Thanks For Your input

i have been working on SupportV1 for a few months now and it should be ready this weekend.

it is easier to setup has many more features .

all new formulars for the bombing and ammo drops

a range of planes and helis

a complex radio commands which include camera effects and

binocular targeting and using the action menu as well

i just got to finish the transoprt section and it will be posted as a new post

its all sqf aswell

i hope you will all give it a flogging and beta test it for me

Michael

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  

×