﻿//---Standard-------------------------------------
// Naming
Name Stumbreon GunTruck
ShortName dwStumbreonTruckGun
//ItemID 001

// Visuals
Model dwvehicles.StumbreonGunTruck
Texture ABTvehicle_StumbreonUtilityTruck
//ModelScale 0.70
Icon StumbreonTruckGun
RotateWheels true

//Misc
Description Ambircon Technologies_Stumbreon Motor Company_[Gun Turret]

//Throttle
MaxThrottle 0.5
MaxNegativeThrottle 0.2

//Steering modifiers
TurnLeftSpeed 0.5
TurnRightSpeed 0.5

//Drag
Drag 1.0
//Mass (In tons)
Mass 2.5
//Moment of Inertia (in crazy units. Just fiddle with this until you find something nice)
MomentOfInertia 10.0

//More bounciness means the vehicle will bounce more upon going up slopes, but fall through the ground less
Bounciness 0.3

//For calculating whether wheels are on the ground or not for driving
WheelRadius 1.0

//Wheels
NumWheels 4
WheelPosition 0 -56 -8 -21
WheelPosition 1 -56 -8 21
WheelPosition 2 56 -8 21
WheelPosition 3 56 -8 -21

WheelSpringStrength 0.5

//If true, then all wheels will apply drive forces
FourWheelDrive true

//Sounds
EngineSound _Stumbreon_Drive
EngineSoundLength 68
//ShootSoundPrimary TankShell
//ShootSoundSecondary M60Shoot

//Driver and Passengers
Driver 24 25 -12 -60 60 -20 20
Passengers 2
Passenger 1 24 26 13 core -60 60 -45 45
Passenger 2 -53 46 0 core -360 360 -10 10 dwStumbreonMG Gunner
RotatedPassengerOffset 2 0 6 0
GunOrigin 2 -40 40 4

//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 2800

//Inventory Slots
CargoSlots 8

//Health, Collision and Parts
SetupPart core 1200 -82 0 -23 148 52 46
SetupPart frontLeftWheel 800 45 -8 -26 22 21 9
SetupPart frontRightWheel 800 45 -8 17 22 21 9
SetupPart backRightWheel 1200 -80 -8 16 49 21 9
SetupPart backLeftWheel 1200 -80 -8 -25 49 21 9

AddRecipeParts core 1 dwVehicleFrame 12 dwKipliteSheet 3 dwSeat 1 dwVehicleMachineGun  
AddRecipeParts backLeftWheel 2 dwWheelGround 2 dwKipliteSheet 
AddRecipeParts frontLeftWheel 1 dwWheelGround 1 dwKipliteSheet 
AddRecipeParts frontRightWheel 1 dwWheelGround 1 dwKipliteSheet 
AddRecipeParts backRightWheel 2 dwWheelGround 2 dwKipliteSheet 
