//Display name of the vehicle
name New Excel DC40R
//Unique Identifier
id new_excel_dc40r

model new_excel_dc40r.obj

//Possible textures of the vehicle
textures dc40r_blue.png dc40r_blue_curve.png dc40r_blue_stripe.png dc40r_green.png dc40r_green_stripe.png dc40r_red_stripe.png dc40r_two_tone_blue.png dc40r_two_tone_orange.png dc40r_two_tone_red.png dc40r_two_tone_teal.png dc40r_white.png dc40r_red_curve.png dc40r_red.png dc40r_yellow_curve.png dc40r_yellow.png 

//Default animations. <anim_type> <anim_id>
defaultAnimation bus_arrive denvers_american_traffic:C_3
defaultAnimation bus_depart denvers_american_traffic:C_4

//Wheels. Wheel type -> Position coordinates (multiples of 0.0625 (one pixel)) -> whether or not it can rotate
wheel semi_truck_wheel -1.375 0.46875 3.74789375 true
wheel semi_truck_wheel 1.375 0.46875 3.74789375 true
wheel semi_truck_wheel -1.375 0.46875 -4.00210625
wheel semi_truck_wheel 1.375 0.46875 -4.00210625

//Seats. Position coordinates -> whether or not it is a driver seat -> passenger scale -> rotation
seat 0.859375 0.33 4.81039375 true
seat 1.234375 0.33 1.62289375 false 1 90
seat -1.234375 0.33 1.62289375 false 1 270
seat 1.234375 0.33 2.56039375 false 1 90
seat -1.234375 0.33 2.56039375 false 1 270
seat 0.859375 0.33 0.06039375
seat -.859375 0.33 0.06039375
seat 0.859375 0.33 -0.93960625
seat -0.859375 0.33 -0.93960625
seat 1.234375 0.33 -1.68960625 false 1 90
seat 0.859375 0.85 -3.12710625
seat -0.859375 0.85 -3.12710625
seat 1.234375 0.85 -4.00210625 false 1 90
seat -1.234375 0.85 -4.00210625 false 1 270
seat 0.859375 0.85 -5.56460625
seat -0.859375 0.85 -5.56460625
seat 0 0.85 -5.56460625

health 20
inventorySize 9

maxSpeed 1.2
acceleration 0.005
deceleration -0.0125

//Dimensions used for hitbox calculations
width 3.125
length 13
height 3.25

//Sound stuff
soundEngineRunning semi_truck.ogg

sound engine_running truck_engine_0.ogg engine_slow_outside 1,0,-4.5
sound engine_running truck_engine_1.ogg engine_medium_outside 1,0,-4.5
sound engine_running truck_engine_2.ogg engine_fast_outside 1,0,-4.5

sound engine_running truck_engine_0_inside.ogg engine_slow_inside 1,0,-4.5
sound engine_running truck_engine_1_inside.ogg engine_medium_inside 1,0,-4.5
sound engine_running truck_engine_2_inside.ogg engine_fast_inside 1,0,-4.5

sound brake_release air_brake_release.ogg brake_release 0,0,-2.6

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

//Add items needed for crafting.
//Item name -> item count
craftingRecipeEntry minecraft:paper 1
craftingRecipeEntry minecraft:lapis_lazuli 1

//Displays
display front -1.1875 3.04125 6.0 38 5 0 0
display right -1.54 2.6875 2.90625 22 5 0 -90
display interior 0.3125 3.04395 5.7435 10 4 0 -180
display back 0.1875 2.0237875 -6.43094375 6 5 0 -180 2.5 0

//Walkable areas
walkArea 1.2 0.75 -5.5     -1.2 0.75 -5.5   -1.2 0.75 -2.9375     1.2 0.75 -2.9375     default
walkArea 1.2 0.75 -2.9375     -1.2 0.75 -2.9375   -1.2 0.375 -2.25     1.2 0.375 -2.25     default

walkArea 1.2 0.375 -2.25     0 0.375 -2.25   0 0.375 -1.125     1.2 0.375 -1.125     default
walkArea 0 0.375 -2.25     -1.4375 0.375 -2.25  -1.4375 0.375 -1.125     0 0.375 -1.125     entrance

walkArea 1.2 0.375 -1.125     -1.2 0.375 -1.125   -1.2 0.375 4.62     1.2 0.375 4.62    default

walkArea 1.2 0.375 4.62     0 0.375 4.62   0 0.375 5.75     1.2 0.375 5.75     default
walkArea 0 0.375 4.625     -1.4375 0.375 4.625   -1.4375 0.375 5.75     0 0.375 5.75     entrance

//right inner headlight
light 1 1 0.75f 1 0 -0.6875375,0.8125,6.1687 -0.6875375,0.9375,6.1687 -0.8125125,0.9375,6.1663 -0.8125125,0.8125,6.1663 night
//right outer headlight
light 1 1 0.75f 1 0 -0.8750625,0.8125,6.1651 -0.8750625,0.9375,6.1651 -1.00004375,0.9375,6.1627 -1.00004375,0.8125,6.1627 night
//front right blinker
light 1f 0.7f 0 1 10 -1.06246875,0.8125,6.1615 -1.06246875,0.9375,6.1615 -1.18744375,0.9375,6.1591 -1.18744375,0.8125,6.1591 indicator_right

//left inner headlight
light 1 1 0.75f 1 0 0.8125125,0.8125,6.1663 0.8125125,0.9375,6.1663 0.6875375,0.9375,6.1687 0.6875375,0.8125,6.1687 night
//left outer headlight
light 1 1 0.75f 1 0 1.00004375,0.8125,6.1627 1.00004375,0.9375,6.1627 0.8750625,0.9375,6.1651 0.8750625,0.8125,6.1651 night
//front left blinker
light 1f 0.7f 0 1 10 1.18744375,0.8125,6.1591 1.18744375,0.9375,6.1591 1.06246875,0.9375,6.1615 1.06246875,0.8125,6.1615 indicator_left

//marker light right
light 1f 0.7f 0 1 0 -1,3.10625,5.994375 -1,3.16875,5.994375 -1.125,3.16875,5.994375 -1.125,3.10625,5.994375 night
//marker light center right
light 1f 0.7f 0 1 0 -0.25,3.10625,5.994375 -0.25,3.16875,5.994375 -0.375,3.16875,5.994375 -0.375,3.10625,5.994375 night
//marker light center
light 1f 0.7f 0 1 0 0.0625,3.10625,5.994375 0.0625,3.16875,5.994375 -0.0625,3.16875,5.994375 -0.0625,3.10625,5.994375 night
//marker light center left
light 1f 0.7f 0 1 0 0.375,3.10625,5.994375 0.375,3.16875,5.994375 0.25,3.16875,5.994375 0.25,3.10625,5.994375 night
//marker light left
light 1f 0.7f 0 1 0 1.125,3.10625,5.994375 1.125,3.16875,5.994375 1,3.16875,5.994375 1,3.10625,5.994375 night

//right marker light front
light 1f 0.7f 0 1 0 -1.563125,2.93125,5.68175625 -1.563125,2.99375,5.68175625 -1.563125,2.99375,5.55675625 -1.563125,2.93125,5.55675625 night
//right marker light center
light 1f 0.7f 0 1 0 -1.563125,2.93125,-2.38074375 -1.563125,2.99375,-2.38074375 -1.563125,2.99375,-2.50574375 -1.563125,2.93125,-2.50574375 night
//right marker light rear
light 0.7f 0.0f 0f 1f 0 -1.563125,2.96300625,-6.1265625 -1.563125,3.0253875,-6.1238375 -1.563125,3.0308375,-6.24871875 -1.563125,2.96839375,-6.25144375 night
//left marker light front
light 1f 0.7f 0 1 0 1.563125,2.93125,5.55675625 1.563125,2.99375,5.55675625 1.563125,2.99375,5.68175625 1.563125,2.93125,5.68175625 night
//left marker light center
light 1f 0.7f 0 1 0 1.563125,2.93125,-2.50574375 1.563125,2.99375,-2.50574375 1.563125,2.99375,-2.38074375 1.563125,2.93125,-2.38074375 night
//left marker light rear
light 0.7f 0.0f 0f 1f 0 1.563125,2.96839375,-6.25144375 1.563125,3.0308375,-6.24871875 1.563125,3.0253875,-6.1238375 1.563125,2.96300625,-6.1265625 night

//right blinker front
light 1f 0.7f 0 1 10 -1.563125,1.125,4.46300625 -1.563125,1.1875,4.46300625 -1.563125,1.1875,4.33800625 -1.563125,1.125,4.33800625 indicator_right
//right blinker center front
light 1f 0.7f 0 1 10 -1.563125,1.125,3.15050625 -1.563125,1.1875,3.15050625 -1.563125,1.1875,3.02550625 -1.563125,1.125,3.02550625 indicator_right
//right blinker center rear
light 1f 0.7f 0 1 10 -1.563125,1.125,-2.34949375 -1.563125,1.1875,-2.34949375 -1.563125,1.1875,-2.47449375 -1.563125,1.125,-2.47449375 indicator_right
//right blinker rear
light 1f 0.7f 0 1 10 -1.563125,1.25,-5.47449375 -1.563125,1.3125,-5.47449375 -1.563125,1.3125,-5.59949375 -1.563125,1.25,-5.59949375 indicator_right
//left blinker front
light 1f 0.7f 0 1 10 1.563125,1.125,4.33800625 1.563125,1.1875,4.33800625 1.563125,1.1875,4.46300625 1.563125,1.125,4.46300625 indicator_left
//left blinker center front
light 1f 0.7f 0 1 10 1.563125,1.125,3.02550625 1.563125,1.1875,3.02550625 1.563125,1.1875,3.15050625 1.563125,1.125,3.15050625 indicator_left
//left blinker center rear
light 1f 0.7f 0 1 10 1.563125,1.125,-2.47449375 1.563125,1.1875,-2.47449375 1.563125,1.1875,-2.34949375 1.563125,1.125,-2.34949375 indicator_left
//left blinker rear
light 1f 0.7f 0 1 10 1.563125,1.25,-5.59949375 1.563125,1.3125,-5.59949375 1.563125,1.3125,-5.47449375 1.563125,1.25,-5.47449375 indicator_left

//marker light rear right
light 0.7f 0.0f 0f 1f 0 -1.375,3.03631875,-6.374225 -1.375,3.09881875,-6.37149375 -1.25,3.09881875,-6.37149375 -1.25,3.03631875,-6.374225 night
//marker light rear center right
light 0.7f 0.0f 0f 1f 0 -0.375,3.03631875,-6.374225 -0.375,3.09881875,-6.37149375 -0.25,3.09881875,-6.37149375 -0.25,3.03631875,-6.374225 night
//marker light rear center
light 0.7f 0.0f 0f 1f 0 -0.0625,3.03631875,-6.374225 -0.0625,3.09881875,-6.37149375 0.0625,3.09881875,-6.37149375 0.0625,3.03631875,-6.374225 night
//marker light center left
light 0.7f 0.0f 0f 1f 0 0.25,3.03631875,-6.374225 0.25,3.09881875,-6.37149375 0.375,3.09881875,-6.37149375 0.375,3.03631875,-6.374225 night
//marker light left
light 0.7f 0.0f 0f 1f 0 1.25,3.03631875,-6.374225 1.25,3.09881875,-6.37149375 1.375,3.09881875,-6.37149375 1.375,3.03631875,-6.374225 night

//rear brakelight
light 1f 0.0f 0f 1f 0 -0.125,1.662625,-6.4342 -0.125,1.72506875,-6.431475 0.125,1.72506875,-6.431475 0.125,1.662625,-6.4342 braking

//rear right taillight
light 0.7f 0.0f 0f 1f 0 -1.4375,1.36875,-6.436925 -1.4375,1.55625,-6.436925 -1.25,1.55625,-6.436925 -1.25,1.36875,-6.436925 night
//rear right brakelight
light 1f 0.0f 0f 1f 0 -1.4375,1.36875,-6.43755 -1.4375,1.55625,-6.43755 -1.25,1.55625,-6.43755 -1.25,1.36875,-6.43755 braking
//rear right blinker
light 1f 0.7f 0 1 10 -1.4375,1.11875,-6.436925 -1.4375,1.30625,-6.436925 -1.25,1.30625,-6.436925 -1.25,1.11875,-6.436925 indicator_right
//rear left taillight
light 0.7f 0.0f 0f 1f 0 1.25,1.36875,-6.436925 1.25,1.55625,-6.436925 1.4375,1.55625,-6.436925 1.4375,1.36875,-6.436925 night
//rear left brakelight
light 1f 0.0f 0f 1f 0 1.25,1.36875,-6.43755 1.25,1.55625,-6.43755 1.4375,1.55625,-6.43755 1.4375,1.36875,-6.43755 braking
//rear left blinker
light 1f 0.7f 0 1 10 1.25,1.11875,-6.436925 1.25,1.30625,-6.436925 1.4375,1.30625,-6.436925 1.4375,1.11875,-6.436925 indicator_left

