Jump to content
Sign in to follow this  
mandoble

MandoAir

Recommended Posts

MandoAir tutorial mission v1.1

The file contains a mission ready to play and a folder with the mission and the scripts for the editor.

---------------

For OFP 1.96

Nogova map (use original as some buildings IDs are used)

NO ADDONS NEEDED.

This mission and its intro demostrate:

mandosentry2.sqs: New anti-armour device deployed by air units (explosive and chemical).

mandoairstrike.sqs: Accurate air strikes setting an array of targets.

mandoairstrikeauto.sqs: Close Air Support, only the CAS position is needed, the planes select targets by their own.

mandoheliroute.sqs: No range limit for helicopter moves, landing just where you want, no need of helipads anymore.

mandoscramble.sqs: Planes taking off without runaways.

mandoland.sqs (BETA): Planes landing without runaways.

NOTE: From the editor, activate the markers and check the blue ones, they are good tips.

EDIT: Fixed a problem with the cameras in the mission. Link for the mission updated.

---------------- EDIT (MandoAir2 included)----------------

MandoAir2, Close Air Support in detail

The file contains a mission ready to play and a folder with the mission and the scripts for the editor.

MandoAir2 air support scripts second tutorial mission (Close Air Support in detail)

By Mandoble

For OFP 1.96

NO ADDONS NEEDED.

This mission demostrates:

mandocasinit.sqs <- Initializes CAS arrays for each side (*)

mandocasmapset.sqs <- Enable CAS requests by clicking on map with Shift or Alt keys pressed. (**)

mandocasmapcall.sqs <- Processes a click on map for CAS requests

mandocasmapset.sqs <- CAS request (**)

mandocivcas.sqs <- Controls civilian side CAS planes while not assigned to any CAS mission

mandoeastcas.sqs <- Controls east side CAS planes while not assigned to any CAS mission

mandorescas.sqs <- Controls resistance side CAS planes while not assigned to any CAS mission

mandowestcas.sqs <- Controls west side CAS planes while not assigned to any CAS mission

mandoairstrikeauto.sqs <- Takes control of a plane once it is assigned to a CAS mission

mandocasend.sqs <- Executed by mandoairstrikeauto.sqs when CAS mission ends, marks the plane

as available for more CAS missions.

bigbombs.sqs <- Spawns free fall bombs, used by mandoairstrikeauto.sqs to perform freefall bombs attacks.

(*): You only need to execute this and then any (or both) of the (**)

NOTE: From the editor, activate the markers and check the blue ones, they are good tips. Check mission's init.sqs, it has all you need to setup to be able to request CAS missons.

Share this post


Link to post
Share on other sites

Very nice tounge2.gif Love your work, and it will be used in my campaigns...

Thanks for the great stuff tounge2.gif

Share this post


Link to post
Share on other sites

LOL ... love the chemical attacks, that cracked me up!!  rofl.gif

Nice work as usual Mandoble.

FYI, After the A-10 takes out 4 tanks, scripts and cameras for your demo mission seems to get confused, run it twice and still not sure what was suppose to happen smile_o.gif nm.

Share this post


Link to post
Share on other sites

Found the problem.

mandloand.sqs (BETA) had a _plane switchCamera "EXTERNAL" which messed up the cameras. You may comment that line or downloand the new version (link updated in first post). Thanks for the advice wink_o.gif

And yes, chemical attacks have real chemical effects tounge2.gif

Share this post


Link to post
Share on other sites

MandoAir2, Close Air Support (CAS) in detail tutorial mission and scripts added, check first post of this topic.

You may set up CAS groups for every side, then you may request support by clicking on map, by radio, scripts or triggers.

No addons needed.

Share this post


Link to post
Share on other sites

Wow ive just tested your CAS scripts.. Absolutly amazing i reccomend anyone wanting easy CAS, Airstrikes, Sentries and the lot to test Mandoble's scripts out becuase they are just amazing and they come with demo mission and editor help mission marked with markers so you know whats what and they come with detailed readmes..

notworthy.gif  notworthy.gif  notworthy.gif

Great Job!  thumbs-up.gif

Mirror- Mando Air

Mirror- Mando Air 2

Share this post


Link to post
Share on other sites

Thanks Matt.

You may try the following to assign missiles instead of freefall bombs to one of the CAP planes in mandoair2:

In the init.sqs change the line:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_casgrp2 = [avion2, tr_cap2, getMarkerPos "mk_patrol2","bigbombs.sqs",-1]

by this one:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_casgrp2 = [avion2, tr_cap2, getMarkerPos "mk_patrol2","misiles.sqs",990]

Now the missile firing script :

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

;Misiles.sqs

;Example missile attack script to be used by mandoairstrikeauto.sqs

;

_plane = _this select 0

_target = _this select 1

_vel = _this select 2

_dir = _this select 3

_seconds = _this select 4

_camera = _this select 5

[_plane, _target, "BASICAGF", 1, [90,4,-1], [0,0,0],false]exec"mandomisilhelper.sqs"

~1

[_plane, _target, "BASICAGF", 1, [270,4,-1], [0,0,0],false]exec"mandomisilhelper.sqs"

~(_seconds + 4)

?_camera:_plane switchCamera "EXTERNAL"

exit

You will need mandomisilhelper.sqs and mandomisil.sqs, both can be found at mandomisil suite link at my signature.

This way, one of the CAP planes will use missiles instead of freefall bombs.

Of course, you may edit your own attack script like bigbombs.sqs or misiles.sqs, for example, using the attack script of mandoair for sentry type 2. Just create a script, give it whatever name you want and use its default parameters:

_plane = _this select 0

_target = _this select 1

_vel = _this select 2

_dir = _this select 3

_seconds = _this select 4

_camera = _this select 5

_plane is the firing plane (CAP plane)

_target is the target vehicle

_vel is the current velocity vector of the plane

_dir is the current direction of the plane

_seconds are time to impact for free fall bomb ordenance

_camera (true/false, camera following the bombs)

This attack script will be an input parameter for mandoairstrikeauto.sqs, using CAP scripts, this is transparent for you (except the initialization as seen in mandoair2 init.sqs).

Enjoy biggrin_o.gif

Share this post


Link to post
Share on other sites

hi,

Hi someone have those scripts?

I suggest you to PM Mandoble on this forum or on ofpec, I guess he can help you.

cya.

Nikiller.

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  

×