This repository was archived by the owner on Mar 31, 2026. It is now read-only.
Repository navigation
Expand file tree
/
Copy pathconfig.lua
More file actions
109 lines (97 loc) · 3.45 KB
/
Copy pathconfig.lua
File metadata and controls
109 lines (97 loc) · 3.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
Config = {}
-- Debug mode
Config.Debug = false -- Toggle debug mode
-- Dynamic Traffic Management
Config.DynamicTrafficManagement = true
Config.MaxTrafficDensity = 0.5 -- Base density when no players are online
Config.MinTrafficDensity = 0.1 -- Minimum density when maximum players are online
Config.MaxPlayers = 32 -- Maximum number of players expected on the server
Config.TrafficAmount = 100
Config.PedestrianAmount = 100
Config.ParkedAmount = 100
Config.EnableBoats = true
Config.EnableTrains = true
Config.EnableGarbageTrucks = true
-- Automatic Seatbelts
Config.AutoSeatbeltOnEntry = true
-- Manual Seatbelts
Config.SeatbeltKey = 303 -- U key (changeable)
-- Speed Limiter
Config.SpeedLimiterEnabled = true
Config.GlobalSpeedLimit = 120.0 -- Speed in km/h
Config.SpeedZones = {
{ coords = vector3(215.0, -810.0, 30.0), radius = 50.0, speed = 50.0 }, -- Example zone
{ coords = vector3(-500.0, -200.0, 35.0), radius = 100.0, speed = 80.0 } -- Another example zone
}
-- NPC Driving Style
Config.MentalState = {
DrivingStyle = 786603 -- Default style; can be changed
}
-- Disable vehicle weapons
Config.DisableVehicleWeapons = true
-- Enable or disable specific dispatch services
Config.DispatchServices = {
PoliceAutomobile = true,
PoliceHelicopter = true,
FireDepartment = true,
SwatAutomobile = true,
AmbulanceDepartment = true,
PoliceRiders = true,
PoliceVehicleRequest = true,
PoliceRoadBlock = true,
PoliceAutomobileWaitPulledOver = true,
PoliceAutomobileWaitCruising = true,
Gangs = true,
SwatHelicopter = true,
PoliceBoat = true,
ArmyVehicle = true,
BikerBackup = true
}
-- Realistic Vehicle Damage System
Config.DamageSystem = {
enabled = true, -- Toggle entire damage system
deformationMultiplier = 2.0, -- increased deformation damage
collisionDamageExponent = 1.5, -- increased collision damage
engineDamageExponent = 2.0, -- increased engine damage
cascadingFailureSpeedFactor = 15.0, -- increased cascading failure speed
degradingFailureSpeedFactor = 3.0, -- increased degrading failure speed
degradingFailureThreshold = 500.0, -- Threshold for degrading failure
cascadingFailureThreshold = 250.0, -- Threshold for cascading failure
engineSafeGuard = 50.0, -- Safeguard value for engine
compatibilityMode = false,
engineExplosion = {
enabled = true,
threshold = 100.0 -- Threshold for engine explosion
},
wheelFallOff = {
enabled = true,
bodyHealthThreshold = 900.0, -- Threshold for body health below which wheels may fall off
probability = 0.25 -- Probability that a wheel will fall off when the threshold is met
},
flatTire = {
enabled = true,
probability = 0.0001 -- Probability of random flat tires
},
collisionDamage = {
enabled = true,
multiplier = 2.0 -- Further increased collision damage multiplier
},
deformationDamage = {
enabled = true,
multiplier = 2.0 -- Further increased deformation damage multiplier
},
engineDamage = {
enabled = true,
multiplier = 2.0 -- Further increased engine damage multiplier
},
bodyDamage = {
enabled = true,
multiplier = 2.0 -- Further increased body damage multiplier
},
petrolTankDamage = {
enabled = true,
multiplier = 2.0 -- Further increased petrol tank damage multiplier
},
}
-- Allow players to steal NPC cars
Config.AllowStealNPCCars = true