Showing posts with label lua. Show all posts
Showing posts with label lua. Show all posts

Tuesday, February 25, 2014

Captains orders. My hopes and ideas for LUA

There's not much documentation yet about the lua interface for interacting with VIs... so this is just wild speculation while I wait for a meeting to start.  Regardless of the syntax of the language used, Schema will need to program a library of routines and condition flags for the gamers to use...  so let's think about this. Maybe we'll come up with a cool idea or three and maybe they will find their way onto the right screens.

In keeping with the spirit of the voxel sandbox, I'd like the programming to be a fairly low-level thing.  Simple like a cube or half-cube is simple.  I'd wager there are a lot of programmers playing star-made, and we can make and share subroutines to make the process simpler for the rest.  Let me ask enough questions about my environment and I can write a routine to approach and plot a nice circular orbit around a planet.  Then I could share my routine like I share my ships.  Now anyone can incorporate my routines to navigate and orbit by having their dave interface with the navigation station and invoking the following to travel to sector 5,7,9 and orbit the planet there at a distance of 600M.

ship.orbit(600,5,7,9)