module Base { model SprinterAE86Base { mesh = vehicles/Vehicles_SprinterAE86_Body|body, shader = vehicle_multiuv, invertX = FALSE, scale = 1, } model SprinterAE86_Headlights { mesh = vehicles/Vehicles_SprinterAE86_Body|lights, static = FALSE, shader = vehicle, scale = 1.0, boneWeight = Lights_Bone 1.0, } model SprinterAE86_hood { mesh = vehicles/Vehicles_SprinterAE86_Body|Hood, shader = vehicle, static = FALSE, scale = 1.0, boneWeight = Hood_Bone 1.0, } model SprinterAE86frontwheelleft { mesh = vehicles/Vehicles_SprinterAE86_Wheel, texture = Vehicles/SprinterAE86_base, shader = vehiclewheel, } model SprinterAE86frontwheelright { mesh = vehicles/Vehicles_SprinterAE86_Wheel, texture = Vehicles/SprinterAE86_base, shader = vehiclewheel, } model SprinterAE86backwheelleft { mesh = vehicles/Vehicles_SprinterAE86_Wheel, texture = Vehicles/SprinterAE86_base, shader = vehiclewheel, } model SprinterAE86backwheelright { mesh = vehicles/Vehicles_SprinterAE86_Wheel, texture = Vehicles/SprinterAE86_base, shader = vehiclewheel, } vehicle SprinterAE86 { mechanicType = 3, offRoadEfficiency = 0.9, engineRepairLevel = 4, playerDamageProtection = 0.8, model { file = SprinterAE86Base, scale = 1.0000, offset = 0.0000 0.1000 0.0000, } skin { texture = Vehicles/SprinterAE86_base, } textureRust = Vehicles/SprinterAE86_Rust, textureMask = Vehicles/SprinterAE86_Mask, textureLights = Vehicles/SprinterAE86_Lights, textureDamage1Shell = Vehicles/SprinterAE86_shell_Damaged01, textureDamage1Overlay = Vehicles/SprinterAE86_Damaged01, textureDamage2Shell = Vehicles/SprinterAE86_shell_Damaged02, textureDamage2Overlay = Vehicles/SprinterAE86_Damaged02, sound { engine = VehicleEngineCarNormal, engineStart = VehicleEngineCarNormal, engineTurnOff = VehicleEngineCarNormal, horn = VehicleHornStandard, ignitionFail = VehicleIgnitionFailCarNormal, } extents = 1.3400 0.8600 3.2600, mass = 780, physicsChassisShape = 1.3400 0.8600 3.2400, centerOfMassOffset = 0.0000 0.3500 0.0000, shadowExtents = 1.4690 3.3400, shadowOffset = 0.0000 0.0000, engineForce = 4750, engineLoudness = 85, engineQuality = 60, maxSpeed = 135f, gearRatioCount = 5, stoppingMovementForce = 3.0f, rollInfluence = 0.7f, steeringIncrement = 0.04, steeringClamp = 0.3, suspensionStiffness = 50, suspensionCompression = 4.1, suspensionDamping = 3.4, maxSuspensionTravelCm = 20, suspensionRestLength = 0.2f, wheelFriction = 1.8f, frontEndHealth = 150, rearEndHealth = 150, seats = 4, wheel FrontLeft { front = true, offset = 0.5800 -0.1200 0.9900, radius = 0.15f, width = 0.2f, } wheel FrontRight { front = true, offset = -0.5800 -0.1200 0.9900, radius = 0.15f, width = 0.2f, } wheel RearLeft { front = false, offset = 0.5800 -0.1200 -0.8800, radius = 0.15f, width = 0.2f, } wheel RearRight { front = false, offset = -0.5800 -0.1200 -0.8800, radius = 0.15f, width = 0.2f, } template = PassengerSeat4, passenger FrontLeft { position inside { offset = -0.3000 -0.2000 0.0500, rotate = 0.0000 0.0000 0.0000, } position outside { offset = -0.9500 -0.4700 -0.0900, rotate = 0.0000 0.0000 0.0000, area = SeatFrontLeft, } } passenger FrontRight { position inside { offset = 0.3000 -0.1900 0.0600, rotate = 0.0000 0.0000 0.0000, } position outside { offset = 0.9500 -0.4700 -0.0800, rotate = 0.0000 0.0000 0.0000, area = SeatFrontRight, } } passenger RearLeft { position inside { offset = -0.3000 -0.1900 -0.8600, rotate = 0.0000 0.0000 0.0000, } position outside { offset = -0.9500 -0.4700 -0.4100, rotate = 0.0000 0.0000 0.0000, area = SeatRearLeft, } } passenger RearRight { position inside { offset = 0.3000 -0.1900 -0.8700, rotate = 0.0000 0.0000 0.0000, } position outside { offset = 0.9500 -0.4700 -0.4100, rotate = 0.0000 0.0000 0.0000, area = SeatRearRight, } } area Engine { xywh = 0.0000 1.8300 1.1200 0.4200, } area TruckBed { xywh = 0.0000 -1.9100 1.1200 0.6000, } area SeatFrontLeft { xywh = -1.0200 0.0500 0.7000 1.0600, } area SeatFrontRight { xywh = 1.0300 0.0800 0.7000 1.0600, } area SeatRearRight { xywh = 1.0300 0.0800 0.7000 0.9800, } area SeatRearLeft { xywh = -1.0200 0.0400 0.7000 0.9800, } area GasTank { xywh = -0.8800 -1.2700 0.4200 0.4200, } area TireFrontLeft { xywh = 0.8800 1.0000 0.4200 0.4200, } area TireFrontRight { xywh = -0.8900 1.0000 0.4200 0.4200, } area TireRearLeft { xywh = 0.8800 -0.8600 0.4200 0.4200, } area TireRearRight { xywh = -0.8900 -0.8600 0.4200 0.4200, } template = TrunkDoor, template = Trunk/part/TruckBed, part TruckBed { itemType = Base.SmallTrunk, container { capacity = 45, } } template = Seat/part/SeatFrontLeft, template = Seat/part/SeatFrontRight, template = Seat/part/SeatRearLeft, template = Seat/part/SeatRearRight, part SeatRearLeft { table install { area = SeatFrontLeft, } table uninstall { area = SeatFrontLeft, } } part SeatRearRight { table install { area = SeatFrontRight, } table uninstall { area = SeatFrontRight, } } part Seat* { container { capacity = 20, } table install { skills = Mechanics:2, } table uninstall { skills = Mechanics:2, } } part GloveBox { area = SeatFrontRight, itemType = Base.GloveBox, container { capacity = 3, test = Vehicles.ContainerAccess.GloveBox, } lua { create = Vehicles.Create.Default, } } template = GasTank, template = Battery, template = Engine, template = Muffler, template = EngineDoor, part EngineDoor { table install { recipes = Advanced Mechanics, } table uninstall { recipes = Advanced Mechanics, } model Default { file = SprinterAE86_hood, } anim Close { anim = Hood_Closing, rate = 0.5, } anim Open { anim = Hood_Closing, reverse = TRUE, rate = 1.0, } anim Closed { anim = Hood_Closing, reverse = TRUE, animate = FALSE, } anim Opened { anim = Hood_Closing, animate = FALSE, } } part Heater { category = engine, lua { update = Vehicles.Update.Heater, } } part PassengerCompartment { category = nodisplay, lua { update = Vehicles.Update.PassengerCompartment, } } template = Windshield/part/Windshield, template = Windshield/part/WindshieldRear, template = Window/part/WindowFrontLeft, template = Window/part/WindowFrontRight, template = Window/part/WindowRearLeft, template = Window/part/WindowRearRight, part WindowRearLeft { area = TireRearLeft, parent =, table install { requireInstalled =, } } part WindowRearRight { area = TireRearRight, parent =, table install { requireInstalled =, } } template = Door/part/DoorFrontLeft, template = Door/part/DoorFrontRight, template = Tire, part TireFrontLeft { model InflatedTirePlusWheel { file = SprinterAE86frontwheelleft, } } part TireFrontRight { model InflatedTirePlusWheel { file = SprinterAE86frontwheelright, } } part TireRearLeft { model InflatedTirePlusWheel { file = SprinterAE86backwheelleft, } } part TireRearRight { model InflatedTirePlusWheel { file = SprinterAE86backwheelright, } } template = Brake, template = Suspension, template = Radio, template = Headlight, template = ATAHeadlights/part/ATAHeadlightsPopUP, part ATAHeadlightsPopUP { model Default { file = SprinterAE86_Headlights, rotate = 0 0 0, } anim Close { anim = Lights_Closing, rate = 0.5, } anim Open { anim = Lights_Closing, reverse = TRUE, rate = 0.5, } anim Closed { anim = Lights_Closing, reverse = TRUE, animate = FALSE, } anim Opened { anim = Lights_Closing, animate = FALSE, } } attachment trailer { offset = 0.0000 0.1300 -1.6900, rotate = 0.0000 0.0000 0.0000, zoffset = -1.0000, } attachment trailerfront { offset = 0.0000 0.0500 1.7200, rotate = 0.0000 0.0000 0.0000, zoffset = 1.0000, } } }