Re: [Flightgear-devel] Loading scenery message
Jim Wilson wrote: Erik Hofman said: Jim Wilson wrote: Erik Hofman said: It's easy to do with a tiny Nasal script, which remains visible when a property (/sim/initialized ?) is false. Wouldn't that end up getting invoked every frame for the life of the program? This is just a one shot thing. No, a Nasal program is in essence a one-shot program. With some tricks it is possible to get it running forever (during FlightGear's execution time).. Ah ok. Sounds good. How do I launch the script then? One method (and probably the easiest one) is to put the file in FlightGear/data/Nasal. It will then automatically be invoked at startup. Erik ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
Re: [Flightgear-devel] Loading scenery message
Erik Hofman said: > Jim Wilson wrote: > > Erik Hofman said: > > >>It's easy to do with a tiny Nasal script, which remains visible when a > >>property (/sim/initialized ?) is false. > > > > Wouldn't that end up getting invoked every frame for the life of the program? > > This is just a one shot thing. > > No, a Nasal program is in essence a one-shot program. With some tricks > it is possible to get it running forever (during FlightGear's execution > time).. > Ah ok. Sounds good. How do I launch the script then? Thanks, Jim ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
Re: [Flightgear-devel] Loading scenery message
Jim Wilson wrote: Erik Hofman said: It's easy to do with a tiny Nasal script, which remains visible when a property (/sim/initialized ?) is false. Wouldn't that end up getting invoked every frame for the life of the program? This is just a one shot thing. No, a Nasal program is in essence a one-shot program. With some tricks it is possible to get it running forever (during FlightGear's execution time).. Erik ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
Re: [Flightgear-devel] Loading scenery message
Erik Hofman said: > Jim Wilson wrote: > > I've got the FDMs waiting while the scenery loads on startup. Mid air starts > > are smooth again and even ground starts are a little nicer, especially if > > you've left the throttle on the joystick open full. The screen shows the > > scene as it always does, the aircraft just isn't moving. Someone mentioned > > putting up a "Loading Scenery" message while this is going on. What's the > > best way to do this? At the moment I'm not interested in doing a fuel gauge. > > Just a pop-up would suffice. > > It's easy to do with a tiny Nasal script, which remains visible when a > property (/sim/initialized ?) is false. > Wouldn't that end up getting invoked every frame for the life of the program? This is just a one shot thing. Best, Jim ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
Re: [Flightgear-devel] Loading scenery message
Jim Wilson wrote: I've got the FDMs waiting while the scenery loads on startup. Mid air starts are smooth again and even ground starts are a little nicer, especially if you've left the throttle on the joystick open full. The screen shows the scene as it always does, the aircraft just isn't moving. Someone mentioned putting up a "Loading Scenery" message while this is going on. What's the best way to do this? At the moment I'm not interested in doing a fuel gauge. Just a pop-up would suffice. It's easy to do with a tiny Nasal script, which remains visible when a property (/sim/initialized ?) is false. Erik ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel