Jump to content

Recommended Posts

Posted (edited)

Hi guys, i am trying to print a Hello World with MOOSE. The script is failing at locating the MOOSE files (Utilities,Core,etc).

I have created 1 trigger for the MOOSE script excecution, and another trigger for the Hello World file.

The sim starts and the first assert (the one that loads Utilities/Routines), fails. That indicates me that i am wrongly writing the path of those files.

Moose source code says :

__Moose.ProgramPath = "Scripts/Moose/"

__Moose.Includes = {}

__Moose.Include( 'Utilities/Routines.lua' )

 

I have attached how i am creating the files structures.

NewMiz->Scripts->Moose->(All moose scripts in its respective folders)

NewMiz->Moose.lua

NewMiz->SayHello.lua

 

 

My Hello World just says : MessageToAll("Hello World",1,"MyMessageName")

 

I have tried some variations to this, as moving the moose and sayHello inside Scripts folder, and inside Moose folder, but i still keep getting the assert fail.

 

PD: I havent found any source of information about how to setup Moose. I have read the many Miz examples included with the framework but those doesnt explain me how to include or structure my scripts (or i am too dumb to find it).

Any help is well apreciated!

Thanks to the Moose creator! amazing work!

 

I have followed the author guidance in the readMe:

1. Create a new mission in the DCS World Mission Editor.

2. In the mission editor, create a new trigger.

3. Name the trigger Moose Load and let it execute only at MISSION START.

4. Add an action DO SCRIPT FILE (without a condition, so the middle column must be empty).

5. In the action, browse to the **[Moose.lua](https://github.com/FlightControl-Master/MOOSE/tree/master/Moose%20Mission%20Setup)** file

in the **Moose Mission Setup** directory, and include this file within your mission.

6. Make sure that the "Moose Load" trigger is completely at the top of your mission.

 

But still nothing, the assert keeps failing :(

111.JPG.ab7dd3dfdc075b5d56c6d658a7e9fe15.JPG

222.JPG.4417235891d7ff1978a9dbad9c614ea2.JPG

Edited by Max_ARG
Posted

Hi Maxi! Welcome. I know you have a lot of questions but was not able to respond. Instead of responding directly to you, I've done the effort to create new videos explaining the setup in detail for mission designers. Please have a look to the following videos in this playlist. And let me know if this helped...

[TABLE][sIGPIC][/sIGPIC]|

[/TABLE]

  • Recently Browsing   0 members

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