Fire Training Control Script
Script made to control fires for the Fire training facility & Fleet services Sandy Shores
Step 1 - Installation
To get started, you'll need to download your new resource previously purchased from our store
. For that, you must login with your account on keymaster
and look for the Asset Grants section, there we will find our script.
Step 2 - Configuration
Config.MaxChildren
Defines how many “child fires” can branch off from a single parent fire.
Example: 1
→ each fire can only spawn one additional flame nearby.
You can increase this if you want fires to spread more aggressively.
Config.IsGasFire
Controls whether the fire behaves like a gas-fed fire or a normal one.
Example: true
→ hotter, longer-burning flames (harder to extinguish).
Example: false
→ standard fire behavior.
Use true
when simulating propane/natural gas leaks.
Config.NoFireDamage
Determines if fires cause damage to players or not.
Example: true
→ fire visuals appear but do not injure players.
Example: false
→ players take damage when standing in flames.
Good for training or RP scenarios where you want fire without injury.
Config.RoomZones
Defines polygon-shaped zones where fires can spawn inside rooms or buildings.
Each room entry includes:
name → readable name of the room (e.g., “Room 1”).
points → 2D polygon points (vector2) marking the area on the map.
minZ / maxZ → height range (Z axis) for the zone.
debug → set to
true
to visualize the polygon for testing.count → number of fire points that can appear inside the zone.
Example:
room1 = {
name = "Room 1",
points = {
vector2(202.54988098145, 2792.3618164062),
vector2(189.75616455078, 2790.15625),
vector2(190.75997924805, 2784.1967773438),
vector2(203.53883361816, 2786.4020996094),
},
minZ = 43.5,
maxZ = 47.8,
debug = false,
count = 55,
},
Last updated