//Display name of the vehicle
name Truck TGX
//Unique Identifier
id truck_tgx

model truck_tgx.obj

//Possible textures of the vehicle
textures truck_tgx_white.png truck_tgx_red.png


//Sound. <sound_type> -> <pack>:(optional)<sound_name> <pack>:(optional)<sound_properties> <x,y,z>
sound engine_running truck_engine_0.ogg engine_slow 0,0,1.5
sound engine_running truck_engine_1.ogg engine_medium 0,0,1.5
sound engine_running truck_engine_2.ogg engine_fast 0,0,1.5

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

sound brake brake_squeal_short.ogg brake_squeal 0,0,1.5
sound brake brake_squeal_long.ogg brake_squeal_rare 0,0,1.5


//Wheels. Wheel type -> Position coordinates (multiples of 0.0625 (one pixel)) -> whether or not it can rotate
wheel wheel_large 1.31250010927847 0.375 1.2499998852575966 true
wheel wheel_large -1.3124998907215202 0.375 1.250000114742394 true
wheel wheel_large -1.3125001420620126 0.375 -1.624999885257595 
wheel wheel_large 1.3124998579379776 0.375 -1.6250001147423925 

//Seats. Position coordinates -> whether or not it is a driver seat
seat 0.7250001136496113 1.15 1.2999999366184796 true
seat -0.7499998863503831 1.15 1.3000000655670803 

health 20
inventorySize 9

maxSpeed 1.0
acceleration 0.005
deceleration -0.0125

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


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

//Trailer stuff
trailerHitchPosition 0 1.5 -1.4374999999999947


//headlight right bottom
light 1 1 1 1 0 -0.96875,0.5,2.6875 -0.96875,0.75,2.6875 -1.34375,0.75,2.6875 -1.34375,0.5,2.6875 night
//headlight right top
light 1 1 1 1 0 -0.96875,0.875,2.6875 -0.96875,1.1875,2.6875 -1.34375,1.1875,2.6875 -1.34375,0.875,2.6875 night
//right turn indicator bottom
light 1 0.7f 0 1 10 -1.34375,0.5,2.6875 -1.34375,0.75,2.6875 -1.434375,0.75,2.6 -1.434375,0.5,2.6 indicator_right
//right turn indicator top
light 1 0.7f 0 1 10 -1.34375,0.875,2.6875 -1.34375,1.1875,2.6875 -1.434375,1.1875,2.6 -1.434375,0.875,2.6 indicator_right

//headlight left bottom
light 1f 1f 1f 1f 0 1.34375,0.5,2.6875 1.34375,0.75,2.6875 0.96875,0.75,2.6875 0.96875,0.5,2.6875 night
//headlight left top
light 1f 1f 1f 1f 0 1.34375,0.875,2.6875 1.34375,1.1875,2.6875 0.96875,1.1875,2.6875 0.96875,0.875,2.6875 night
//left turn indicator bottom
light 1f 0.7f 0f 1f 10 1.434375,0.5,2.6 1.434375,0.75,2.6 1.34375,0.75,2.6875 1.34375,0.5,2.6875 indicator_left
//left turn indicator top
light 1f 0.7f 0f 1f 10 1.434375,0.875,2.6 1.434375,1.1875,2.6 1.34375,1.1875,2.6875 1.34375,0.875,2.6875 indicator_left


//brake light right
light 0.9f 0 0 0.9f 0 -1.34375,0.5,-2.275 -1.34375,0.75,-2.275 -1.21875,0.75,-2.275 -1.21875,0.5,-2.275 braking
//right rear light
light 0.9f 0 0 0.5f 0 -1.21875,0.5,-2.275 -1.21875,0.75,-2.275 -1.03125,0.75,-2.275 -1.03125,0.5,-2.275 night
//right rear turn indicator
light 1f 0.7f 0 1f 10 -1.40625,0.5,-2.275 -1.40625,0.75,-2.275 -1.34375,0.75,-2.275 -1.34375,0.5,-2.275 indicator_right

//brake light left
light 0.9f 0f 0f 0.9f 0 1.21875,0.5,-2.275 1.21875,0.75,-2.275 1.34375,0.75,-2.275 1.34375,0.5,-2.275 braking
//left rear light
light 0.9f 0f 0f 0.5f 0 1.03125,0.5,-2.275 1.03125,0.75,-2.275 1.21875,0.75,-2.275 1.21875,0.5,-2.275 night
//left rear turn indicator
light 1f 0.7f 0f 1f 10 1.34375,0.5,-2.275 1.34375,0.75,-2.275 1.40625,0.75,-2.275 1.40625,0.5,-2.275 indicator_left
