Simulator rewrite
#15
Finally I'm getting some results! I wasn't able to tweak the parameters of the fire simulator to any realistic levels; but at last I seem to have hit the sweet spot with the algorithm.

The fire simulator currently has these parameters:
BurnStepTimeFuel - how long it takes for a fueled fire to step into next stage (there are 16 stages to a fire, by its metadata)
BurnStepTimeNonFuel - how long it takes for a non-fueled fire to step into next stage
Flammability - the chance of neighbors catching on fire
ReplaceFuelChance - the chance that a fuel block, upon being consumed will be replaced by a fire block instead of an air block

Setting high flammability has produced some forest fires that my pyromaniac inner devil danced around:
[Image: hugefire.png]
(This is about 10 seconds after starting the fire Smile )

Setting low flammability provided the vanilla effect of fire dying out rather than spreading. It's good for the server, but not so good at reality.

I'll play some more to establish a good set of default values, then commit the code. And I still need to check if the fuel replacement code works and how that works out.
Reply
Thanks given by:


Messages In This Thread
Simulator rewrite - by xoft - 11-09-2012, 07:05 AM
RE: Simulator rewrite - by Taugeshtu - 11-09-2012, 07:09 AM
RE: Simulator rewrite - by xoft - 11-09-2012, 07:41 AM
RE: Simulator rewrite - by xoft - 11-11-2012, 10:23 PM
RE: Simulator rewrite - by FakeTruth - 11-12-2012, 12:59 AM
RE: Simulator rewrite - by xoft - 11-12-2012, 01:04 AM
RE: Simulator rewrite - by NiLSPACE - 11-18-2012, 04:00 AM
RE: Simulator rewrite - by xoft - 11-18-2012, 04:41 AM
RE: Simulator rewrite - by xoft - 02-28-2013, 07:08 AM
RE: Simulator rewrite - by keyboard - 02-28-2013, 12:25 PM
RE: Simulator rewrite - by xoft - 02-28-2013, 05:50 PM
RE: Simulator rewrite - by xoft - 03-01-2013, 05:16 AM
RE: Simulator rewrite - by keyboard - 03-01-2013, 03:26 PM
RE: Simulator rewrite - by NiLSPACE - 03-01-2013, 05:49 AM
RE: Simulator rewrite - by xoft - 03-02-2013, 05:08 AM
RE: Simulator rewrite - by NiLSPACE - 03-02-2013, 05:29 AM
RE: Simulator rewrite - by xoft - 03-02-2013, 05:41 AM
RE: Simulator rewrite - by xoft - 03-03-2013, 01:49 AM
RE: Simulator rewrite - by xoft - 03-03-2013, 06:31 AM
RE: Simulator rewrite - by keyboard - 03-03-2013, 12:59 PM
RE: Simulator rewrite - by NiLSPACE - 03-03-2013, 08:22 AM
RE: Simulator rewrite - by xoft - 03-03-2013, 06:41 PM
RE: Simulator rewrite - by NiLSPACE - 03-03-2013, 08:31 PM
RE: Simulator rewrite - by xoft - 03-03-2013, 11:33 PM
RE: Simulator rewrite - by xoft - 03-04-2013, 01:40 AM
RE: Simulator rewrite - by NiLSPACE - 12-07-2013, 10:07 PM
RE: Simulator rewrite - by xoft - 12-07-2013, 10:21 PM
RE: Simulator rewrite - by tigerw - 12-08-2013, 08:32 AM
RE: Simulator rewrite - by NiLSPACE - 12-08-2013, 08:39 AM
RE: Simulator rewrite - by tigerw - 12-08-2013, 08:40 AM



Users browsing this thread: 1 Guest(s)