Jump to content

Recommended Posts

Posted

Hello all,

 

 

i´m quite new to DCS Mission Editor and i`ve came across an Problem regarding Air to Air Refueling.

 

 

Basic idea is to create an simple refueling Training Mission.

 

Depart, meet the Tanker, take some fuel, RTB.

 

 

My Question now, is there a way to set a mission task/goal for picking up fuel?

For example, if player picked up a specific amount of fuel or maintain a stable connection to the tanker for a specific time the player get a message that the task is complete and he may RTB or somthing else?

 

 

thanks for help

Chris

Posted (edited)

Yes, there are ways of doing this, but I'm afraid they involve Lua scripting.

 

Afaik, ME doesn't offer the option to set up "fuel quantity" / "tanker contact" checks, which would be needed for such a mission to work.

This can be easily achieved through scripting, though.

 

PS. I have a MOOSE mission project which offers air refuelling tasks to clients, with voice/text messages and all (everything is handled via F10 menu).

Trouble is that the scripts for this mission are rather long and require basic Lua / MOOSE knowledge.

If you're interested, I could give you some pointers and share scripts.

Edited by Hardcard
Posted (edited)

That's the thing, though, you won't understand the scripts without basic Lua / MOOSE knowledge, so they'll be useless to you.

 

I recommend that you start with this Lua tutorial site in order to get acquainted with Lua.

Also, check out the links in this post to get started with the DCS scripting engine and MOOSE.

 

It seems like a lot to process at the beginning, but scripting is actually kind of simple (once you understand the basic rules), just take it one little step at a time and you'll be writing your own scripts in a matter of days.

Edited by Hardcard
Posted (edited)

I've finished commenting, tweaking and testing my air refueling demo mission (a bare bones version of it, rather :D ), so, as promised, here you have it!

 

Single F15C client available, with access to F10 menu commands (which are used to manage the air refueling task).

 

A commented version of the mission script is also attached.

Still, as I mentioned earlier, basic Lua / MOOSE knowledge is needed in order to understand what's going on :book:

 

Hope you find it helpful!

 

EDIT: Reuploaded the commented script yet again! Apparently, the whole script got shifted by 3 lines (which messed up line references in some comments :doh:).

Also, I corrected a few other minor mistakes. It should all be ok now :thumbup:

Air refueling mission demo.miz

Air Refueling mission demo.lua

Edited by Hardcard
Posted
I've finished commenting, tweaking and testing my air refueling demo mission (a bare bones version of it, rather :D ), so, as promised, here you have it!

 

Single F15C client available, with access to F10 menu commands (which are used to manage the air refueling task).

 

A commented version of the mission script is also attached.

Still, as I mentioned earlier, basic Lua / MOOSE knowledge is needed in order to understand what's going on :book:

 

Hope you find it helpful!

 

 

Thanks for sharing Hardcard! The LUA Tutorial site is pure gold.

I don't need no stinkin' GPS! (except for PGMs :D) :pilotfly:

[sIGPIC][/sIGPIC]

 

Posted

Thank you for the file, thats a big help.

i´m almost done with the Tutorials from FlightControl how to use MOOSE and how LUA works.

 

 

Will try to get a Mission running....

regards

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...