Help with opening Lua files - ED Forums
 


Notices

Reply
 
Thread Tools Display Modes
Old 12-05-2019, 01:38 AM   #1
linebacker
Junior Member
 
Join Date: Dec 2015
Location: Melbourne
Posts: 43
Default Help with opening Lua files

Hi
Ive setup Moose following the Youtube tutorials by Flightcontrol. Then i installed some of the demo missions to get a better understanding on how Moose works with DCS. When I try to open a Lua file in Eclipse LTD, i only get lots of code which looks like HTML. I opened the SPA Simple spawning Lua file which should show just a few lines. Has anyone came across this? What am i doing wrong?
Thanks
linebacker is offline   Reply With Quote
Old 12-05-2019, 07:00 AM   #2
dark_wood
Member
 
Join Date: Mar 2017
Location: Romania
Posts: 114
Default

Try to open with Notepad++ (install LuaScript plugin) and see what you get.
In LDT, i think you should first have a project.
dark_wood is offline   Reply With Quote
Old 12-05-2019, 08:12 AM   #3
linebacker
Junior Member
 
Join Date: Dec 2015
Location: Melbourne
Posts: 43
Default

Thanks, ill give that a try and report back.
linebacker is offline   Reply With Quote
Old 12-05-2019, 08:34 AM   #4
linebacker
Junior Member
 
Join Date: Dec 2015
Location: Melbourne
Posts: 43
Default

I tried Notepad++ with the Luascript plug in and i get the same thing. There's many pages like the in the pic.
Attached Thumbnails
Click image for larger version

Name:	NPP++.JPG
Views:	13
Size:	238.9 KB
ID:	222309  
linebacker is offline   Reply With Quote
Old 12-05-2019, 09:23 AM   #5
dark_wood
Member
 
Join Date: Mar 2017
Location: Romania
Posts: 114
Default

Well, you take a HTML file who shows LUA code.
In Github, click raw button (on the right side), then simply select all, copy/paste to your editor.

https://github.com/FlightControl-Mas...20Caucasus.lua
dark_wood is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 02:24 PM. vBulletin Skin by ForumMonkeys. Powered by vBulletin®.
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.