forked from Simnation/Main
ed
This commit is contained in:
parent
81e6fa1136
commit
187178b704
2 changed files with 8 additions and 3 deletions
|
@ -38,8 +38,9 @@ CreateThread(function()
|
||||||
SetPedDensityMultiplierThisFrame(0.5)
|
SetPedDensityMultiplierThisFrame(0.5)
|
||||||
SetScenarioPedDensityMultiplierThisFrame(0.5, 0.5)
|
SetScenarioPedDensityMultiplierThisFrame(0.5, 0.5)
|
||||||
|
|
||||||
-- Verkehrsdichte basierend auf Bewegung anpassen
|
-- Traffic density settings
|
||||||
local densityMultiplier = isPlayerMoving and 0.1 or 0.05
|
Config.movingTrafficDensity = 0.05 -- Reduced from 0.1 to 0.05 (5% density when moving)
|
||||||
|
Config.stationaryTrafficDensity = 0.05 -- Keeping the same for when stationary
|
||||||
|
|
||||||
SetVehicleDensityMultiplierThisFrame(densityMultiplier)
|
SetVehicleDensityMultiplierThisFrame(densityMultiplier)
|
||||||
SetRandomVehicleDensityMultiplierThisFrame(densityMultiplier)
|
SetRandomVehicleDensityMultiplierThisFrame(densityMultiplier)
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
Config = {}
|
Config = {}
|
||||||
|
|
||||||
|
-- Traffic density settings
|
||||||
|
Config.movingTrafficDensity = 0.05 -- Reduced from 0.1 to 0.05 (5% density when moving)
|
||||||
|
Config.stationaryTrafficDensity = 0.05 -- Keeping the same for when stationary
|
||||||
|
|
||||||
Config.vehModels = {
|
Config.vehModels = {
|
||||||
"ambulance",
|
"ambulance",
|
||||||
"police",
|
"police",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue