Max_ARG Posted April 17, 2017 Posted April 17, 2017 (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 :( Edited April 17, 2017 by Max_ARG
FlightControl Posted April 17, 2017 Posted April 17, 2017 Amazing... Come on board man. Drop me a mail at flightcontrol_moose@outlook.com and you'll be resolving this issue in no time... [TABLE][sIGPIC][/sIGPIC]| Join MOOSE community on: DISCORD :thumbup: Website of the MOOSE LUA Framework. MOOSE framework Downloads. Check out Example Missions to try out and learn. MOOSE YouTube Channel for live demonstrations and tutorials. [/TABLE]
FlightControl Posted April 18, 2017 Posted April 18, 2017 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]| Join MOOSE community on: DISCORD :thumbup: Website of the MOOSE LUA Framework. MOOSE framework Downloads. Check out Example Missions to try out and learn. MOOSE YouTube Channel for live demonstrations and tutorials. [/TABLE]
Max_ARG Posted April 18, 2017 Author Posted April 18, 2017 (edited) Many Thanks FlightControl! you have a great Moose`s Community! I have solved the Issue. My problem was that i was using a wrong Source Code. Every time you want to include Moose.lua into DCS, use the one posted here: https://github.com/FlightControl-Master/MOOSE/archive/2.0.zip (18/04/2017) The one at the root of MOOSE-2.0\Moose Mission Setup. 1.24MB Edited April 18, 2017 by Max_ARG
Recommended Posts