On Wed, 19 Mar 2008, Anders Gidenstam wrote:

> I have added (somewhat simplistic) support for water and fire retardant
> drops, but they are not visible on the ground yet. I'm planning to
> experiment with that next. I've also modified Gerard's beautiful Catalina
> to report the water impacts to the forest_fire module.
>
> Here is the latest version (temporary location, I expect to get my normal
> web server back in order during easter):

Hi all,

The wildfire module is now back at its normal location:

http://www.gidenstam.org/FlightGear/misc/WildFire/

The work has progressed, but mostly on internals - it is now possible 
to enable/disable the wildfire module at run time (this allows MP 
players to resynchronize the "shared" fire state by reverting the wildfire 
CA to the initial state without restarting) and it is possible to save the 
log of fire events for later recreation of the current fire state.

If the properties
/sim/wildfire/save-on-exit
and
/sim/wildfire/restore-on-startup
are both true (1) the fire state is persistent, subject to some 
constraints, like e.g. fires on terrain that hasn't been loaded cannot 
spread (and will die). Also note that the time needed to recreate the 
state on startup is proportional to the time span covered by the log. 
(There is no history "compaction" yet.) I'll add saving/loading of the CA 
state later, which will provide persistence at a lower (computational) 
cost.

For now it is probably better to only save particularly interesting event 
logs. :)
Calling the Nasal function
wild_fire.CAFire.save_event_log("file name");
(e.g. from the Nasal debug console) does that. The file is stored in
~/.fgfs/Wildfire/ .


Cheers,

Anders
-- 
---------------------------------------------------------------------------
Anders Gidenstam
mail: anders(at)gidenstam.org
WWW: http://www.gidenstam.org/FlightGear/

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to