Pressure settings
The pressure of foam/water has various settings that are easily configured. To begin, navigate to the main = {
section of the config.lua file and then to the pressure = {
section.
Setting enabled to false will disable pressure adjustments for the hose or foam and they will be permanently on the default setting which you can set below. By default, pressure mode is enabled as this is a key element of Smart Hose.
These settings allow you to adjust the keys that are pressed for increasing and decreasing the pressure. A full list of controls can be found here. The first number is the control type which can be seen on the linked guide and the second number is the control number. We recommend using CTRL+F to search for your desired control on the list. By default, increasing pressure is set to arrow up and decreasing pressure is set to arrow down.
The changeBy setting determines the amount that the pressure will change when the increase or decrease key is pressed. This setting allows you to make the pressure easily changed quickly by increasing the number, or you could make it a more slower process by decreasing the number. By default, we've set this at 0.01 and after testing the resource, we believe this to be good for most communities.
These settings allow you to adjust the default hose and foam pressures. We've set these at 0.7 and 0.6 by default, a reasonable sized particle.
These settings allow you to adjust the maximum and minimum pressures for both the hose and foam modes. This is to prevent an unrealistically sized pressure which leads to an unrealistic particle, affecting roleplay on the scene. Alternatively, a pressure that is too small just wouldn't be possible and would essentially mean the hose is turned off, which is why we've set the minimum value at 0.05 by default.
Last updated