Page cover

Fire Training Control Script

Script made to control fires for the Fire training facility & Fleet services Sandy Shoresarrow-up-right

Step 1 - Installation

To get started, you'll need to download your new resource previously purchased from our storearrow-up-right. For that, you must login with your account on keymasterarrow-up-right 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:

Last updated