Jump to content

Recommended Posts

Posted

Good day gentlemen

 

Im new to these forums but have be playing DCS a little while.

 

Im trialling DCS World for a work project and we are happy with the flying and controlling Aircraft.

 

However, im have major issues in using the mission editor.

Iv read the manuals, and i can do way points but i need to know how to script and entire scenario.

Iv seen a lot of talk about LUA files, i have no idea what these are and how i would go about writing them. Is there a list of commands of an idiots guide?

 

Any help guys would be fantastic

 

Thanks

[sIGPIC][/sIGPIC]

Posted

Thanks great

 

But how do i know what and how to write the scripts?

 

Is there a list of basic commands like and how they are structured?

[sIGPIC][/sIGPIC]

Posted

To start using lua I suggest you to check this:

 

http://forums.eagle.ru/showthread.php?t=98616

 

start using this, and understanding exactly how trigger works by downloading others mission and retro-enginnering them.

ChromiumDis.png

Author of DSMC, mod to enable scenario persistency and save updated miz file

Stable version & site: https://dsmcfordcs.wordpress.com/

Openbeta: https://github.com/Chromium18/DSMC

 

The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.

Posted

I'd probably suggest getting one of the working scripts from the stickied mission script library post in this sub forum, add it to a simple mission and watch what it does and then try go back to the script and go through it to try understand what the logic does. From my own experience the trickiest bits to understanding the basics are local and global scope and how lua handles tables.

  • 2 weeks later...
Posted
Thanks that's an interesting read..

I guess I'm just a bit intimidated by the programming langauage

The build in features and mechansms of the DCS mission editor are already quite capable. I would adivse that you get familar with that first - you won't really need LUA scripting for most of the time. And if you encounter difficulties when implementing your ideas, either the community can help and/or there are already LUA scripts and script libraries out there that you just can "plug & play" to archieve what you want to archieve. Then you can use those scripts to learn from them and perhaps to modify them to your needs.

Posted

Using MIST you're not really programming, cause it's really simple. But in the meantime you will be able to do many things that are quote complicated to obtain by editor (i.e. the patrol function for ground vehicles)

ChromiumDis.png

Author of DSMC, mod to enable scenario persistency and save updated miz file

Stable version & site: https://dsmcfordcs.wordpress.com/

Openbeta: https://github.com/Chromium18/DSMC

 

The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.

  • Recently Browsing   0 members

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