London Studios Documentation
Our StoreSupport PanelYouTube Channel
  • General
    • Documentation
    • Resource Support
    • Downloading Resources
    • Installing Resources
    • Resource Transfers
    • Common Errors
    • Translating Resources
    • Inventory Icons
    • Resource Ideas
    • Integration Requests
  • Vehicles
    • American Rearmount Ladder
      • Setting up
      • Anticheat Issues
    • Advanced Recovery Truck
      • Setting up
      • Anticheat Issues
    • SWAT Vehicle
      • Setting up
      • Anticheat Issues
    • Police Water Cannon
      • Setting up
      • Anticheat Issues
    • British Ladder Truck
      • Setting up
      • Anticheat Issues
    • Tiller Ladder Truck
      • Setting up
      • Anticheat Issues
    • Scissor Lift
      • Setting up
      • Anticheat Issues
    • Car Transporter
      • Setting up
      • Anticheat Issues
    • Water Carrier & Command Unit
      • Setting up
      • Anticheat Issues
    • Water Spray Unit
      • Setting up
      • Anticheat Issues
    • Snow Loader Pack
      • Setting up
      • Anticheat Issues
  • Resources
    • Smart Tyre
      • Using the resource
      • Configuring the resource
      • Permissions, Notifications & Items
      • Item Support
    • Bike Hire
      • Using the resource
      • Configuring the resource
      • Configuring locations
    • Bomb Disposal Robot (EOD) v2
      • Using the resource
      • Configuring the resource
      • Permissions, Notifications & Items
      • Item Support
    • Car Sale Sign
      • Installation Video
      • Using the resource
      • Configuring the resource
      • Configuring permissions
      • Item Support
    • Congestion Charge
      • Configuring the resource
      • Modifying Zones & Adding Cameras
    • Custom Vinewood Sign
      • Installation Video
      • Sign Setup
    • Decontamination Tent
      • Using the resource
      • Configuring the resource
      • OX_Inventory Integration
      • Other Integrations
    • Directional Spikes
      • Using the resource
      • Configuring the resource
    • Emergency Call Points
      • Using the resource
      • Configuring the resource
    • Fire Supply Line [v2]
      • Using the resource
      • Configuring Fire Supply Line
    • Fire Tools [v2]
      • Using the resource
      • Configuration
      • Permissions, Notifications and Items
      • Item Support
    • Helicopter Rescue
      • Using the resource
      • Configuring the resource
      • Configuring the permissions
      • Configuring locations
    • Mobile Spike
      • Setting up vehicles
      • Misc Configuration Values
      • Permission Checks
      • OX_Inventory Integration
      • Other Integrations
    • Police Grappler
      • Setting up vehicles
      • Misc Configuration Values
      • Permissions, Notifications & Items
      • Item Support
    • Police Shields
      • Using the resource
      • Permissions, Notifications & Items
      • Item Support
    • Rope Rescue Tripod & Basket
      • Using the resource
      • Configuring the resource
      • OX_Inventory Integration
      • Other Integrations
    • Rescue Cushion
      • Using the resource
      • Permissions, Notifications & Items
      • Other Integrations
    • Smart Speed Signs
      • Configuring the resource
      • Adding new locations
    • Smart Airbags
      • Using this resource
      • Permissions & Notifications
    • Smart Bollards
      • Installation Video
      • Configuring the resource
      • Setting up a new set
    • Smart Clamp
      • Permissions, Notifications and Items
      • Item Support
      • Exports and Events
    • Smart Defib
      • Using the resource
      • Defib locations
      • Framework support
      • Setting up blips
      • Chance of success
      • Sound settings
      • Keybind configuration
      • Automatic reset
      • Custom Death Scripts
      • OX_Inventory Integration
      • Other Integrations
    • Smart Drone
      • Using the resource
      • Permission Checks, Notifications & Items
      • Keybinds
      • Item Support
      • Other Integrations
    • Smart Fires
      • Installation Video
      • Putting out fires
      • Fire Alerts
      • Remove Fires Automatically
      • Custom Notifications
      • Automatic Fires
        • Enabling automatic fires
        • Job / Permission Check
        • Adding locations
        • Automatic Fire Chances
        • Other automatic fire settings
      • Commands
      • Command permission checks
      • Editing fire types
      • Editing smoke types
      • Misc configuration values
      • Setting up weapons
      • Area of patrol settings
      • Clock on system
      • Lighter Item & Command
      • Server exports and events
      • Discord logging
      • Society Payments
    • Smart Hose [v2]
      • Using the resource
      • Configuring Smart Hose
    • Smart Matrix
      • Install & Configuration Video
      • OX_Inventory Integration
      • Other Integrations
    • Smart Motorways
      • Using the resource
      • Configuring the resource
    • Smart Signs
      • Configuring the resource
      • Configuring the permissions
    • Smart Speed Cameras
      • Configuring the resource
      • Adding new cameras
    • Smart Taser
      • Using the resource
      • Configuration
      • OX_Inventory Integration
      • Other Integrations
    • Smart Vehicle
      • Compatible Vehicles
      • Free Developer Copy
      • Permission Checks
      • Using a Smart Vehicle
      • Informations for Developers
      • Vehicle Control Menus
    • Police Tracker
      • Setting up vehicles
      • Resource Configuration & Usage
      • Item Support
    • Throw Bag
      • Resource Usage
      • OX_Inventory Integration
      • Other Integrations
    • Vehicle Rescue
      • Using the Resource
      • Permissions, Notifications & Items
      • Copy of Item Support
    • Water Monitor
      • Using the resource
      • Copy of Permissions, Notifications & Items
      • Copy of Item Support
    • Weapon Lanyard
      • Setting up weapons
      • Using the resource
      • Setting up clothing / EUP
Powered by GitBook
On this page

Was this helpful?

  1. Resources
  2. Smart Fires

Misc configuration values

At the top of the config.lua file, you'll see some configuration values that just don't fit into another section, we describe them as misc configuration values.

We'll explain what these are for and then you'll be able to change them should you wish to do so.

Navigate to the top of the config.lua file and find the main = { section.

fireSpawnDistance = 200.0, -- This is the distance the player must be within to a fire to spawn in (for performance)
smokeSpawnDistance = 500.0,-- This is the distance the player must be within to smoke to spawn in (for performance)

These are the distances that both fires and smoke will spawn in at for performance. For example, if you are on the other side of the map to a fire, the script shouldn't spawn that in and would be a badly performing resource if it did so.

We recommend having the smoke spawn distance greater than the fire spawn distance, as smoke can often be seen further away as the firefighters or civilians approach a scene.

overallFireDifficulty = 200, -- 200 is the default value, this can be increased if needed

The overallFireDifficulty value is a master value that controls the overall difficulty level for all fire types, ontop of the individual difficulty level for each set fire type. For example, you may find that fires are extinguishing too quickly for your server. If this is the case, just increase the overallFireDifficulty value.

distanceToSpawnFiresInFront = 2, -- Distance to spawn fires in front (to avoid player being damaged initially)

This controls the distance a fire will spawn in front of a player when using the /startfire command to prevent them being immediately damaged by the fire starting.

maxWidthOfFiresMultipler = 1.2, -- Max width of fires. E.g, a 15 flame fire would have a maximum width of 22.5m (rounded to nearest integer)
maximumFinalWidth = 20.0, -- This is the maximum width, incase the multiplier leads the maximum to be too big

We would recommend leaving these values as they are now, but ultimately they preventsfires becoming too big and out of hand if a large multi flame fire is created. This prevents the flames being too spread out. As seen in the explanation, a multiplier of 1.2 would have a 15 flame fire having a maximum width of 22.5m (rounded to the nearest whole number).

A maximum final width value prevents a fire becoming too big if a significant amount of flames (for example 30) leads to a width too unrealistic. This would limit the max width of the fire and compress the flames together.

These configuration value may seem confusing, which is why we recommend leaving them as they are.

minimumSizeToExtinguish = 0.5, -- This is the minimum size a fire can be whilst being put out before the script removes it completely

This value determines how small a fire can be when being actively extinguished before the script determines it to be fully out and will then subsequently remove it and spawn in smoke if configured to do so.

We have configured a default value of 0.5 however this may be too small for your server and you therefore may wish to increase it, especially if a fire is hidden inside an object such as a bin or vehicle where firefighters may not see such a small fire is still present.

PreviousEditing smoke typesNextSetting up weapons

Last updated 5 months ago

Was this helpful?