module Base
{
	model 93fordF350UtilityBed
	{
		mesh = vehicles/Vehicles_93fordF350_Body|f350_utility_bed,
		shader = damn_vehicle_shader,
		invertX = FALSE,
		scale = 0.1,
	}
	model 93fordF350UtilityInterior
	{
		mesh = vehicles/Vehicles_93fordF350_Body|f350_utility_interior,
		texture = vehicles/Vehicles_93fordF350utility_Interior,
		shader = damn_wheel_shader,
		scale = 0.1,
	}
	vehicle 93fordF350utility
	{
		mechanicType = 2,
		offRoadEfficiency = 1.1,
		engineRepairLevel = 4,
		playerDamageProtection = 1.3,

		model
		{
			file = 93fordF350Base,
			scale = 0.9000,
			offset = 0.0000 0.5333 0.1556,
		}

		skin
		{
			texture = Vehicles/Vehicles_93fordF350utility_Shell_white,
		}
        skin
		{
			texture = Vehicles/Vehicles_93fordF350utility_Shell_black,
		}
        skin
		{
			texture = Vehicles/Vehicles_93fordF350utility_Shell_red,
		}
        skin
		{
			texture = Vehicles/Vehicles_93fordF350utility_Shell_yellow,
		}
        skin
		{
			texture = Vehicles/Vehicles_93fordF350utility_Shell_green,
		}
        skin
		{
			texture = Vehicles/Vehicles_93fordF350utility_Shell_blue,
		}

		textureRust = Vehicles/Vehicles_93fordF350_Rust,
		textureMask = Vehicles/Vehicles_93fordF350utilityFd_Mask,
		textureLights = Vehicles/Vehicles_93fordF350utility_Lights,
		textureDamage1Shell = Vehicles/Vehicles_93fordF350utility_Damage1,
		textureDamage2Shell = Vehicles/Vehicles_93fordF350utility_Damage2,
		textureDamage1Overlay = Vehicles/Vehicles_93fordF350_Blood1,
		textureDamage2Overlay = Vehicles/Vehicles_93fordF350_Blood1,
		textureShadow = Vehicles/Vehicles_93fordF350_Shadow,

		sound
		{
			engine = VehicleEngineOffRoad,
			engineStart = VehicleEngineOffRoad,
			engineTurnOff = VehicleEngineOffRoad,
			horn = VehicleHornJeep,
			ignitionFail = VehicleIgnitionFailOffRoad,
		}

		extents = 2.0000 1.3778 6.6222,
		mass = 880,
		physicsChassisShape = 2.0000 1.3778 6.6222,
		centerOfMassOffset = 0.0000 0.8444 -0.0889,
		shadowExtents = 2.1542 6.4150,
		shadowOffset = -0.0000 0.0190,
		engineForce = 4200,
		maxSpeed = 85f,
		engineLoudness = 85,
		engineQuality = 76,
		brakingForce = 65,
		stoppingMovementForce = 4.0f,
		rollInfluence = 0.96f,
		steeringIncrement = 0.04,
		steeringClamp = 0.3,
		suspensionStiffness = 37,
		suspensionCompression = 3.84,
		suspensionDamping = 2.84,
		maxSuspensionTravelCm = 14,
		suspensionRestLength = 0.20f,
		wheelFriction = 1.7f,
		frontEndHealth = 650,
		rearEndHealth = 450,
		seats = 4,

		wheel FrontLeft
		{
			front = true,
			offset = 0.8333 -0.6000 2.1667,
			radius = 0.38f,
			width = 0.25f,
		}

		wheel FrontRight
		{
			front = true,
			offset = -0.8333 -0.6000 2.1667,
			radius = 0.38f,
			width = 0.25f,
		}

		wheel RearLeft
		{
			front = false,
			offset = 0.8333 -0.6000 -2.0444,
			radius = 0.38f,
			width = 0.25f,
		}

		wheel RearRight
		{
			front = false,
			offset = -0.8333 -0.6000 -2.0444,
			radius = 0.38f,
			width = 0.25f,
		}

		template = PassengerSeat4,

		passenger FrontLeft
		{
			showPassenger = true,
			hasRoof = true,

			position inside
			{
				offset = 0.5111 0.0333 0.6111,
				rotate = 0.0000 0.0000 0.0000,
			}

			position outside
			{
				offset = 1.2444 -0.9111 0.3000,
				rotate = 0.0000 0.0000 0.0000,
				area = SeatFrontLeft,
			}
		}

		passenger FrontRight
		{
			showPassenger = true,
			hasRoof = true,

			position inside
			{
				offset = -0.5111 0.0333 0.6111,
				rotate = 0.0000 0.0000 0.0000,
			}

			position outside
			{
				offset = -1.2556 -0.9111 0.3333,
				rotate = 0.0000 0.0000 0.0000,
				area = SeatFrontRight,
			}
		}

		passenger RearLeft
		{
			showPassenger = true,
			hasRoof = true,

			position inside
			{
				offset = 0.5111 0.0333 -0.2111,
				rotate = 0.0000 0.0000 0.0000,
			}

			position outside
			{
				offset = 1.2778 -0.9000 -0.5556,
				rotate = 0.0000 0.0000 0.0000,
				area = SeatRearLeft,
			}
		}

		passenger RearRight
		{
			showPassenger = true,
			hasRoof = true,

			position inside
			{
				offset = -0.5111 0.0333 -0.2111,
				rotate = 0.0000 0.0000 0.0000,
			}

			position outside
			{
				offset = -1.2778 -0.9000 -0.5333,
				rotate = 0.0000 0.0000 0.0000,
				area = SeatRearRight,
			}
		}

		area Engine
		{
			xywh = 0.0000 3.6111 1.7556 0.7778,
		}

		area TruckBed
		{
			xywh = 0.0000 -3.7889 1.7556 0.7778,
		}

		area StorageLeft
		{
			xywh = 1.3889 -1.8889 0.7778 2.6889,
		}

		area StorageRight
		{
			xywh = -1.3889 -1.8889 0.7778 2.6889,
		}

		area SeatFrontLeft
		{
			xywh = 1.3889 1.0444 0.7778 1.1333,
		}

		area SeatFrontRight
		{
			xywh = -1.3889 1.0444 0.7778 1.1333,
		}

		area SeatRearRight
		{
			xywh = -1.3889 0.0333 0.7778 0.8889,
		}

		area SeatRearLeft
		{
			xywh = 1.3889 0.0333 0.7778 0.8889,
		}

		area GasTank
		{
			xywh = 1.6667 -1.0778 0.4222 0.4222,
		}

		area TireFrontLeft
		{
			xywh = 1.6667 2.3000 0.4222 0.4222,
		}

		area TireFrontRight
		{
			xywh = -1.6667 2.3000 0.4222 0.4222,
		}

		area TireRearLeft
		{
			xywh = 1.6667 -1.9111 0.4222 0.4222,
		}

		area TireRearRight
		{
			xywh = -1.6667 -1.9111 0.4222 0.4222,
		}

		template = F3502Seats,
		template = F3502TrunkCompartmentStock,

        part F3502Trunk
		{
            container
            {
                capacity = 100,
            }
        }

		template = F3502utilitySideStorage,
		template = F3502utilityTrunkDoor,

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

			model f350Int
			{
				file = 93fordF350Interior,
			}

			model fx50_int
			{
				file = 93fordFx50Interior,
			}

			model f350_bedutil
			{
				file = 93fordF350UtilityBed,
			}

			model f350longintutil
			{
				file = 93fordF350UtilityInterior,
			}

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

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

		template = GasTank,

		part GasTank
		{
			install
			{
				skills = Mechanics:7,
				recipes = Intermediate Mechanics,
			}

			uninstall
			{
				skills = Mechanics:7,
				recipes = Intermediate Mechanics,
			}
		}

		template = Battery,

		part Battery
		{
			model 3502Bat
			{
				file = 93fordF350TISbattery,
			}
		}

		template = Engine,
		template = Muffler,

		part Muffler
		{
			model 3502Muff
			{
				file = 93fordF350Muff,
                offset = 0 -0.1 0,
			}

			table install
			{
				recipes = Intermediate Mechanics,
			}

			table uninstall
			{
				recipes = Intermediate Mechanics,
			}
		}

		template = F3502EngineDoor,

		part Heater
		{
			category = engine,

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

		part PassengerCompartment
		{
			category = nodisplay,

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

		
		template = F3502Doors,
		template = F3502utilityArmor,
		template = F3502Bumpers,
		template = F3502utilityBumperRear,
		template = F3502SideSteps,
		template = F3502MudflapsStock,
		template = F3502TiresStock,
		template = F3502SpareTires,
		template = F3502RoofLights,
		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,
        template = F3502Windshields,
		template = F3502Windows,
        template = F3502Collision,

        template = DAMNglobal,
		template = DAMN93fordF350utility,

		attachment trailer
		{
			offset = 0.0000 -0.3222 -3.5111,
			rotate = 0.0000 0.0000 0.0000,
			zoffset = -1.0000,
		}

		attachment trailerfront
		{
			offset = 0.0000 -0.3222 3.2556,
			rotate = 0.0000 0.0000 0.0000,
			zoffset = 1.0000,
		}
	}
}
