Settings File
The Settings file in LSPDFR 0.4 is 'lspdfr.ini' and can be found in the LSPDFR folder of your GTA V installation. The LSPDFR Settings File (lspdfr.ini) can be opened in any text editor (e.g. notepad) where you can edit existing values and add new settings from the list below too. If you change anything in the lspdfr.ini file, you will need to reload LSPDFR for the settings changes to be applied.
Console Variables
LSPD First Response 0.4 features a new settings and console variable system. Like in previous versions, all settings can be set using the lspdfr.ini file in the lspdfr subfolder. However, they can now also manipulated from the game using the game console for quick testing. Typing in "SetVar" followed by the name of the variable and its value will temporarily - for the session only - change its values. Note that for a few options this will not have any effect as they are only evaluated when the mod first loads.
Entering "SetVar Ambient.DisablePlayerFlashlightOverride true" into the Console would disable the LSPDFR flashlight feature, for example.
Settings
Below you can find the most common settings for LSPDFR and what they do. The Default Value does not indicate the value in the release version of lspdfr.ini but the value LSPDFR uses if no value is specified.
| Settings name | Type | Default Value | Description |
|---|---|---|---|
| Main.PreloadAllModels | Boolean | False |
Loads all models that will be used by the mod at startup. This reduces loading times and possible micro-stuttering during gameplay but will increase memory usage. If you use many vehicle mods and encounter texture loss, turning this off might help freeing memory. |
|
Main.DisableGameBlipHiding Added in 0.4.2 |
Boolean | False |
If set to true, stops LSPDFR from hiding story-mode related map blips. |
|
Main.DisableMultiplayerMap Added in 0.4.3 |
Boolean | False |
If set to true, LSPDFR will not load the multiplayer map. Use with caution as this prevents access to many parts of the police station interior as well as the player house. |
| Callouts.DisableBigRadar | Boolean | False |
The game radar map is enlarged while a callout is being displayed. |
| Callouts.Multiplier | Integer | 250 |
Likelihood of a callout to happen. The higher, the more likely. Setting this to zero disables callouts. |
| WorldEvents.IntervalMultiplier | Float | 1.0f |
Likelihood of a world event to happen. The higher, the more likely. Setting this to zero disables world events. |
| WorldEvents.MaxNumberOfEvents | Integer | 1 | Maximum number of world events that can run at the same time. |
| Holdup.TimeMultiplier | Float | 1.0f |
Multiplier for the response time for the 'Holdup' callout. A higher multiplier gives you more time, where as a lower multiplier gives you less time. |
| Ambient.DisableAmbientGameCopSpawnBlock | Boolean | False |
LSPDFR disables ambient cops to be created by the game in favor of our own spawning system. If you are using a popschedule based mod to spawn police units, turn this option on to disable the block. |
| Ambient.DisablePlayerFlashlightOverride | Boolean | False |
LSPDFR replaces the default game flashlight when equipped. Setting this option to true disables that. |
|
Ambient.DisablePlayerHolsteringActions Added in 0.4.6 |
Boolean | False |
LSPDFR 0.4.6 adds new holstering/drawing animations for pistols. Setting this option to true disables these. |
|
Ambient.DisableSitAnywhere Added in 0.4.9 |
Boolean | False |
LSPDFR 0.4.9 adds the ability to sit down on most chairs and benches. Setting this option to true disables the feature. |
| AmbientSpawn.SpawnFrequency | Integer | 5000 |
Specifies the frequency in milliseconds for attempting to spawn ambient units in the area. |
| AmbientSpawn.MaxCopsInArea | Integer | 5 |
Specifies the maximum number of ambient cops in an area at any time. Setting this to zero disables ambient spawning. |
|
AmbientSpawn.MaxSpawnedCopsInArea Added in 0.4.2 |
Integer | 2 |
Specifies the maximum number of ambient cops created by LSPDFR in an area at any time. Setting this to zero disables ambient spawning. |
|
Ambient.DisableEscapedSuspectEncounter Added in 0.4.7 |
Boolean | False |
Specifies whether encountering previous escaped suspects will |
|
Ambient.EscapedSuspectEncounterInterval Added in 0.4.7 |
Integer | 45000 |
Time in milliseconds to consider spawning an escaped suspect. |
| BackupManager.LastBackupRequestResetInterval | Integer | 30000 |
Time in milliseconds after a backup request is considered a new request. A new request will not be evenly distributed with prior requests and will usually spawn as close as possible. |
| KeyHandler.AlwaysDisplayKeyboardKeys | Boolean | False |
Specifies whether helpboxes in the game indicating what keys to use will always display the keyboard controls. |
| Networking.DisableServerCommunication | Boolean | False |
Specifies whether any kind of LSPDFR server communication should be disabled. |
| Networking.DisableDiscordRichPresence | Boolean | False |
Specifies whether Discord Rich Presence for LSPDFR should be disabled. |
|
Frisking.DisableCovid19Items
Added in 0.4.7 |
Boolean | True |
Specifies whether COVID-19 outbreak relevant items will be found |
|
TrafficStop.ScenarioMult
Added in 0.4.8 |
Float | 1.0 |
Sets the likelihood for random scenarios (i.e. suspects resisting) to happen during a traffic stop. |
Chase settings
| Settings name | Type | Default Value | Description |
|---|---|---|---|
| Chase.CopsCanCommandeerVehicles | Boolean | True | Specifies whether cops can commandeer civilian vehicles during chases. |
| Chase.DisableCameraFocus | Boolean | False |
Specifies whether the game camera focusing on suspects during chases should be disabled. |
| Chase.DisableTrafficDensityAdjustments | Boolean | False |
Specifies whether adjusting traffic density during chases should be disabled. |
| Chase.ExhaustionInterval | Integer | 25000 |
Specifies the time in milliseconds after which a suspect can become exhausted. |
| Chase.ExhaustionDuration | Integer | 30000 |
Specifies the duration in milliseconds a suspect can be exhausted. |
| Chase.MaxUnitsPerSuspect | Integer | 10 |
Sets the maximum amount of cops that can be assigned to an individual suspect during a chase. |
| Chase.MaxUnits | Integer | 20 |
Sets the overall maximum amount of cops that can be assigned to a chase. |
| Chase.SuspectEscapeTime | Integer | 90000 |
Sets the time after which a suspect is considered to have escaped a chase. |
| Chase.TrafficDensityBudget | Integer | 2 |
Sets the vehicle budget during chases. |
| Chase.TrafficDensityMultiplier | Float | 0.5 |
Sets the traffic density multiplier during chases. |
|
Chase.AmbientResponseOfficersAssignedThreshold Added in 0.4.2 |
Integer | 2 |
Specifies the number of cops assigned to a suspect that are necessary before nearby ambient cops are no longer added to the chase. Higher numbers will result in more ambient cops being able to respond. |
|
Chase.AmbientResponseOfficersAssignedInAreaThreshold Added in 0.4.2 |
Integer | 2 |
Specifies the number of cops in the area assigned to a suspect that are necessary before nearby ambient cops are no longer added to the chase. Higher numbers will result in more ambient cops being able to respond. |
Performance Settings
| Settings name | Type | Default Value | Description |
|---|---|---|---|
| AmbientSpawn.DisableRandomUnits | Boolean | False |
Specifies whether ambient units can spawn. It is recommended to enable this setting when encountering texture loss. |
| Chase.DisableAmbientAI | Boolean | False |
Specifies whether ambient vehicle AI is affected during chases. It is recommended to enable this setting when encountering performance issues during chases. |
| PoliceStation.DisableAmbientSpawn | Boolean | False |
Specifies whether ambient units can spawn and populate a police station. It is recommended to enable this setting when encountering texture loss. |
Developer Settings
| Settings name | Type | Default Value | Description |
|---|---|---|---|
| Main.DisableAmbientScriptHooks | Boolean | False |
RAGE Plugin Hook limits the number of native addresses that can be resolved at runtime. LSPDFR makes use of this feature on every load resulting in a crash after reloading a few times (usually around 20-25). During plugin development it is hence recommended setting this to true. |
Recommended Comments