Scripting and User Content
|
|
RaXaR | Date: Monday, 30.01.2012, 17:13 | Message # 1 |
Observer
Group: Users
South Africa
Messages: 16
Status: Offline
| Just a question, I saw in a post that there are plans for adding spacecraft etc.
I was wondering if Space Engine will eventually contain a scripting engine like LUA or Javascript (V8)? This could be useful for controlling ship systems (wings/airbrakes) and radar dishes deploying etc.
Maybe even hook it up to the planet generation (convert script to glsl on the fly?)
|
|
| |
SpaceEngineer | Date: Tuesday, 31.01.2012, 18:17 | Message # 2 |
Author of Space Engine
Group: Administrators
Russian Federation
Messages: 4800
Status: Offline
| I don't know if scripts will be necessary. Currently, SE has only Celestia-style scripts for describing space bodies.
*
|
|
| |
RaXaR | Date: Wednesday, 01.02.2012, 11:12 | Message # 3 |
Observer
Group: Users
South Africa
Messages: 16
Status: Offline
| I see, describing space bodies is cool but if you're on a spaceship/craft I think it would be really awesome to allow users to script elements of their ships.
As an example, if you create a mother ship with a smaller explorer vessel, then you'll want to script some lights and a hanger door to react to the vessel once it approaches or leaves the ship. Or if you walk to the bridge then doors will open if you get a certain distance from them.
Personally I haven't implemented a scripting engine into a game before, so I don't know how hard it is or what level of technical skill you'll need to be able do it. There is also the performance aspect to consider but I think it would be a really useful feature to implement at some point in the future.
|
|
| |