- Joined
- Mar 26, 2008
- Messages
- 203
- Reaction score
- 0
- Points
- 0
I have found orbiter_beta_070927 and was really amazed by Lua*. I mean having a built-in scripting language is excellent thing to have.
Also current set of functions is somewhat limiting (poor user i/o, no attachment management, can't set state of a ship, no i/o beetween script ans ship modules/plugins (other than sending keystrokes to ship, but that's one way mesage). Heck I can't even AddForce at will with lua $) Anyway this is beta, so it's normal.
But one particular behavior of lua-console drives me crazy. It looks like it can't handle too many lines of text - something as simple as "for i=1,300 do term.out('blah-blah')" causes CTD. That's really annoying since it makes script debugging really painfull.
Now off to try and make some scripted missions, STS-114 probably $)
P.S. What's your record for sample challenge? Mine is 5797.66
(tried it only a couple of times but doubt that I could improve it by much)
P.P.S. Sorry if posted it in the wrong subforum - could not find anything beta-related :-/
__________________________
*And that was my first encounter with Lua - damn thats a pretty language, i have tried python but lua looks so much suitable and easier to use.
Also current set of functions is somewhat limiting (poor user i/o, no attachment management, can't set state of a ship, no i/o beetween script ans ship modules/plugins (other than sending keystrokes to ship, but that's one way mesage). Heck I can't even AddForce at will with lua $) Anyway this is beta, so it's normal.
But one particular behavior of lua-console drives me crazy. It looks like it can't handle too many lines of text - something as simple as "for i=1,300 do term.out('blah-blah')" causes CTD. That's really annoying since it makes script debugging really painfull.
Now off to try and make some scripted missions, STS-114 probably $)
P.S. What's your record for sample challenge? Mine is 5797.66
(tried it only a couple of times but doubt that I could improve it by much)
P.P.S. Sorry if posted it in the wrong subforum - could not find anything beta-related :-/
__________________________
*And that was my first encounter with Lua - damn thats a pretty language, i have tried python but lua looks so much suitable and easier to use.