Jump to content

MOOSE - Mission Object Oriented Scripting Framework


Recommended Posts

Started looking into this. Does it interfere with any other script such as, e.g. CTLD ?

 

 

 

 

 

Normally not

 

Sent from mTalk on Windows 10 mobile

[TABLE][sIGPIC][/sIGPIC]|

[/TABLE]

Link to comment
Share on other sites

Hi FlightControl,

 

Great Job with MOOSE, I love it.

 

I am trying to play around with the escort script but I have a problem with the escort attacking a target. They see the target but do not fire at it. They just follow me around dutifully even if I told them to shoot at it. What am I doing wrong?

 

Also thank you for rescuing the SEAD script. it will prevent people to suffer through my bad lua programming :music_whistling:

test_1.miz

Link to comment
Share on other sites

Hi FlightControl,

 

 

 

Great Job with MOOSE, I love it.

 

 

 

I am trying to play around with the escort script but I have a problem with the escort attacking a target. They see the target but do not fire at it. They just follow me around dutifully even if I told them to shoot at it. What am I doing wrong?

 

 

 

Also thank you for rescuing the SEAD script. it will prevent people to suffer through my bad lua programming :music_whistling:

 

 

 

Hey. Thanks man. You are credited for that script in the moose documentation. Thanks for looking at the work. Regarding the escort, is there an error in dcs.log?

 

Sent from mTalk on Windows 10 mobile

[TABLE][sIGPIC][/sIGPIC]|

[/TABLE]

Link to comment
Share on other sites

Hi FlightControl,

 

 

 

Great Job with MOOSE, I love it.

 

 

 

I am trying to play around with the escort script but I have a problem with the escort attacking a target. They see the target but do not fire at it. They just follow me around dutifully even if I told them to shoot at it. What am I doing wrong?

 

 

 

Also thank you for rescuing the SEAD script. it will prevent people to suffer through my bad lua programming :music_whistling:

 

 

 

Send me a friend request on skype: FlightControl_Skype.

 

 

 

Send me your email as a PM. I can invite you to our MOOSE channel on slack.com.

 

Sent from mTalk on Windows 10 mobile

[TABLE][sIGPIC][/sIGPIC]|

[/TABLE]

Link to comment
Share on other sites

A very open question, for those on the forums, who is actually using/learning the framework? For those already in chose contact, please disregard my question...

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Want to get an idea of how many people are using/interested in it.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

If you are interested, but don't know where to start, please provide your feedback how can we help.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Sven

 

 

 

 

 

 

 

Sent from mTalk on Windows 10 mobile


Edited by FlightControl

[TABLE][sIGPIC][/sIGPIC]|

[/TABLE]

Link to comment
Share on other sites

To be honest I am working with it but with the understanding that the merge will most likely destroy anything I build. So i am cautiously developing our Campaign with this in mind.

 

You mean, the merge of the 1.5.3 and the 2.0.2 into the 2.5 DCS world version? There could be an impact, but i guess that impact should be minimal and also, once that merge happens, we'll all be on beta.

 

I'll ask Grimes and the ED team if we can be involved in alpha testing for the MOOSE framework. It was a question that was some time already on my mind.

 

Feel free to ping me on skype in case you have questions.

 

Sven

[TABLE][sIGPIC][/sIGPIC]|

[/TABLE]

Link to comment
Share on other sites

For those interested in balancing AI with active players, and letting AI to patrol zones, have a look at this video:

 

 

 

[ame]

[/ame]

 

 

 

 

 

Demo will follow next week.

 

Sent from mTalk on Windows 10 mobile

  • Like 1

[TABLE][sIGPIC][/sIGPIC]|

[/TABLE]

Link to comment
Share on other sites

FlightControl, you're doing a great job, thank you :thumbup:

I will try to apply the MOOSE Framework in the missions, but we need time to study:smartass::book:

Форум DCS Aviasibir Server

 

Канал DCS Aviasibir Server в Telegram

 

MSI P67A-C45 (B3) /Intel Core i5-2500K 3.3 (4.5) ГГц / SSD Plextor M5 Pro 128Gb / 32 Gb CORSAIR Vengeance / ASUS HD 7970 DirectCU II TOP 3Gb / БП Chieftec 750W // DELL U2410 / TrackIR 5 + TrackClip PRO / Saitek X-52Pro (мех-ка BRD-X) + педали BRD-M2 :joystick: :pilotfly:

Link to comment
Share on other sites

FlightControl, you're doing a great job, thank you :thumbup:

 

I will try to apply the MOOSE Framework in the missions, but we need time to study:smartass::book:

 

 

 

Yeah. Things look a bit overwhelming at first, but when you get the hang of it, the fun starts quickly. Welcome to our little moose community. Don't study to hard, it is exam period...

 

SvenSent from mTalk on Windows 10 mobile


Edited by FlightControl
  • Like 1

[TABLE][sIGPIC][/sIGPIC]|

[/TABLE]

Link to comment
Share on other sites

Hi, Sven.

 

I tried to Anapa Invasion.miz mission to perform the task "Rescue oil rig workers".

Once engineers boarded the helicopter:

 

h_1466701122_1490125_71407b1b5c.jpg

 

h_1466701122_1836414_0b1fa31e23.jpg

 

The next day I again started the mission and did the same. Nothing succeeded. Engineers ran through the water around Oil Rigs and did not want to sit in a helicopter ((

 

What is the problem?

Форум DCS Aviasibir Server

 

Канал DCS Aviasibir Server в Telegram

 

MSI P67A-C45 (B3) /Intel Core i5-2500K 3.3 (4.5) ГГц / SSD Plextor M5 Pro 128Gb / 32 Gb CORSAIR Vengeance / ASUS HD 7970 DirectCU II TOP 3Gb / БП Chieftec 750W // DELL U2410 / TrackIR 5 + TrackClip PRO / Saitek X-52Pro (мех-ка BRD-X) + педали BRD-M2 :joystick: :pilotfly:

Link to comment
Share on other sites

Hi, Sven.

 

 

 

 

 

 

 

I tried to Anapa Invasion.miz mission to perform the task "Rescue oil rig workers".

 

 

 

Once engineers boarded the helicopter:

 

 

 

 

 

 

 

h_1466701122_1490125_71407b1b5c.jpg

 

 

 

 

 

 

 

h_1466701122_1836414_0b1fa31e23.jpg

 

 

 

 

 

 

 

The next day I again started the mission and did the same. Nothing succeeded. Engineers ran through the water around Oil Rigs and did not want to sit in a helicopter ((

 

 

 

 

 

 

 

What is the problem?

 

It has been a while since I looked to that mission. I'll check next week to make it work again. I've done a couple of core changes on the framework. That being said, have look at the mission script file. It contains some really advanced stuff...


Edited by FlightControl

[TABLE][sIGPIC][/sIGPIC]|

[/TABLE]

Link to comment
Share on other sites

Very good job, you have all my encouragements !

I just began since a few days to work with it, syntax is simple and in one place!

Continue like this! From my part, I will take holidays, but in 3 weeks time, I come back to it!

Flupke

Link to comment
Share on other sites

Very good job, you have all my encouragements !

 

I just began since a few days to work with it, syntax is simple and in one place!

 

Continue like this! From my part, I will take holidays, but in 3 weeks time, I come back to it!

 

Flupke

 

Flup, send me you email in a PM so I can add you on our MOOSE chat channels on slack.com. There is a community growing there...

 

Sent from mTalk on Windows 10 mobile

[TABLE][sIGPIC][/sIGPIC]|

[/TABLE]

Link to comment
Share on other sites

I'm trying to figure out how to use MOOSE to delay the engine start of an aircraft on the ground. For example, I have a row of fighters sitting on a ramp, and want two of them, either on an interval, or at random, start up, taxi out, and take off, but want them to be visible on the ramp before they start engines. Would I spawn them in without fuel, then at a certain time refuel them to be able to start up and taxi out? Would I spawn them in without a route, then on a timer, deactivate the unit then spawn a new unit in their place WITH an active route?

 

I'm thinking something along the lines of how BlueFlag has alert fighters on the ramp at ready alert.

 

Thanks in advance... This is a steep learning curve for me, but I'm getting some of the basics down.

Come check me out on

YouTube!

Twitch!

Have a listen to the Alert 5 Podcast - YOUR source for the latest combat flight simulation news!

Link to comment
Share on other sites

I'm trying to figure out how to use MOOSE to delay the engine start of an aircraft on the ground. For example, I have a row of fighters sitting on a ramp, and want two of them, either on an interval, or at random, start up, taxi out, and take off, but want them to be visible on the ramp before they start engines. Would I spawn them in without fuel, then at a certain time refuel them to be able to start up and taxi out? Would I spawn them in without a route, then on a timer, deactivate the unit then spawn a new unit in their place WITH an active route?

 

I'm thinking something along the lines of how BlueFlag has alert fighters on the ramp at ready alert.

 

Thanks in advance... This is a steep learning curve for me, but I'm getting some of the basics down.

 

Understand your question, and here is the answer:

 

The trick is to spawn your airplanes as "uncontrolled", and when they need to start, Respawn them... So in your mission editor, select the start mode on the airbase as ramp.

 

3VFFFS.jpg

 

then, select the airplane to start as uncontrolled:

 

7jEpcv.jpg

 

 

 

Next, we'll need to dive a bit into the coding style of MOOSE...

 

To code this now, it is really simple, but I'll need to explain a few things, so you understand the code...

 

When you have a mission designed with MOOSE, and you start the mission, EVERY Group, EVERY Unit definition is scanned and stored in the _DATABASE object as Templates. So each definition of a Group is regarded as a Template.

 

Now, when you need to "activate" the group, you can Respawn the Group, using the Template of the Group, and modifying it a bit.

 

consider the following code:

 

AirplaneGroup = GROUP:FindByName( "Airplane Group Name" )

This searches for the GROUP wrapper class for the Group with the name "Airplane Group Name".

 

 

GroupTemplate = AirplaneGroup:GetTemplate()

This retrieves the template of the Group. Note that the GroupTemplate is a table structure, and will contain a field uncontrolled, which contains the value of the flag set in the mission editor (true). We want to change that field. Fortunately, there is a function for it in MOOSE.

 

AirplaneGroup:SetTemplateControlled( GroupTemplate, true )

This will activate the plane when it will respawn. Note that i named the function SetTemplateControlled (not uncontrolled because I find that confusing). So calling the function with true, will make the plane controlled.

 

AirplaneGroup:Respawn(GroupTemplate)

This will Respawn your airplane...

 

And you're done... Note that due to a problem in DCS, it is currently impossible to define the start location at the airbase being the same as in the template. So it can be that the start location changes when you spawn the airplane. It is not a huge problem, but it would be nicer for the eye candy if it would just respawn it at the same location...

 

 

I suggest you do the following:

send me your email address so that i can add you to our support channels at slack.com.

It will help you to join the growiing community of MOOSE users, and you can share ideas and ask questions to the guys.

 

FC


Edited by FlightControl

[TABLE][sIGPIC][/sIGPIC]|

[/TABLE]

Link to comment
Share on other sites

AirBasePolice now functional in CAUCASUS and NEVADA

 

Hello all,

 

In the new class: AIRBASEPOLICE; we have now added the NEVADA map airbases.

The CAUCASUS map was already done, in case you wonder.

 

This class has the following parameters:

 

- Maximum taxi speed (can be adjusted by mission creator)

- Maximum distance between aircrafts on the airbase, so to prevent people from crashing into eachother (can be adjusted by mission creator)

- Only runway take-off permitted

 

This will prevent all those cowboys from ignoring airport rules :thumbup:

 

When an offender exceeds one of the maximum set parameters, he will receive 3 warning messages and if all are ignored he will be kicked back to spectators.

This will not explode the aircraft so NO DEBRIS will be found on the airbases.

 

Thanks to Mr. Flight Control for his relentless effort!


Edited by Dutch Baron
http://www.TAWDCS.org ### JOINT TASK FORCE JTF-88 ### https://tawdcs.org/battalion/88th/ ### PC: i9 - 32Gb RAM - GTX 1080Ti - TM Warthog Stick and Throttle - MFG Crosswind Black - TrackIR5 - Buddy Fox UFC
Link to comment
Share on other sites

I am planning for an interactive presentation of the MOOSE framework using teamspeak, on a day in the week from the 18th till the 23rd of July.

 

Those interested can join the conversation and ask questions.

 

More information will follow. I've seen on YouTube a very diverse audience of the videos from multiple continents. Therefore I plan to do 3 sessions. I am located in Europe (GMT+1), so if I arrange a workshop at 8h my time, 16h my time and 21h my time, on one day that would suit most continents I think.

 

I think of the following agenda:

1. Concepts of MOOSE and Q&A.

2. Overview of the CLASSES

3. Future developments and pipeline

4. Open issues and how to approach the fixes

5. Testing and quality assurance

6. Communication with Eagle Dynamics

 

For those interested in such a workshop, may I ask you:

1. What subject would you be most interested in?

2. And do you have questions in advance to ask that can be clarified in the workshop?

3. What timezone are you in?

 

thanks,

FC


Edited by FlightControl

[TABLE][sIGPIC][/sIGPIC]|

[/TABLE]

Link to comment
Share on other sites

I'm very interested

 

For those interested in such a workshop, may I ask you:

1. Everything, haven't used MOOSE yet (but have much experience with lua and mist)

2. No specific questions at this point

3. US Central time

[sIGPIC][/sIGPIC]

 

Intel Core I7 4820K @4.3 GHz, Asus P9X79 motherboard, 16 GB RAM @ 933 MHz, NVidia GTX 1070 with 8 GB VRAM, Windows 10 Pro

Link to comment
Share on other sites

I'm very interested

 

 

 

For those interested in such a workshop, may I ask you:

 

1. Everything, haven't used MOOSE yet (but have much experience with lua and mist)

 

2. No specific questions at this point

 

3. US Central time

 

 

 

Hi wolle, thanks for your reply. Everything is a bit too much of everything. May I suggest you watch the Developer videos on YouTube.

 

 

 

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

 

Sent from mTalk on Windows 10 mobile

[TABLE][sIGPIC][/sIGPIC]|

[/TABLE]

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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