Widow19 Posted July 26, 2014 Posted July 26, 2014 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]
Exorcet Posted July 26, 2014 Posted July 26, 2014 Try starting here: http://forums.eagle.ru/showthread.php?t=120355 Lots of links in the first post. Awaiting: DCS F-15C Win 10 i5-9600KF 4.6 GHz 64 GB RAM RTX2080Ti 11GB -- Win 7 64 i5-6600K 3.6 GHz 32 GB RAM GTX970 4GB -- A-10C, F-5E, Su-27, F-15C, F-14B, F-16C missions in User Files
Widow19 Posted July 26, 2014 Author Posted July 26, 2014 Thanks for that... i shall have a look [sIGPIC][/sIGPIC]
Widow19 Posted July 26, 2014 Author Posted July 26, 2014 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]
chromium Posted July 26, 2014 Posted July 26, 2014 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. 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.
Widow19 Posted July 26, 2014 Author Posted July 26, 2014 Thanks that's an interesting read.. I guess I'm just a bit intimidated by the programming langauage [sIGPIC][/sIGPIC]
Stonehouse Posted July 26, 2014 Posted July 26, 2014 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.
Flagrum Posted August 9, 2014 Posted August 9, 2014 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.
chromium Posted August 9, 2014 Posted August 9, 2014 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) 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.
Recommended Posts