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.
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.
This defines if you are using our HoseLS resource and wish to integrate it in with the resource. This will allow you to use the weapons.water in the weapons section later on and also when configuring fire types and their responsiveness to weapons.
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.
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 smay seem confusing, which is why we recommend leaving them as they are.
This determines if you wish to use the /foam integration with HoseLS. You must be using HoseLS for this to work.
Enabling this allows you to use the weapons.foam when setting up fire types and also configuring the weapons in a further section.
We recommend using HoseLS and also the foam mode if you want the most realistic experience.
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.
Last updated