Configuration
SA uses convars for config values. For information on how to correctly install the config.cfg file, see here.
Value List
Values Explained
Language
ic_sa_language
This value is the short code for the language you'd like to use.
You can check the list of available language by viewing this page.
If your language has not been translated yet, feel free to check out our Translation program, where you get rewarded for translating resources!
The default value is en-us for English.
Kick Cheaters
ic_sa_kickCheaters
If this value is true, the resource will kick any players it detects as "cheaters". Cheaters are determined by events sent to the server, and actions performed. False-positive as possible, but unlikely.
Regardless of this value, the resource will log events in the server console whenever it believes it has found a cheater.
Seconds Till Doors Close
ic_sa_secondsTillDoorsClose
This must be a whole number, more than or equal to -1. Suggested value range: 140 - 160.
This is the number of seconds after an Alert is activated, that any doors that were opened are automatically closed.
If value is -1, doors will stay open until manually closed.
Seconds Till Lights Reset
ic_sa_secondsTillLightsReset
This must be a whole number, more than 0. Suggested value range: 125 - 150.
This is the number of seconds after an Alert is activated, that Lights and Unit Indicators will reset.
Self-Closing Doors
ic_sa_closeDoorsOnDriveThrough
This value determines with doors should close once a vehicle has driven through them.
Close All Doors on Timeout
ic_sa_closeAllDoorsOnTimeout
This value determines if all open doors should close on an alert timeout, or only the doors opened via the alert.
For example, if Door One is opened manually, and Door Two opens as part of an alert.
When this value is true, on timeout both Door One and Door Two will close.
When this value is false, only Door Two is closed, Door One remains open.
Addon Traffic Lights Always Flash Yellow
ic_sa_addonTrafficLightAlwaysFlashYellow
When this value is true, instead of turning off entirely when not alerted, Addon Traffic Lights will continuously flash yellow.
Alert Tone Sounds
ic_sa_tones
These values define what tones can be played. Each entry contains "human-readable name", and a "file name".
The human-readable name can be anything, but the file name must be the name of the sound file including the file extension.
Audio files must be placed inside the ui/assets folder.
Tones can be any length and any audio file extension.
Tones can also not be tones, but re-recorded turnout messages; for example, one tone for each type of appliance.
The default value for this option is:
setr ic_sa_tones {
"Tone 1": "alert1.mp3",
"Tone 2": "alert2.mp3",
"Tone 3": "alert3.mp3"
}
NUI Volume
ic_sa_nuiVolume
This value is used to determine how loud the in-game NUI should be.
Must be a whole number between 1 and 10, where 10 is the loudest.
Default value is 5.
Manual Interactions (Target/Third-Eye Resource Support)
ic_sa_manualInteractions
If this value is true, "Press E ..." interaction pop-ups and keybindings will be disabled, and instead events will be fired that can be used in editable/client/targeting.lua; to enable support for OxTarget, QBTarget, or any other target/third-eye resource, changes will need to be made in this file.
For OxTarget or QBTarget, simply uncomment the lines under the sections named either OxTarget or QBTarget.
For any other target/third-eye resource, use the provided event handlers and variables to add your own exports/events. Reach out in Discord if you need help adding other resources.
The events in editable/client/targeting.lua will not fire unless ic_sa_manualInteractions is true.
Door Speed
ic_sa_slowerDoors (replaces ic_sa_slowerDoors)
This value determines the global default opening/closing speed for doors. The default value is 0.15, which is slow.
Valid values are between 0.1 and 1, where 0.1 is very slow and 1 is very fast.
To change the speed of a specific door, see here.