OHM Lua Script Generator

OrbitHangar

Addon Comments
Joined
Apr 9, 2008
Messages
3,832
Reaction score
18
Points
0

Author: escapetomsfate

Generates LUA scripts for interactive tutorials / challenges. Ongoing project.

Scripts generated with it can check variables, such as focus vessel's PeA, eccentricity etc. This means the script can tell users if something is wrong in a tutorial, for example.

Uses .NET 2.0.

See included documentation for usage.

DOWNLOAD
 
The app uses .NET 4.0. Would be great if it said so in the annotation at OHM. Is it possible to target .NET 2.0 as the lowest common denominator (in fact for most purposes it is more than enough, with e.g. Linq being a waste of time)?
 
I've downloaded and unzipped this to c:\LuaGenerator.

Not having much success on my Compaq Laptop. Presario R4812, XP SP3, has C++ 2008 Express edition on it.
Can read the guide.pdf, but the .exe file deletes itself when I try to run it. Never seen that before. I'll have a go on my Vista PC.

I'd like to get it going, looks like a time saver for me.

N.
 
The app uses .NET 4.0. Would be great if it said so in the annotation at OHM. Is it possible to target .NET 2.0 as the lowest common denominator (in fact for most purposes it is more than enough, with e.g. Linq being a waste of time)?

Thanks for pointing that out - I've now reuploaded a .NET 2.0 version. If you and Notebook could try it out again, that would be great. :)

I usually work with C++, where it's much more obvious what you need to include with the exe file. I made this in VB, so I forgot to change the .NET framework version...
 
Last edited:
Netbook? You've been peeking...:)

I'll have a go.

N. (AKA Notebook)
 
Well I had a go, and it works fine on the Vista PC, but still loses the .exe on the XP laptop.
Its about 5 years old, so I don't know if I'm missing some .NET things on it?

Not a problem for me, I can use the Vista box.

Thanks for this, N.
 
You are probably right, I took some .NET things off the laptop when I stopped the C++ work. Thought it was only the SQL stuff, maybe it broke more than I thought...

Haven't used C++ 2008 Express since. I'll try that link and see what happens.

N.

Problem solved, it was Norton 360.
It confessed this morning when it did its scan. I usually have it in quiet-mode, so it didn't tell me at the time. What a cheek!
Have to remember that.

Working nicely now.
 
Last edited:
It works for me on XP SP3.

Anyway, about the app itself, it's really easy to use and generates good, powerful scripts in very short amounts of time. However, the biggest problem with it is that it can't open scripts, which means that if you have to quit creating one, you'll need to start from scratch. I'm working on a script to demonstrate this right now.
 
It works for me on XP SP3.

Anyway, about the app itself, it's really easy to use and generates good, powerful scripts in very short amounts of time. However, the biggest problem with it is that it can't open scripts, which means that if you have to quit creating one, you'll need to start from scratch. I'm working on a script to demonstrate this right now.

I agree it's a feature that it needs, but it would only be able to open scripts made with the generator. I originally began working on an open function but stopped because I thought most scripts could be made in one session. I'll see what I can do...
 
No problem. If this evolves a little more no one will create scripts by hand. ;) And I disagree on "mosts scripts could be done in one session", because I have tried it myself.

Other than that, if this thing continues to be developed then it could be the most best-est thing that has ever been made for Orbiter since the XR-2 and the DGIV. Keep up the excellent work!
 
No problem. If this evolves a little more no one will create scripts by hand. ;) And I disagree on "mosts scripts could be done in one session", because I have tried it myself.
So do I, I just meant it wasn't a vital first release feature.

Other than that, if this thing continues to be developed then it could be the most best-est thing that has ever been made for Orbiter since the XR-2 and the DGIV. Keep up the excellent work!
I wouldn't go that far, but thanks :lol:
 
I would. Imagine a world where there are hundreds of interactive tutorials around, all made in like 10 minutes with this little tool and yet still awesome. Imagine a world where beginners learn everything they need to know not by reading tutorials (most of them consider that boring) but by actively flying the ship with a virtual instructor telling them what to do. Imagine a world where we won't have to explain stuff to n00bs:lol:.
 
The GUI works, a great beginning!

I'll be doing trial runs of the scripts next (when I have time)...
 
Back
Top