> Gene Buckle wrote:
> > Andy, is it possible to make socket calls within a Nasal script? If
> > not, how hard would it be to add that kind of ability?
>
> Right now, you can only talk to the rest of FlightGear through the
> properties tree. Adding the socket stuff probably wouldn't be hard at
> all; what do you need to do with it?
>
It's not something I particualrly need, it comes from something on another
project. I'm working with a commercial game developer to add data exports
to their simulator and since they use Lua script (http://www.lua.org)
already, they're just going to add Lua functions to access internal state
data that can be then be sent to the outside world via a socket add-in
called LuaSocket.
This got me thinking about how FlightGear uses Nasal and how it could be
used similarly to Lua for this task. It would allow for a more flexible
system to import and export data to FG than the current xml defined,
text-only net interface does now. This could work well if the Nasal
script could be executed at a rate of 20Hz or so.
g.
___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel