Jump to content
Sign in to follow this  
zonekiller

My onmapclick AirStrike Script "looks good"

Recommended Posts

what the hell zonekiller why has every unit/waypoint/object - EVERYTHING - been cloned after using your script???

I merged your mission with mine to use your script and took out the crap unrelated to airstrikes that u put in there and now its all gone tits up.

WHY HAS EVERYTHING CLONED ITSELF?

i'm using murrays airstrike script now and it wont works cos the harriers it spawns get cloned and crash mid air.

what the fuck has your script done to my mission. tell me how the hell this has happend.

Try not to merge everything twice next time crazy_o.gif

Share this post


Link to post
Share on other sites

ROFL goodnight.gif

EDIT: so mr zonekiller would you be kind enough to show how to edit your script to be the following things...

1, once the player calls the aistrike I want the radio clear of everything related to your script. so in other words I only want the player to be able to call one airstrike only and if you can, please tell me how to clear the radio of any more options related to your script.

2, replace all the text messages with a custom made radio conversation that i have just made for my mission.

I suppose adding a line of code somewhere in "1 setRadioMsg "Select Target"; 10 setRadioMsg "Cancel Orders"" that links to the radio.ogg message file would do the trick but i don't know the proper syntex as i'm not a coder atall.

thanks in advance,.

P.S guys if u want the airstrike to take longer to arrive and also come from another direction, move the trigger that is at the right-end of the tarmac runway to wherever you desire. works perfect.

EDIT:

okay i got rid of the way this script hogs all the radio slots (alpha, bravo, charlie, ect) but editing the airstrike.sqs file here...

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">;1 setRadioMsg "Select Target"

2 setRadioMsg "NULL";

3 setRadioMsg "NULL";

4 setRadioMsg "Target Assist On";

5 setRadioMsg "Target Assist Off";

6 setRadioMsg "NULL";

7 setRadioMsg "NULL";

8 setRadioMsg "NULL";

9 setRadioMsg "NULL"

10 setRadioMsg "Cancel Orders";

And made it look like this...

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">;1 setRadioMsg "Select Target"

10 setRadioMsg "Cancel Orders";

yeah I took out target assist, too. i find it completely unneccasary for my mission and now my extraction (strung to radio BRAVO) is not actually visable and not concealed by this scripts use of "null" over the radio slots it dosen't use.

I'm slowly getting there yay.gif

Share this post


Link to post
Share on other sites

Hi zonekiller,

thanks for your great script smile_o.gif I'm using it for months now. But still I got a problem (sometimes).

I'm using the EnemyAirstrike.sqs, the randomselect.sqf and the markersplanes.sqf. I inserted the initialisation line in the init.sqf/init.sqs. On the map I placed the marker (air_1) and the trigger (eastairport, triggered by anyone).

The planes are spawning, the marker appears, but the plane crashes in 90 % of all cases into the ground. What am I doing wrong? I've got a mission where everything works perfect, but having an other location.

Share this post


Link to post
Share on other sites

Sorry for the delay but i have been away

if the plane is hitting the ground you have a hill in the way. or set the setpos to 1500 high

Share this post


Link to post
Share on other sites

I am having a similar problem, my plane never flies, it just zooms straight into the ground. My target is in a valley, and I read that if it crashes there must be a hill in the way etc. So I changed the setpos to 1500 and flyinheights to 200 (instead of 50) and still no change. The plane just goes straight down into the runway every time. Any thoughts?

Python1

Share this post


Link to post
Share on other sites

Hey guys

i did manage to work out a few bugs.

i did fix that crashing prob with a set velocity

the new updated stuff with artilerity and ammodrop

are in my new onmapsingleclick support pack.

which is in this forum  

thanks for the feed back

im still working on a sqf version

also i have put a enemy version in grouplink 2

as well as the onsinglemapclick in my randomenemy script

http://www.zonekiller.ath.cx/randomenemy.Sara.pbo

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  

×