//Naming
Name K-II Timberwolf
ShortName dwK2Timberwolf

//Visuals
Icon K2Timberwolf
Model dwvehicles.K2Timberwolf
Texture vehicles/LPMvehicle_KIITimberwolf
RotateWheels true

//Third Person Camera Distance
CameraDistance 11.5

//Throttle
MaxThrottle 0.5
MaxNegativeThrottle 1.0
//Steering modifiers
TurnLeftSpeed 0.5
TurnRightSpeed 0.5

//Drag
Drag 10.0

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

//Wheel positions for collision handling. Tanks still have 4 wheels, they are just the corner ones.
NumWheels 4
WheelPosition 0 -49 -8 -29
WheelPosition 1 -49 -8 29
WheelPosition 2 49 -8 29
WheelPosition 3 49 -8 -29
WheelSpringStrength 0.5

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

//Tank mode activate
Tank true

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

//Inventory Slots
CargoSlots 4
ShellSlots 4

//Driver and passenger positions
Driver 0 38 0 -360 360 -10 20
RotatedDriverOffset -4 0 9
BarrelPosition 131 26 0
Passengers 0

//Secondary gun
ShootPointSecondary 18 54 -9 turret dwSf370b

//Delays are in ticks or 1/20ths of seconds
ShootDelay 2
ShellDelay 70
AllowAllAmmo False
AddAmmo dwTankShellHE

//Sounds
StartSound Engine
StartSoundLength 20
EngineSound _K2Timberwolf_Drive
EngineSoundLength 59
ShootSoundPrimary _K2Timberwolf_Fire
ShootSoundSecondary _SF370BFire

//Recipe
//Each section of the plane may have many parts
//The sections are tailWheel, tail, bay, topWing, leftWingWheel, leftWing, rightWingWheel,
//rightWing, nose, turret, coreWheel, core
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"

AddDye 10 brown
AddRecipeParts leftTrack 4 dwWheelGround 1 dwKipliteSheet
AddRecipeParts rightTrack 4 dwWheelGround 1 dwKipliteSheet
AddRecipeParts core 1 dwVehicleFrame 12 dwKipliteSheet 1 dwSeat
AddRecipeParts turret 1 dwTankTurret 6 dwKipliteSheet 2 dwSf370b

//Health and collision
SetupPart leftTrack 1200 -60 -9 -35 120 22 12
SetupPart rightTrack 1200 -60 -9 23 120 22 12
SetupPart core 2500 -71 5 -38 140 21 76
SetupPart turret 1700 -48 26 -25 90 19 49


