Jump to content

Recommended Posts

Posted (edited)

Hi,

 

Find a reworked video on how to install the tools and setup of your configuration, and a first explanation on how to use MOOSE.

 

Have a look at the video here: [ame]https://www.youtube.com/watch?v=-Hxae3mTCE8[/ame]

 

 

 

Note that further posts will be populated in this threat explaining deep dive aspects on mission development in lua using MOOSE and some nice tooling characteristics. The idea is that in this threat deep-dive explanations are done on how MOOSE has been setup, so that you understand better how to use the different classes in MOOSE.

 

I hope that some people are interested, and we can use this threat for potential co-development of the framework (in later stages).

 

 

kind regards,

FC

Edited by FlightControl

[TABLE][sIGPIC][/sIGPIC]|

[/TABLE]

Posted

Hi,

 

Find part 2 of the development environment training here: [ame]https://www.youtube.com/watch?v=7TQc9_dGSnU[/ame]

 

Hope this video is useful for others. Any feedback is welcome.

 

FC

[TABLE][sIGPIC][/sIGPIC]|

[/TABLE]

Posted (edited)

FlightControl!

 

This really looks impressive in the way it works!

 

Just two questions for understanding MOOSE in the right way:

 

If i want to - for example - use the spawn class and spawn units randomly with a random route, i have to script it in the mission specific lua file, right?

And if so, is there a possibility to spawn that group at a certain event or trigger? For example spawn the units when a unit is inside a zone?

 

It's still kind of difficult to understand what's moose all about for me, but my first impression is, that it gives you much more opportunities in mission developtment. On the other hand it seems like a bit complicated.

Edited by exil

GeForce RTX 4090 Founders Edition - AMD Ryzen 7 5800X3D - 64Gb RAM - Win11 - HP Reverb G1 - Thrustmaster Warthog HOTAS (40cm extension) - VKB Sim T-Rudder MKIV Pedals

Posted
FlightControl!

 

This really looks impressive in the way it works!

 

Just two questions for understanding MOOSE in the right way:

 

If i want to - for example - use the spawn class and spawn units randomly with a random route, i have to script it in the mission specific lua file, right?

And if so, is there a possibility to spawn that group at a certain event or trigger? For example spawn the units when a unit is inside a zone?

 

It's still kind of difficult to understand what's moose all about for me, but my first impression is, that it gives you much more opportunities in mission developtment. On the other hand it seems like a bit complicated.

 

 

Hello exil,

 

Yes, moose is a mission object oriented scripting environment. It is a framework. The goal is to simplify lua scripting for users who are not used to code lua, and to achieve some nice mission patterns beyond the mission editor capabilities.

 

Concerning spawning, there is a video that explains the spawning class (the basic spawning however) here:

 

[ame]https://www.youtube.com/watch?v=iCaombuK45w[/ame]

 

Have a look at my channel. There are also videos now with some more deep training to use the ESCORT class APIs:

 

[ame]

[/ame]

 

Hope this helps.

[TABLE][sIGPIC][/sIGPIC]|

[/TABLE]

Posted

Thanks for that confirmation FlightControl!

 

I see what's the intention behind moose now. I think i have to have a closer look at it to totally understand it, but from what i've seen now, it allows me as a mission designer to have a lot more/easier options for designing! This is really awesome!

 

In fact, the "spawn class" tutorial video brought up my question about randomized spawn and late activation.

 

If - for example - i use Moose to spawn a group randomly and use a triggered action for that group with late activation checked in the mission editor at the same time, will the group spawn at mission start or will it spawn when the given trigger is activated (and then spawn randomly)?

 

To clarify what i'm up to:

 

Let's say you have an enemy infantry group that in general should spawn randomly but not before a certain event happens, will it be possible with moose combined with a triggered action in the mission editor?

 

Kind Regards!

GeForce RTX 4090 Founders Edition - AMD Ryzen 7 5800X3D - 64Gb RAM - Win11 - HP Reverb G1 - Thrustmaster Warthog HOTAS (40cm extension) - VKB Sim T-Rudder MKIV Pedals

Posted (edited)

You can perfectly do that.

 

Write the following code in a trigger DO SCRIPT area:

 

SpawnObject = SPAWN:New("Plane") -- this plane should have lateactivation on

then write in your trigger area:

 

GroupObject = SpawnObject:Spawn()

and you're done.

 

Because, if you declare these variables in the beginning of your mission, then these variables become "global".

You can use them further in the mission script areas, like under triggers, or under mission waypoints etc.

 

Hope it helps.

FC

Edited by FlightControl

[TABLE][sIGPIC][/sIGPIC]|

[/TABLE]

  • 1 month later...
Posted (edited)

The wrapper classes and the DATABASE.

 

Dear DCS community,

 

A new and extensive video has been made in the MOOSE youtube channel that explains the DCS object wrapper classes GROUP, UNIT, CLIENT within the MOOSE framework and the DATABASE class and _DATABASE object.

 

[ame]

[/ame]

 

The total duration of the video is 1 hour and 24 minutes, but i really advise you to view the video as it contains an in-depth explanation of some of the mechanisms within MOOSE and what the advantages are of the wrapper classes.

The video walks you through a presentation that explains the wrapper classes and the _DATABASE object. Then the largest part is about a live demonstration using the DCS World mission editor how a simple mission is built using the MOOSE framework, using these wrapper classes.

 

So, if you're interested, have a look. I've spent a lot of time making this video.

 

The documentation of GROUP, CLIENT and UNIT has been updated and is available at the MOOSE website.

 

Hope you enjoy the video and more, enjoy playing around with MOOSE as a tool.

 

What is now really urgent to do, is to explain how to load moose within your mission, which will be a short video that i can make the coming days.

 

kind regards,

Sven

Edited by FlightControl

[TABLE][sIGPIC][/sIGPIC]|

[/TABLE]

  • 3 weeks later...
Posted

Hello,

 

Based on feedback from MOOSE users, or those who were starting up using MOOSE, I have REDONE the Part 1 training video for the tools and development environment setup.

 

I hope that now the tool setup and installation is much better explained. It was good to receive the feedback so that i know where the focus points had to be added.

 

Those interested in MOOSE, i suggest you have a real close look at the

 

[ame=https://www.youtube.com/watch?v=-Hxae3mTCE8]video[/ame].

 

The video covers:

  • Why was MOOSE developed.
  • Some lessons learned.
  • Install java 64 bit.
  • Install lua LDT eclipse editor.
  • Install LogExpert
  • Install GITHUB desktop and link it with MOOSE.
  • Install Goodsync.
  • A live explanation how to configure the tools.
  • Guidelines how and where to install the tools.
  • Explanation of the MOOSE directory structure.
  • Explanation of GITHUB and how to use it to download MOOSE "online".
  • Explanation of the LDT and how to link with MOOSE to develop missions.
  • Explanation of the test missions.
  • Explanation of how to setup your first mission.
  • Explanation of the documentation.
  • A Wrap-up and communication channels.

You can find the main site of MOOSE here:

 

 

http://flightcontrol-master.github.io/MOOSE/

 

 

kind regards,

Sven

[TABLE][sIGPIC][/sIGPIC]|

[/TABLE]

  • Recently Browsing   0 members

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