update
This commit is contained in:
@@ -9,10 +9,10 @@ local Vehicle, POWERTRAIN_COMPONENT = unpack(require('/koptilnya/engine_remaster
|
||||
local WheelConfig = {
|
||||
BrakePower = 800,
|
||||
CustomWheel = {},
|
||||
Offset = 180,
|
||||
Model = 'models/sprops/trans/wheel_d/t_wheel25.mdl'
|
||||
Model = 'models/sprops/trans/wheel_d/t_wheel25.mdl',
|
||||
RotationAxle = Angle(1, 0, 0)
|
||||
}
|
||||
local FrontWheelsConfig = table.merge(table.copy(WheelConfig), { SteerLock = 10 })
|
||||
local FrontWheelsConfig = table.merge(table.copy(WheelConfig), { SteerLock = 35 })
|
||||
local RearWheelsConfig = table.merge(table.copy(WheelConfig), { HandbrakePower = 2000 })
|
||||
|
||||
Vehicle:new({
|
||||
@@ -75,22 +75,22 @@ Vehicle:new({
|
||||
Name = 'WheelFL',
|
||||
Input = 'Axle1',
|
||||
Type = POWERTRAIN_COMPONENT.Wheel,
|
||||
Config = FrontWheelsConfig
|
||||
Config = table.merge(table.copy(FrontWheelsConfig), { Offset = 0 })
|
||||
},
|
||||
{
|
||||
Name = 'WheelFR',
|
||||
Input = 'Axle1',
|
||||
Type = POWERTRAIN_COMPONENT.Wheel,
|
||||
Config = FrontWheelsConfig
|
||||
Config = table.merge(table.copy(FrontWheelsConfig), { Offset = 180 })
|
||||
},
|
||||
{
|
||||
Name = 'WheelRL',
|
||||
Type = POWERTRAIN_COMPONENT.Wheel,
|
||||
Config = RearWheelsConfig
|
||||
Config = table.merge(table.copy(RearWheelsConfig), { Offset = 0 })
|
||||
},
|
||||
{
|
||||
Name = 'WheelRR',
|
||||
Type = POWERTRAIN_COMPONENT.Wheel,
|
||||
Config = RearWheelsConfig
|
||||
Config = table.merge(table.copy(RearWheelsConfig), { Offset = 180 })
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user