//Display name of the vehicle
name RB 2014 Wagon
//Unique Identifier
id rb_2014_pa

model rb_2014_pa.obj

//Possible textures of the vehicle
textures rb_2014_green.png

//Wheels. Wheel type -> Position coordinates -> whether it can rotate -> whether it's a left wheel
//back bogey
wheel train_wheel 1.09375 0.5 -6.4375 false true
wheel train_wheel 1.09375 0.5 -8.8125 false true
wheel train_wheel -1.09375 0.5 -6.4375 false false
wheel train_wheel -1.09375 0.5 -8.8125 false false

//Seats. Position coordinates -> whether or not it is a driver seat -> passenger scale -> rotation
//right seats from front to back
seat -0.9375 1.0 5.15 false 0.8
seat -0.9375 1.0 4.55 false 0.8 180
seat -0.9375 1.0 3.15 false 0.8
seat -0.9375 1.0 2.15 false 0.8

seat -0.9375 1.0 -3.35 false 0.8
seat -0.9375 1.0 -4.35 false 0.8
seat -0.9375 1.0 -5.35 false 0.8
seat -0.9375 1.0 -5.95 false 0.8 180
seat -0.9375 1.0 -7.35 false 0.8
seat -0.9375 1.0 -8.35 false 0.8

//left seats from front to back
seat 0.9375 1.0 5.15 false 0.8
seat 0.9375 1.0 4.55 false 0.8 180
seat 0.9375 1.0 3.15 false 0.8
seat 0.9375 1.0 2.15 false 0.8

seat 0.9375 1.0 -0.95 false 0.8 180
seat 0.9375 1.0 -2.35 false 0.8
seat 0.9375 1.0 -3.35 false 0.8
seat 0.9375 1.0 -4.35 false 0.8
seat 0.9375 1.0 -5.35 false 0.8
seat 0.9375 1.0 -5.95 false 0.8 180
seat 0.9375 1.0 -7.35 false 0.8
seat 0.9375 1.0 -8.35 false 0.8


health 20
inventorySize 9

maxSpeed 2.77
acceleration 0.002
deceleration -0.005

//Dimensions used for hitbox calculations
width 3
length 16.8125
height 4

//Sound stuff
//soundEngineRunning 

//Whether or not players can ride this vehicle
rideable true

trailer true
 
//x -> y -> z -> width -> height -> whether it connects to a trailer -> texture -> floor height -> floor red -> floor green -> floor blue -> floor alpha
//front
articulatedJoint 0 1 7.875     2.875 2.4375     false articulated_joint.png 0.1875    0.4313 0.4313 0.4313 1
//back
articulatedJoint 0 1 -7.25     2.875 2.4375     true articulated_joint.png 0.1875    0.4313 0.4313 0.4313 1


trailerHitchPosition 0 1 -8
couplerPosition 0 1 7.875


//Displays
display pa_inside_middle_front -0.4375 3.38 2.521 14 3 12.6 0
display pa_inside_middle_back 0.4375 3.38 2.293 14 3 12.6 180

display pa_middle_right -1.505 3.0625 -1.6875 20 4 0 -90
display pa_middle_left 1.505 3.0625 -0.4375 20 4 0 90


//Walkable area: 4 vertices -> section type
walkArea 1.25 1.0625 8.2     1.25 1.0625 7.875   -1.25 1.0625 7.875     -1.25 1.0625 8.2     hop_tow
walkArea 1.25 1.0625 7.875     1.25 1.0625 3.4375   -1.25 1.0625 3.4375     -1.25 1.0625 7.875     default
walkArea 1.5 1.0625 3.4375     1.5 1.0625 1.4375     -1.5 1.0625 1.4375     -1.5 1.0625 3.4375     entrance 
walkArea 1.25 1.0625 1.4375     1.25 1.0625 -7.125     -1.25 1.0625 -7.125     -1.25 1.0625 1.4375     default 
walkArea 1.25 1.0625 -7.125     1.25 1.0625 -7.5     -1.25 1.0625 -7.5     -1.25 1.0625 -7.125     hop_trailer 
