Fire (Special Effect)
aubergine10 edited this page Oct 20, 2015
·
2 revisions
##Overview
Fire
... does exactly what it says on the tin!
##Modding
The following modding options are available...
BEGIN Object
-
Name
Fire
-
MoveSpeedFactor
0.250000
-
Toughness
10.0000
-
MaxStackSize
-1
-
RenderDepth
3
-
Sprite
Fire
END
-- create fire
local flames = Object.Spawn( 'Fire', this.Pos.x, this.Pos.y )
-- some time later
flames.Delete() -- remove fire
##Notes
Fire is created in the following ways:
-
Object.Spawn()
via/scripts
(see example code above) -
Prisoner
setting fire to stuff with aLighter
- Water reaching an
ExplodeWhenWet
object - Events:
PowerStation
can explode
This is the same fire as used in base game, so it works exactly the same way:
-
Fire
will spread (affected byMadeOf
setting of surrounding objects) - Entities will avoid the fire, workers won't be able to do jobs near it ('too dangerous')
-
Walls and floors will become [
BurntWall
](BurntWall (Material)) and [BurntFloor
](BurntFloor (Material)) after prolonged exposure to fire -
Fire
can be extinguished with water fromHose
,Sprinkler
, etc.- If not extinguished,
Fire
eventually burns itself out and spawns [SmokeGenerator
](SmokeGenerator (Special Effect)) objects
- If not extinguished,
##See Also
- [Special Effects](Special Effects):
- [
SmokeGenerator
](SmokeGenerator (Special Effect))
- [
-
Statics:
- [
Sprinkler
](Sprinkler (Static))
- [
-
Callouts:
- [
FireEngine
](FireEngine (Callout))
- [
-
Vehicles:
- [
FireEngine
](FireEngine (Vehicle))
- [
-
Entities:
- [
Fireman
](Fireman (Entity))
- [
-
Equipments:
- [
Hose
](Hose (Equipment))
- [
-
Materials:
- [
BurntFloor
](BurntFloor (Material)) - [
BurntWall
](BurntWall (Material))
- [
-
materials.txt
:
^ Open "Pages" to Search
- Home
YourModFolder/
-
data/
materials.txt
-
Objects
- [Special Effects](Special Effects)
-
Objects
Scripting:
Object-based:
- [
Fire
](Fire (Special Effect)) - [
SmokeGenerator
](SmokeGenerator (Special Effect))
Script-based:
Other Finds:
- [
Collectable
](Collectable (Special Effect))⚠️