0% found this document useful (0 votes)
16 views3 pages

Vehicle Trailer

This document defines a vehicle module for a trailer in the game. It includes specifications for the trailer such as its mesh, scale, damage textures, physics properties, and defines areas like the truck bed and tires. It also defines wheel and suspension parts for the front left and right sides. The trailer can be attached to other vehicles.

Uploaded by

s.sladkoexka
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views3 pages

Vehicle Trailer

This document defines a vehicle module for a trailer in the game. It includes specifications for the trailer such as its mesh, scale, damage textures, physics properties, and defines areas like the truck bed and tires. It also defines wheel and suspension parts for the front left and right sides. The trailer can be attached to other vehicles.

Uploaded by

s.sladkoexka
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

module Base

{
model Vehicles_Trailer
{
mesh = vehicles/vehicle_utilitytrailer,
shader = vehicle_norandom_multiuv,
invertX = FALSE,
scale = 0.01,
}
vehicle Trailer
{
mechanicType = 1,
offRoadEfficiency = 0.8,
engineRepairLevel = 4,
playerDamageProtection = 0.8,

model
{
file = Vehicles_Trailer,
scale = 1.8200,
offset = 0.0000 0.1868 0.1374,
}

spawnOffsetY = 0.19392952,

skin
{
texture = Vehicles/vehicle_utilitytrailershell,
}

textureMask = Vehicles/vehicle_utilitytrailer_mask,
textureLights = Vehicles/vehicle_utilitytrailer_lights,
textureDamage1Overlay = Vehicles/Veh_Blood_Mask,
textureDamage2Overlay = Vehicles/Veh_Blood_Hvy,
textureDamage1Shell = Vehicles/Veh_Damage1,
textureDamage2Shell = Vehicles/Veh_Damage2,
textureRust = Vehicles/Veh_Rust,
extents = 0.6264 0.2198 0.9341,
mass = 200,
physicsChassisShape = 0.6264 0.2198 0.9341,
centerOfMassOffset = 0.0000 0.2198 -0.1813,
engineForce = 3600,
engineQuality = 60,
engineLoudness = 55,
maxSpeed = 70f,
brakingForce = 1,
stoppingMovementForce = 2.0f,
rollInfluence = 1.0f,
steeringIncrement = 0.03,
steeringClamp = 0.3,
suspensionStiffness = 40,
suspensionCompression = 2.83,
suspensionDamping = 2.88,
maxSuspensionTravelCm = 10,
suspensionRestLength = 0.2,
wheelFriction = 4.0f,
frontEndHealth = 150,
rearEndHealth = 150,
seats = 2,
physics box
{
offset = 0.1099 0.0989 0.5385,
extents = 0.0549 0.0549 0.5385,
rotate = 0.0000 -20.0000 0.0000,
}

physics box
{
offset = -0.1099 0.0989 0.5385,
extents = 0.0549 0.0549 0.5385,
rotate = 0.0000 20.0000 0.0000,
}

physics sphere
{
offset = 0.0000 0.0989 0.7582,
radius = 0.0549,
}

wheel FrontLeft
{
front = true,
offset = 0.3736 -0.1868 -0.3022,
radius = 0.15f,
width = 0.2f,
}

wheel FrontRight
{
front = true,
offset = -0.3736 -0.1868 -0.3022,
radius = 0.15f,
width = 0.2f,
}

area TruckBed
{
xywh = 0.0000 -0.3132 1.5055 1.7143,
}

area TireFrontLeft
{
xywh = 0.5330 -0.1703 0.4396 0.4725,
}

area TireFrontRight
{
xywh = -0.5330 -0.1703 0.4396 0.4725,
}

template = Trunk/part/TrailerTrunk,
template = Tire/part/TireFrontLeft,
template = Tire/part/TireFrontRight,

part TireFrontLeft
{
table install
{
requireInstalled = SuspensionFrontLeft,
}
}

part TireFrontRight
{
table install
{
requireInstalled = SuspensionFrontRight,
}
}

template = Suspension/part/SuspensionFrontLeft,
template = Suspension/part/SuspensionFrontRight,

attachment trailer
{
offset = 0.0000 -0.0879 0.7747,
rotate = 0.0000 0.0000 0.0000,
canAttach = trailer,
updateconstraint = false,
}
}
}

You might also like