Jump to content

Recommended Posts

Posted

Hi, i've been fiddling around with the mission editor a little in DCS world after first doing it in BS2. After wasting a few hours in BS2 i found out that the functions with LUA wasn't implemented until DCS World/A-10C was released...Great to have different boxes in the editor which doesn't work and find out by coincidence that their just there for the looks LOL. Anyway, what i wanted to ask or actually more important show me is a explicit small function in the CONDITION FIELD which goes over MORE than one line which uses a Begin....end loop. The example need to be absolutley syntax correct or else i guess i will miss out on this. The example i put in the field obviously has another built in selection in the ingame menus, but i guess there is alot of stuff which isnt?? Also if someone knows alot about using LUA in DCS, it would be nice with some some useful examples of this. I can't believe that a sim with as much is possiblilies as this one don't have more docs on this. I think maybe the sim can be utilized more with these things even for ppl that aren't experts in LUA. Anyone have any views on this? I mean do we need LUA use in the sim to make missions with more surprises?

editor3.thumb.jpg.f6e9e63e9bce1aec8c955b41736c790c.jpg

System spec:

Intel Core i7 920@4.2Ghz (stable, 65degC fully loaded), EVGA GTX-780, Asus P6T Deluxe V2 v.5.04 BIOS, Saitek X52, 1TB/500GB WD HD for system/storage. Kingston SSD 120 GB for DCS, 250GB Samsung 840 SSD for the rest. 16GB Kingston KHX1600C9D3 Memory, 9 GB Pagefile, EK HFX-240 Watercooling, Corsair HX-1000 PSU. HAF-932 Tower, TrackIR-5, Win64Ult

[sIGPIC][/sIGPIC]

Posted

Lua isn't required to make missions. The community certainly found ways to make complex missions without it in the past, and I suspect they will continue to do so. That said lua can help make complex missions a bit easier to create and debug along with having some capabilities that the editor alone can't do yet. So I would say it is at least advantageous to learn some lua so you can take advantage of its capabilities.

 

This wiki page has some documentation on it: http://en.wiki.eagle.ru/wiki/Simulator_Scripting_Engine_Documentation

Admittedly the documentation is rather on the light side, so the forums are the best bet for your questions and answers.

The right man in the wrong place makes all the difference in the world.

Current Projects:  Grayflag ServerScripting Wiki

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread)

 SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum

Posted
Lua isn't required to make missions. The community certainly found ways to make complex missions without it in the past, and I suspect they will continue to do so. That said lua can help make complex missions a bit easier to create and debug along with having some capabilities that the editor alone can't do yet. So I would say it is at least advantageous to learn some lua so you can take advantage of its capabilities.

 

This wiki page has some documentation on it: http://en.wiki.eagle.ru/wiki/Simulator_Scripting_Engine_Documentation

Admittedly the documentation is rather on the light side, so the forums are the best bet for your questions and answers.

 

Thanks for the info. I've been a little at those wiki pages, but as i can see its just a description og the data types and stuctures. Do you know the background for ED not giving at least a small example of how to use each of these functions? Is it lack of resources? I guess examples would be a little on the tutorial side of things, but god it would have helped. I can't help from saying one thing and that is the Arma developers seems like many classes above in professionalism both about this scripting topic and also how to deal with structuring the delivery of the their sim and its patches to the customers. I've bought and played DCS titles since Lockon first came out cause there really isn't many great alternatives in this category, but over the years i've also put the sim away cause of many annoyances. Anyway i will try and make some missions without LUA and try and enjoy it as best as i can. Btw. thanks for doing a great job on helping out customers on scripting. I see alot of nice feedback. Maybe you yourself can make some tutorial which is so basic that even a nonprogrammer can try out the examples? Examples which shows concrete visuals in the sim?

System spec:

Intel Core i7 920@4.2Ghz (stable, 65degC fully loaded), EVGA GTX-780, Asus P6T Deluxe V2 v.5.04 BIOS, Saitek X52, 1TB/500GB WD HD for system/storage. Kingston SSD 120 GB for DCS, 250GB Samsung 840 SSD for the rest. 16GB Kingston KHX1600C9D3 Memory, 9 GB Pagefile, EK HFX-240 Watercooling, Corsair HX-1000 PSU. HAF-932 Tower, TrackIR-5, Win64Ult

[sIGPIC][/sIGPIC]

Posted

If you are a bit comfortable with programming, I suggest downloading Grimes' Mist and sct utility libraries and looking through them as well as trying to use them in lua. Very informative, much better examples than the basic ED docs. Also, there are a few recent Huey mission examples that have been posted on this board that are very helpful.

Posted
If you are a bit comfortable with programming, I suggest downloading Grimes' Mist and sct utility libraries and looking through them as well as trying to use them in lua. Very informative, much better examples than the basic ED docs. Also, there are a few recent Huey mission examples that have been posted on this board that are very helpful.

 

 

Thanks pakfront, i will do that and see if i get something out of it

System spec:

Intel Core i7 920@4.2Ghz (stable, 65degC fully loaded), EVGA GTX-780, Asus P6T Deluxe V2 v.5.04 BIOS, Saitek X52, 1TB/500GB WD HD for system/storage. Kingston SSD 120 GB for DCS, 250GB Samsung 840 SSD for the rest. 16GB Kingston KHX1600C9D3 Memory, 9 GB Pagefile, EK HFX-240 Watercooling, Corsair HX-1000 PSU. HAF-932 Tower, TrackIR-5, Win64Ult

[sIGPIC][/sIGPIC]

  • Recently Browsing   0 members

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