🚦HRRealisticTraffic
standalone script, enhancing city life with dynamic traffic changing according to the different times of the day
Last updated
standalone script, enhancing city life with dynamic traffic changing according to the different times of the day
Last updated
local config = {}
config.enableSpecialTraffic = {
boats = true,
trains = true,
garbageTrucks = true
}
config.traffic = {
dayTime = {
diapason = vector2(6, 15), -- The first integer is the begin of the diapason (ingame clock hours) and the second is the end of the diapason
trafficCoefficient = { -- Each value is in percentage (100% is the maximum)
peds = 100,
vehicles = 100
}
},
nightTime = {
diapason = vector2(16, 5), -- The first integer is the begin of the diapason (ingame clock hours) and the second is the end of the diapason
trafficCoefficient = { -- Each value is in percentage (100% is the maximum)
peds = 100,
vehicles = 100
}
}
}