module Base
{
	model 85chevyStepVanBase
	{
		mesh = vehicles/Vehicles_85chevyStepVan_Body|85stepvan_body,
		shader = damn_vehicle_shader,
		scale = 0.1,
	}
	model 85chevyStepVanInterior
	{
		mesh = vehicles/Vehicles_85chevyStepVan_Body|85stepvan_interior,
		texture = Vehicles/Vehicles_85chevyStepVan_Interior,
		shader = vehiclewheel,
		scale = 0.1,
	}
	model 85chevyStepVanBodyRoof
	{
		mesh = vehicles/Vehicles_85chevyStepVan_Body|85stepvan_body_roof,
		shader = damn_vehicle_shader,
		scale = 0.1,
	}
    model 85chevyStepVanInteriorRoof
	{
		mesh = vehicles/Vehicles_85chevyStepVan_Body|85stepvan_interior_roof,
		texture = Vehicles/Vehicles_85chevyStepVan_Roof,
		shader = vehiclewheel,
		scale = 0.1,
	}
	model 85chevyStepVanExhaust
	{
		mesh = vehicles/Vehicles_85chevyStepVan_Body|85stepvan_muffler0,
		texture = Vehicles/Vehicles_85chevyStepVan_Interior,
		shader = vehiclewheel,
		scale = 0.1,
	}
	model 85chevyStepVanTISBattery
	{
		mesh = vehicles/Vehicles_85chevyStepVan_Body|TIS_battery,
		texture = Vehicles/Vehicles_85chevyStepVan_Interior,
		shader = vehiclewheel,
		scale = 0.1,
	}
	vehicle 85chevyStepVan
	{
		mechanicType = 2,
		offRoadEfficiency = 0.85,
		engineRepairLevel = 4,
		playerDamageProtection = 1.2,

		model
		{
			file = 85chevyStepVanBase,
			scale = 0.9000,
			offset = 0.0000 0.0556 0.0000,
		}

		spawnOffsetY = 0,

		skin
		{
			texture = Vehicles/Vehicles_85chevyStepVan_Shell_black,
		}

		skin
		{
			texture = Vehicles/Vehicles_85chevyStepVan_Shell_blue,
		}

		skin
		{
			texture = Vehicles/Vehicles_85chevyStepVan_Shell_brown,
		}

		skin
		{
			texture = Vehicles/Vehicles_85chevyStepVan_Shell_orange,
		}

		skin
		{
			texture = Vehicles/Vehicles_85chevyStepVan_Shell_red,
		}

		skin
		{
			texture = Vehicles/Vehicles_85chevyStepVan_Shell_white,
		}

		skin
		{
			texture = Vehicles/Vehicles_85chevyStepVan_Shell_yellow,
		}

		textureRust = Vehicles/Vehicles_85chevyStepVan_Rust,
		textureMask = Vehicles/Vehicles_85chevyStepVan_Mask,
		textureLights = Vehicles/Vehicles_85chevyStepVan_Lights,
		textureDamage1Shell = Vehicles/Vehicles_85chevyStepVan_Damage1,
		textureDamage2Shell = Vehicles/Vehicles_85chevyStepVan_Damage2,
		textureDamage1Overlay = Vehicles/Vehicles_85chevyStepVan_Blood,
		textureDamage2Overlay = Vehicles/Vehicles_85chevyStepVan_Blood,

		sound
		{
			engine = VehicleEngineCarNormal,
			engineStart = VehicleEngineCarNormal,
			engineTurnOff = VehicleEngineCarNormal,
			horn = VehicleHornStandard,
			ignitionFail = VehicleIgnitionFailCarNormal,
		}

		extents = 2.0667 2.0889 5.6667,
		mass = 620,
		physicsChassisShape = 2.0667 2.0889 5.6667,
		centerOfMassOffset = 0.0000 1.0667 -0.4111,
		shadowExtents = 2.1466 6.3237,
		shadowOffset = 0.0000 -0.3455,
		engineForce = 2500,
		maxSpeed = 65f,
		engineLoudness = 75,
		engineQuality = 77,
		brakingForce = 62,
		stoppingMovementForce = 2.0f,
		rollInfluence = 0.93f,
		steeringIncrement = 0.03,
		steeringClamp = 0.3,
		suspensionStiffness = 41,
		suspensionCompression = 3.83,
		suspensionDamping = 2.88,
		maxSuspensionTravelCm = 11,
		suspensionRestLength = 0.3,
		wheelFriction = 1.6f,
		frontEndHealth = 250,
		rearEndHealth = 150,
		seats = 2,
		isSmallVehicle = false,

		wheel FrontLeft
		{
			front = true,
			offset = 0.7778 -0.1222 1.6556,
			radius = 0.32f,
			width = 0.19f,
		}

		wheel FrontRight
		{
			front = true,
			offset = -0.7778 -0.1222 1.6556,
			radius = 0.32f,
			width = 0.19f,
		}

		wheel RearLeft
		{
			front = false,
			offset = 0.6889 -0.1222 -1.4556,
			radius = 0.32f,
			width = 0.38f,
		}

		wheel RearRight
		{
			front = false,
			offset = -0.6889 -0.1222 -1.4556,
			radius = 0.32f,
			width = 0.38f,
		}

		template = PassengerSeat2,

		passenger FrontLeft
		{
			showPassenger = true,
			hasRoof = true,

			position inside
			{
				offset = 0.6333 0.6556 0.8667,
				rotate = 0.0000 0.0000 0.0000,
			}

			position outside
			{
				offset = 1.3222 -0.4444 0.8222,
				rotate = 0.0000 0.0000 0.0000,
				area = SeatFrontLeft,
			}
		}

		passenger FrontRight
		{
			showPassenger = true,
			hasRoof = true,

			position inside
			{
				offset = -0.6222 0.6111 0.4111,
				rotate = 0.0000 0.0000 0.0000,
			}

			position outside
			{
				offset = -1.3111 -0.4444 0.8556,
				rotate = 0.0000 0.0000 0.0000,
				area = SeatFrontRight,
			}
		}

		area Engine
		{
			xywh = 0.0000 2.8111 1.5778 0.7778,
		}

		area TruckBed
		{
			xywh = 0.0000 -3.8000 1.1778 1.1111,
		}

		area Roofrack
		{
			xywh = -1.4222 -0.0556 0.7778 0.7778,
		}

		area SeatFrontLeft
		{
			xywh = 1.4222 0.8333 0.7778 0.8444,
		}

		area SeatFrontRight
		{
			xywh = -1.4222 0.8333 0.7778 0.8444,
		}

		area SeatRearRight
		{
			xywh = -1.4222 -0.1111 0.7778 1.0444,
		}

		area SeatRearLeft
		{
			xywh = 1.4222 0.2333 0.7778 0.3556,
		}

		area GasTank
		{
			xywh = 1.4222 -2.2667 0.7778 0.7778,
		}

		area TireFrontLeft
		{
			xywh = 1.5556 1.6333 0.4222 0.4222,
		}

		area TireFrontRight
		{
			xywh = -1.5556 1.6333 0.4222 0.4222,
		}

		area TireRearLeft
		{
			xywh = 1.5556 -1.4556 0.4222 0.4222,
		}

		area TireRearRight
		{
			xywh = -1.5556 -1.4556 0.4222 0.4222,
		}

		template = STP85Tires,
		template = STP85Seats,
		template = STP85FrontBumpers,
		template = STP85RearBumpers,
		template = STP85EngineDoor,
		template = STP85TrunkDoors,
		template = STP85TrunkCompartment,
		template = STP85Doors,
		template = STP85Windows,
		template = STP85Windshields,
		template = STP85Armor,
		template = STP85Vents,
		template = STP85Roofrack,
		template = STP85Barrier,

		part GloveBox
		{
			area = SeatFrontRight,
			itemType = Base.GloveBox,
			mechanicRequireKey = true,

			model STP85int
			{
				file = 85chevyStepVanInterior,
			}

            model STP85bodRoof
			{
				file = 85chevyStepVanBodyRoof,
			}

			container
			{
				capacity = 7,
				test = Vehicles.ContainerAccess.GloveBox,
			}

			lua
			{
				create = Vehicles.Create.Default,
			}
		}

		template = GasTank,

		part GasTank
		{
			table install
			{
				recipes = Intermediate Mechanics,
			}

			table uninstall
			{
				recipes = Intermediate Mechanics,
			}
		}

		template = Battery,

		part Battery
		{
			model STP85tisbat
			{
				file = 85chevyStepVanTISBattery,
			}
		}

		template = Engine,
		template = Muffler,

		part Muffler
		{
			model superMuff4001
			{
				file = 85chevyStepVanExhaust,
			}

			table install
			{
				recipes = Intermediate Mechanics,
			}

			table uninstall
			{
				recipes = Intermediate Mechanics,
			}
		}

		part Heater
		{
			category = engine,

			lua
			{
				update = Vehicles.Update.Heater,
			}
		}

		part PassengerCompartment
		{
			category = nodisplay,

			lua
			{
				update = Vehicles.Update.PassengerCompartment,
			}
		}

		template = Brake,

		part Brake*
		{
			table install
			{
				skills = Mechanics:6,
				recipes = Intermediate Mechanics,
			}

			table uninstall
			{
				skills = Mechanics:6,
				recipes = Intermediate Mechanics,
			}
		}

		template = Suspension,

		part Suspension*
		{
			table install
			{
				skills = Mechanics:6,
				recipes = Intermediate Mechanics,
			}

			table uninstall
			{
				skills = Mechanics:6,
				recipes = Intermediate Mechanics,
			}
		}

		template = Radio,
		template = Headlight,

		attachment trailer
		{
			offset = 0.0000 0.0333 -3.2778,
			rotate = 0.0000 0.0000 0.0000,
			zoffset = -1.0000,
		}

		attachment trailerfront
		{
			offset = 0.0000 0.0333 2.4222,
			rotate = 0.0000 0.0000 0.0000,
			zoffset = 1.0000,
		}
	}
}
