﻿//---Standard-------------------------------------
// Naming
Name Kattusha M-SAT
ShortName dwKattushaMSAT
//ItemID 001

// Visuals
Model dwvehicles.KattushaMAWMissile
Texture LPMvehicle_KattushaMAW_Armed
ModelScale 0.70
Icon KattushaMAWMissile
RotateWheels true

//Third Person Camera Distance
CameraDistance 11.5

//Misc
Description Lupine Military_Kattusha Automotive_[Missile Carrier]

//Throttle
MaxThrottle 0.6
MaxNegativeThrottle 0.3

//Steering modifiers
TurnLeftSpeed 0.3
TurnRightSpeed 0.3

//Drag
Drag 1.0
//Mass (In tons)
Mass 1.3
//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 -39 -8 -18
WheelPosition 1 -39 -8 17
WheelPosition 2 31 -8 17
WheelPosition 3 31 -8 -18

WheelSpringStrength 0.5

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

//Sounds
EngineSound _Kattusha_Drive
EngineSoundLength 30
//ShootSoundPrimary TankShell
//ShootSoundSecondary M60Shoot

//Driver and Passengers
Driver 1 6 -8 -60 60 -20 20

Passengers 2
Passenger 1 1 6 8 core -60 60 -45 45
Passenger 2 -34 7 -1 core -360 360 -20 35 dwKatyushaAvml Katyusha_Missiles
GunOrigin 2 0 20 0

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

//Inventory Slots
CargoSlots 8

//Health, Collision and Parts
SetupPart core 1000 -54 0 -16 96 27 33
SetupPart backLeftWheel 250 -49 -8 -19 20 20 7
SetupPart frontLeftWheel 250 21 -8 -19 20 20 7
SetupPart frontRightWheel 250 21 -8 13 20 20 7
SetupPart backRightWheel 250 -49 -8 13 20 20 7

AddRecipeParts core 1 dwVehicleFrame 1 dwTerminalModule 1 dwVehicleRocket 8 dwKipliteSheet 3 dwSeat
AddRecipeParts backLeftWheel 1 dwWheelGround
AddRecipeParts frontLeftWheel 1 dwWheelGround
AddRecipeParts frontRightWheel 1 dwWheelGround
AddRecipeParts backRightWheel 1 dwWheelGround
