;-----------------------------------------------------------------------------;

;---------;
; Defines ;
;---------;

#define VEHICLE_TRUCK_SMOKEY		0
#define VEHICLE_TRUCK_BIGRED		1
#define VEHICLE_TRUCK_BULLDOG		2
#define VEHICLE_TRUCK_DIESEL		3
#define VEHICLE_TRUCK_IRONHIDE		4
#define VEHICLE_TRUCK_THUNDER		5
#define VEHICLE_TRUCK_GREENMACHINE	6
#define VEHICLE_TRUCK_KINGCOBRA		7
#define VEHICLE_TRUCK_STEALTH		8


#define WHEEL_TRUCK_SMOKEY			0
#define WHEEL_TRUCK_BIGRED			1
#define WHEEL_TRUCK_BULLDOG			2
#define WHEEL_TRUCK_DIESEL			3
#define WHEEL_TRUCK_IRONHIDE		4
#define WHEEL_TRUCK_THUNDER			5
#define WHEEL_TRUCK_GREENMACHINE	6
#define WHEEL_TRUCK_KINGCOBRA		7
#define WHEEL_TRUCK_STEALTH			8


#define ENGINE_TRUCK_SMOKEY			0
#define ENGINE_TRUCK_BIGRED			0
#define ENGINE_TRUCK_BULLDOG		0
#define ENGINE_TRUCK_DIESEL			0
#define ENGINE_TRUCK_IRONHIDE		0
#define ENGINE_TRUCK_THUNDER		0
#define ENGINE_TRUCK_GREENMACHINE	0
#define ENGINE_TRUCK_KINGCOBRA		0
#define ENGINE_TRUCK_STEALTH		0


;-----------------------------------------------------------------------------;

;--------;
; Wheels ;
;--------;

;
; Truck - Smokey
;
Wheel								WHEEL_TRUCK_SMOKEY
;4xWheelRadius							1.6
WheelRadius							0.6


;
; Truck - BigRed
;
Wheel								WHEEL_TRUCK_BIGRED
WheelRadius							0.6


;
; Truck - BullDog
;
Wheel								WHEEL_TRUCK_BULLDOG
WheelRadius							0.6


;
; Truck - Diesel
;
Wheel								WHEEL_TRUCK_DIESEL
WheelRadius							0.6


;
; Truck - IronHide
;
Wheel								WHEEL_TRUCK_IRONHIDE
WheelRadius							0.6


;
; Truck - Thunder
;
Wheel								WHEEL_TRUCK_THUNDER
WheelRadius							0.6


;
; Truck - GreenMachine
;
Wheel								WHEEL_TRUCK_GREENMACHINE
WheelRadius							0.6


;
; Truck - KingCobra
;
Wheel								WHEEL_TRUCK_KINGCOBRA
WheelRadius							0.6


;
; Truck - Stealth
;
Wheel								WHEEL_TRUCK_STEALTH
WheelRadius							0.6


;-----------------------------------------------------------------------------;

;----------;
; Vehicles ;
;----------;

;-----------------------------------------------------------------------------;
;
; Truck - Smokey
;
Vehicle								VEHICLE_TRUCK_SMOKEY
VehicleName							"Smokey"

VehicleChassisDimensions			10.0 3.5 4.5	; Length, Height, Width
VehicleChassisOffset				0.0 2.0 0.0		; X, Y(*2), Z

VehicleChassisMass					20.0
VehicleChassisMassDimensions		10.0 0.75 4.5	; Length, Height, Width
VehicleChassisCentreMass			0.0 -0.275 0.0	; X, Y, Z

VehicleAxels						3
VehicleWheel						WHEEL_TRUCK_SMOKEY
VehicleChassisWheelClearance		0.2

VehicleEngine						ENGINE_TRUCK_SMOKEY

VehicleEnableSwayBar				TRUE
VehicleSwayBarForce					400.0
VehicleSwayBarForceMax				30.0

VehicleEnableDownForce				TRUE
VehicleDownForceScale				-0.1

VehicleEnableInnerSteer				TRUE
VehicleInnerSteerFactor				1.5

VehicleFrontSuspensionKs			10000.0
VehicleFrontSuspensionKd			1400.0
VehicleFrontSuspensionBounce		0.0001
VehicleFrontSuspensionBounceVel		2.0

VehicleRearSuspensionKs				10000.0
VehicleRearSuspensionKd				1400.0
VehicleRearSuspensionBounce			0.0001
VehicleRearSuspensionBounceVel		2.0

VehicleEnableSlip1					TRUE
VehicleSlip1Factor					0.00005
VehicleEnableSlip2					TRUE
VehicleSlip2Factor					0.00035
VehicleDriveMu						0.8
VehicleCoastMu						0.01
VehicleMu2							1.35

VehicleEnableChassisSoftContacts	TRUE
VehicleChassisKs					5000.0
VehicleChassisKd					700.0
VehicleChassisMu					0.5
VehicleChassisMuDivisor				10.0		; m/s
VehicleChassisBounce				0.5
VehicleChassisBounceVel				0.1


;-----------------------------------------------------------------------------;
;
; Truck - BigRed
;
Vehicle								VEHICLE_TRUCK_BIGRED
VehicleName							"BigRed"

VehicleChassisDimensions			7.7 3.6 3.4		; Length, Height, Width
VehicleChassisOffset				0.0 1.5 0.0		; X, Y(*2), Z

VehicleChassisMass					20.0
VehicleChassisMassDimensions		7.7 0.75 3.4	; Length, Height, Width
VehicleChassisCentreMass			0.0 -0.275 0.0	; X, Y, Z

VehicleAxels						2
VehicleWheel						WHEEL_TRUCK_BIGRED
VehicleChassisWheelClearance		0.2

VehicleEngine						ENGINE_TRUCK_BIGRED

VehicleEnableSwayBar				TRUE
VehicleSwayBarForce					400.0
VehicleSwayBarForceMax				30.0

VehicleEnableDownForce				TRUE
VehicleDownForceScale				-0.1

VehicleEnableInnerSteer				TRUE
VehicleInnerSteerFactor				1.5

VehicleFrontSuspensionKs			10000.0
VehicleFrontSuspensionKd			1400.0
VehicleFrontSuspensionBounce		0.0001
VehicleFrontSuspensionBounceVel		2.0

VehicleRearSuspensionKs				10000.0
VehicleRearSuspensionKd				1400.0
VehicleRearSuspensionBounce			0.0001
VehicleRearSuspensionBounceVel		2.0

VehicleEnableSlip1					TRUE
VehicleSlip1Factor					0.00005
VehicleEnableSlip2					TRUE
VehicleSlip2Factor					0.00035
VehicleDriveMu						0.8
VehicleCoastMu						0.01
VehicleMu2							1.35

VehicleEnableChassisSoftContacts	TRUE
VehicleChassisKs					5000.0
VehicleChassisKd					700.0
VehicleChassisMu					0.5
VehicleChassisMuDivisor				10.0		; m/s
VehicleChassisBounce				0.5
VehicleChassisBounceVel				0.1


;-----------------------------------------------------------------------------;
;
; Truck - BullDog
;
Vehicle								VEHICLE_TRUCK_BULLDOG
VehicleName							"BullDog"

VehicleChassisDimensions			7.7 3.6 3.4		; Length, Height, Width
VehicleChassisOffset				0.0 1.5 0.0		; X, Y(*2), Z

VehicleChassisMass					20.0
VehicleChassisMassDimensions		7.7 0.75 3.4	; Length, Height, Width
VehicleChassisCentreMass			0.0 -0.275 0.0	; X, Y, Z

VehicleAxels						2
VehicleWheel						WHEEL_TRUCK_BULLDOG
VehicleChassisWheelClearance		0.2

VehicleEngine						ENGINE_TRUCK_BULLDOG

VehicleEnableSwayBar				TRUE
VehicleSwayBarForce					400.0
VehicleSwayBarForceMax				30.0

VehicleEnableDownForce				TRUE
VehicleDownForceScale				-0.1

VehicleEnableInnerSteer				TRUE
VehicleInnerSteerFactor				1.5

VehicleFrontSuspensionKs			10000.0
VehicleFrontSuspensionKd			1400.0
VehicleFrontSuspensionBounce		0.0001
VehicleFrontSuspensionBounceVel		2.0

VehicleRearSuspensionKs				10000.0
VehicleRearSuspensionKd				1400.0
VehicleRearSuspensionBounce			0.0001
VehicleRearSuspensionBounceVel		2.0

VehicleEnableSlip1					TRUE
VehicleSlip1Factor					0.00005
VehicleEnableSlip2					TRUE
VehicleSlip2Factor					0.00035
VehicleDriveMu						0.8
VehicleCoastMu						0.01
VehicleMu2							1.35

VehicleEnableChassisSoftContacts	TRUE
VehicleChassisKs					5000.0
VehicleChassisKd					700.0
VehicleChassisMu					0.5
VehicleChassisMuDivisor				10.0		; m/s
VehicleChassisBounce				0.5
VehicleChassisBounceVel				0.1


;-----------------------------------------------------------------------------;
;
; Truck - Diesel
;
Vehicle								VEHICLE_TRUCK_DIESEL
VehicleName							"Diesel"

VehicleChassisDimensions			10.0 3.5 4.5	; Length, Height, Width
VehicleChassisOffset				0.0 2.0 0.0		; X, Y(*2), Z

VehicleChassisMass					20.0
VehicleChassisMassDimensions		10.0 0.75 4.5	; Length, Height, Width
VehicleChassisCentreMass			0.0 -0.275 0.0	; X, Y, Z

VehicleAxels						3
VehicleWheel						WHEEL_TRUCK_DIESEL
VehicleChassisWheelClearance		0.2

VehicleEngine						ENGINE_TRUCK_DIESEL

VehicleEnableSwayBar				TRUE
VehicleSwayBarForce					400.0
VehicleSwayBarForceMax				30.0

VehicleEnableDownForce				TRUE
VehicleDownForceScale				-0.1

VehicleEnableInnerSteer				TRUE
VehicleInnerSteerFactor				1.5

VehicleFrontSuspensionKs			10000.0
VehicleFrontSuspensionKd			1400.0
VehicleFrontSuspensionBounce		0.0001
VehicleFrontSuspensionBounceVel		2.0

VehicleRearSuspensionKs				10000.0
VehicleRearSuspensionKd				1400.0
VehicleRearSuspensionBounce			0.0001
VehicleRearSuspensionBounceVel		2.0

VehicleEnableSlip1					TRUE
VehicleSlip1Factor					0.00005
VehicleEnableSlip2					TRUE
VehicleSlip2Factor					0.00035
VehicleDriveMu						0.8
VehicleCoastMu						0.01
VehicleMu2							1.35

VehicleEnableChassisSoftContacts	TRUE
VehicleChassisKs					5000.0
VehicleChassisKd					700.0
VehicleChassisMu					0.5
VehicleChassisMuDivisor				10.0		; m/s
VehicleChassisBounce				0.5
VehicleChassisBounceVel				0.1


;-----------------------------------------------------------------------------;
;
; Truck - IronHide
;
Vehicle								VEHICLE_TRUCK_IRONHIDE
VehicleName							"IronHide"

VehicleChassisDimensions			8.2 4.7 3.5		; Length, Height, Width
VehicleChassisOffset				0.0 2.0 0.0		; X, Y(*2), Z

VehicleChassisMass					20.0
VehicleChassisMassDimensions		8.2 0.75 3.5	; Length, Height, Width
VehicleChassisCentreMass			0.0 -0.275 0.0	; X, Y, Z

VehicleAxels						2
VehicleWheel						WHEEL_TRUCK_IRONHIDE
VehicleChassisWheelClearance		0.2

VehicleEngine						ENGINE_TRUCK_IRONHIDE

VehicleEnableSwayBar				TRUE
VehicleSwayBarForce					400.0
VehicleSwayBarForceMax				30.0

VehicleEnableDownForce				TRUE
VehicleDownForceScale				-0.1

VehicleEnableInnerSteer				TRUE
VehicleInnerSteerFactor				1.5

VehicleFrontSuspensionKs			10000.0
VehicleFrontSuspensionKd			1400.0
VehicleFrontSuspensionBounce		0.0001
VehicleFrontSuspensionBounceVel		2.0

VehicleRearSuspensionKs				10000.0
VehicleRearSuspensionKd				1400.0
VehicleRearSuspensionBounce			0.0001
VehicleRearSuspensionBounceVel		2.0

VehicleEnableSlip1					TRUE
VehicleSlip1Factor					0.00005
VehicleEnableSlip2					TRUE
VehicleSlip2Factor					0.00035
VehicleDriveMu						0.8
VehicleCoastMu						0.01
VehicleMu2							1.35

VehicleEnableChassisSoftContacts	TRUE
VehicleChassisKs					5000.0
VehicleChassisKd					700.0
VehicleChassisMu					0.5
VehicleChassisMuDivisor				10.0		; m/s
VehicleChassisBounce				0.5
VehicleChassisBounceVel				0.1


;-----------------------------------------------------------------------------;
;
; Truck - Thunder
;
Vehicle								VEHICLE_TRUCK_THUNDER
VehicleName							"Thunder"

VehicleChassisDimensions			10.0 3.5 4.5	; Length, Height, Width
VehicleChassisOffset				0.0 2.0 0.0		; X, Y(*2), Z

VehicleChassisMass					20.0
VehicleChassisMassDimensions		10.0 0.75 4.5	; Length, Height, Width
VehicleChassisCentreMass			0.0 -0.275 0.0	; X, Y, Z

VehicleAxels						3
VehicleWheel						WHEEL_TRUCK_THUNDER
VehicleChassisWheelClearance		0.2

VehicleEngine						ENGINE_TRUCK_THUNDER

VehicleEnableSwayBar				TRUE
VehicleSwayBarForce					400.0
VehicleSwayBarForceMax				30.0

VehicleEnableDownForce				TRUE
VehicleDownForceScale				-0.1

VehicleEnableInnerSteer				TRUE
VehicleInnerSteerFactor				1.5

VehicleFrontSuspensionKs			10000.0
VehicleFrontSuspensionKd			1400.0
VehicleFrontSuspensionBounce		0.0001
VehicleFrontSuspensionBounceVel		2.0

VehicleRearSuspensionKs				10000.0
VehicleRearSuspensionKd				1400.0
VehicleRearSuspensionBounce			0.0001
VehicleRearSuspensionBounceVel		2.0

VehicleEnableSlip1					TRUE
VehicleSlip1Factor					0.00005
VehicleEnableSlip2					TRUE
VehicleSlip2Factor					0.00035
VehicleDriveMu						0.8
VehicleCoastMu						0.01
VehicleMu2							1.35

VehicleEnableChassisSoftContacts	TRUE
VehicleChassisKs					5000.0
VehicleChassisKd					700.0
VehicleChassisMu					0.5
VehicleChassisMuDivisor				10.0		; m/s
VehicleChassisBounce				0.5
VehicleChassisBounceVel				0.1


;-----------------------------------------------------------------------------;
;
; Truck - GreenMachine
;
Vehicle								VEHICLE_TRUCK_GREENMACHINE
VehicleName							"GreenMachine"

VehicleChassisDimensions			8.2 4.7 3.5		; Length, Height, Width
VehicleChassisOffset				0.0 2.0 0.0		; X, Y(*2), Z

VehicleChassisMass					20.0
VehicleChassisMassDimensions		8.2 0.75 3.5	; Length, Height, Width
VehicleChassisCentreMass			0.0 -0.275 0.0	; X, Y, Z

VehicleAxels						2
VehicleWheel						WHEEL_TRUCK_GREENMACHINE
VehicleChassisWheelClearance		0.2

VehicleEngine						ENGINE_TRUCK_GREENMACHINE

VehicleEnableSwayBar				TRUE
VehicleSwayBarForce					400.0
VehicleSwayBarForceMax				30.0

VehicleEnableDownForce				TRUE
VehicleDownForceScale				-0.1

VehicleEnableInnerSteer				TRUE
VehicleInnerSteerFactor				1.5

VehicleFrontSuspensionKs			10000.0
VehicleFrontSuspensionKd			1400.0
VehicleFrontSuspensionBounce		0.0001
VehicleFrontSuspensionBounceVel		2.0

VehicleRearSuspensionKs				10000.0
VehicleRearSuspensionKd				1400.0
VehicleRearSuspensionBounce			0.0001
VehicleRearSuspensionBounceVel		2.0

VehicleEnableSlip1					TRUE
VehicleSlip1Factor					0.00005
VehicleEnableSlip2					TRUE
VehicleSlip2Factor					0.00035
VehicleDriveMu						0.8
VehicleCoastMu						0.01
VehicleMu2							1.35

VehicleEnableChassisSoftContacts	TRUE
VehicleChassisKs					5000.0
VehicleChassisKd					700.0
VehicleChassisMu					0.5
VehicleChassisMuDivisor				10.0		; m/s
VehicleChassisBounce				0.5
VehicleChassisBounceVel				0.1


;-----------------------------------------------------------------------------;
;
; Truck - KingCobra
;
Vehicle								VEHICLE_TRUCK_KINGCOBRA
VehicleName							"KingCobra"

VehicleChassisDimensions			11.5 3.4 4.5	; Length, Height, Width
VehicleChassisOffset				0.0 1.9 0.0		; X, Y(*2), Z

VehicleChassisMass					20.0
VehicleChassisMassDimensions		11.5 0.75 4.5	; Length, Height, Width
VehicleChassisCentreMass			0.0 -0.275 0.0	; X, Y, Z

VehicleAxels						3
VehicleWheel						WHEEL_TRUCK_KINGCOBRA
VehicleChassisWheelClearance		0.2

VehicleEngine						ENGINE_TRUCK_KINGCOBRA

VehicleEnableSwayBar				TRUE
VehicleSwayBarForce					400.0
VehicleSwayBarForceMax				30.0

VehicleEnableDownForce				TRUE
VehicleDownForceScale				-0.1

VehicleEnableInnerSteer				TRUE
VehicleInnerSteerFactor				1.5

VehicleFrontSuspensionKs			10000.0
VehicleFrontSuspensionKd			1400.0
VehicleFrontSuspensionBounce		0.0001
VehicleFrontSuspensionBounceVel		2.0

VehicleRearSuspensionKs				10000.0
VehicleRearSuspensionKd				1400.0
VehicleRearSuspensionBounce			0.0001
VehicleRearSuspensionBounceVel		2.0

VehicleEnableSlip1					TRUE
VehicleSlip1Factor					0.00005
VehicleEnableSlip2					TRUE
VehicleSlip2Factor					0.00035
VehicleDriveMu						0.8
VehicleCoastMu						0.01
VehicleMu2							1.35

VehicleEnableChassisSoftContacts	TRUE
VehicleChassisKs					5000.0
VehicleChassisKd					700.0
VehicleChassisMu					0.5
VehicleChassisMuDivisor				10.0		; m/s
VehicleChassisBounce				0.5
VehicleChassisBounceVel				0.1


;-----------------------------------------------------------------------------;
;
; Truck - Stealth
;
Vehicle								VEHICLE_TRUCK_STEALTH
VehicleName							"Stealth"

VehicleChassisDimensions			7.7 3.6 3.4		; Length, Height, Width
VehicleChassisOffset				0.0 1.5 0.0		; X, Y(*2), Z

VehicleChassisMass					20.0
VehicleChassisMassDimensions		7.7 0.75 3.4	; Length, Height, Width
VehicleChassisCentreMass			0.0 -0.275 0.0	; X, Y, Z

VehicleAxels						2
VehicleWheel						WHEEL_TRUCK_STEALTH
VehicleChassisWheelClearance		0.2

VehicleEngine						ENGINE_TRUCK_STEALTH

VehicleEnableSwayBar				TRUE
VehicleSwayBarForce					400.0
VehicleSwayBarForceMax				30.0

VehicleEnableDownForce				TRUE
VehicleDownForceScale				-0.1

VehicleEnableInnerSteer				TRUE
VehicleInnerSteerFactor				1.5

VehicleFrontSuspensionKs			10000.0
VehicleFrontSuspensionKd			1400.0
VehicleFrontSuspensionBounce		0.0001
VehicleFrontSuspensionBounceVel		2.0

VehicleRearSuspensionKs				10000.0
VehicleRearSuspensionKd				1400.0
VehicleRearSuspensionBounce			0.0001
VehicleRearSuspensionBounceVel		2.0

VehicleEnableSlip1					TRUE
VehicleSlip1Factor					0.00005
VehicleEnableSlip2					TRUE
VehicleSlip2Factor					0.00035
VehicleDriveMu						0.8
VehicleCoastMu						0.01
VehicleMu2							1.35

VehicleEnableChassisSoftContacts	TRUE
VehicleChassisKs					5000.0
VehicleChassisKd					700.0
VehicleChassisMu					0.5
VehicleChassisMuDivisor				10.0		; m/s
VehicleChassisBounce				0.5
VehicleChassisBounceVel				0.1


