fiveohmike Posted January 18, 2016 Posted January 18, 2016 Hey Guys, My buddy and I are playing A10 extensively. We want to get into mission building, but have some concerns around LUA. Can you make great missions without it? What are the advantages of using it? We are looking at making missions on our MP server but are running through the ones everyone has. We also want to make missions and open the servers up to other people. I want to learn LUA on the side but for now it will be without it. Thanks, A-10C Noob - Watch out, I may happen to fly my hog into your car! Win 7x64 - Core-i7 4770k, 16GB Ram, Titan X, Obutto Cockpit with 3x 27" screens.
Grimes Posted January 18, 2016 Posted January 18, 2016 Yes you can make great missions without using lua. The primary advantages of using lua is that you can create much more complex "logic" than what you can do with using triggers. Lua is way better at anything that could be automated and using any real-time data. For example if you wanted to display a message with the coordinates of a specific group. With triggers you have to figure out the coordinates and write them down as part of a message trigger. If you move the group you have to redo the coordinate part of the message. With lua doing the same thing you can use a scripting function to get the groups current position the moment the function is called. So you can move the group where-ever you want in the editor and in game without having to change a line of lua to get the desired result. Thats the sort of thing lua is great it. The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
Shaman Posted January 18, 2016 Posted January 18, 2016 I think most important is to learn how to load MISC and how to run simple group re-spawn (as ME trigger actions do not feature 'group respawns'), to avoid cluttering mission with extra groups. Everything else is optional :) 51PVO Founding member (DEC2007-) 100KIAP Founding member (DEC2018-) :: Shaman aka [100☭] Shamansky tail# 44 or 444 [sIGPIC][/sIGPIC] 100KIAP Regiment Early Warning & Control officer
fiveohmike Posted January 18, 2016 Author Posted January 18, 2016 Yes you can make great missions without using lua. The primary advantages of using lua is that you can create much more complex "logic" than what you can do with using triggers. Lua is way better at anything that could be automated and using any real-time data. For example if you wanted to display a message with the coordinates of a specific group. With triggers you have to figure out the coordinates and write them down as part of a message trigger. If you move the group you have to redo the coordinate part of the message. With lua doing the same thing you can use a scripting function to get the groups current position the moment the function is called. So you can move the group where-ever you want in the editor and in game without having to change a line of lua to get the desired result. Thats the sort of thing lua is great it. Thats perfect so we can still have some decent fun while learning the ME itself followed by learning LUA. I can program in Python and C decently so it should be quick to pick up LUA. A-10C Noob - Watch out, I may happen to fly my hog into your car! Win 7x64 - Core-i7 4770k, 16GB Ram, Titan X, Obutto Cockpit with 3x 27" screens.
Pikey Posted January 19, 2016 Posted January 19, 2016 Yes, frequently do both. Easier if you have multiplayer, they usually make things better. Using triggers and zones you get 75% of cool and awesome achieved. ___________________________________________________________________________ SIMPLE SCENERY SAVING * SIMPLE GROUP SAVING * SIMPLE STATIC SAVING *
MasterZelgadis Posted January 19, 2016 Posted January 19, 2016 Just take an excel sheet or whatever where you enter the flags and what they do. Also it helps a lot to define "zones" of flags for specific tasks (for example 1-20 for mission gooals, 30-50 for an A-10 element, 40-50 for an enemy flight..depends on what you want to do). "Sieh nur, wie majestätisch du durch die Luft segelst. Wie ein Adler. Ein fetter Adler." http://www.space-view.net
Recommended Posts