//Naming
Name Samsung K9 Thunder
ShortName samsungThunder
//Visuals
Icon K9
Model rainfire.K9Thunder
Texture SkinK9Thunder
//Third Person Camera Distance
CameraDistance 9.5
//Throttle
MaxThrottle 1.7
MaxNegativeThrottle 0.5
//Steering modifiers
TurnLeftSpeed 0.3
TurnRightSpeed 0.3
//Drag
Drag 2.0
//For calculating whether wheels are on the ground or not for driving
WheelRadius 1.4
//The damage taken by the vehicle when falling. 1 = default calculated by height dropped from
FallDamageFactor 0.7
//Wheel positions for collision handling. Tanks still have 4 wheels, they are just the corner ones.
NumWheels 4
WheelPosition 0 -16 -9 -24
WheelPosition 1 -16 -9 24
WheelPosition 2 66 -9 24
WheelPosition 3 66 -9 -24
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 3000
//Inventory Slots
CargoSlots 8
ShellSlots 6
//Driver and passenger positions
Driver 0 30 0 -360 360 -3 85
RotatedDriverOffset -9 0 7
Passengers 0
BarrelPosition 167 35 1
//Secondary gun
AddGun -26 44 16 turret browningM2
//Delays are in ticks or 1/20ths of seconds
ShootDelay 3
ShellDelay 90
//Sounds
StartSound Leo2A4Slow
StartSoundLength 20
EngineSound Leo2A4Go
EngineSoundLength 20
BackSoundLength 20
BackSound Leo2A4Slow
EngineSoundRange 120
BackSoundRange 60
IdleSound HeavyDieselIdle
IdleSoundLength 60
ShootSoundPrimary M551FireShort
ShootSoundSecondary M2Fire
//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
AddRecipeParts turret 1 tankTurret 1 autoLoader 16 redstone
AddRecipeParts core 1 advancedTankBody 1 vehicleSeat 4 blockIron
AddRecipeParts leftTrack 1 catTrack
AddRecipeParts rightTrack 1 catTrack
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 10 green
//Health and collision
SetupPart core 2000 -32 0 -20 114 18 39
SetupPart leftTrack 800 -33 -9 -27 117 28 7
SetupPart rightTrack 800 -33 -9 20 117 28 7
SetupPart turret 1500 -32 21 -28 73 14 55
BulletDetection 1
Description A Self-Propelled Artillery Piece made by Samsung._Has autoloader to fire arty barrage faster.
WheelStepHeight 1.4
ModelScale 1.0
AllowAllAmmo False
AddAmmo 155mmHEShell
AddAmmo 155mmHEITracerShell
AddAmmo 155mmAPShell
AddAmmo 155mmAPITracerShell
AddAmmo 155mmLockOnShell
AddAmmo 155mmW48NuclearShell
RotateWheels True
IsExplosionWhenDestroyed true
CollisionDamageEnable true
CollisionDamageThrottle 0.25
CollisionDamageTimes 30
BulletSpeed 6
BulletSpread 2
DriverAimSpeed 1 0.8 0
DriverYawBeforePitch false
DriverTraverseSounds true
YawSound TurretTraverse1
YawSoundLength 21
PitchSound TurretTraverse2
PitchSoundLength 20
ShootParticlesPrimary largeexplode 4 0 -1
ShootParticlesPrimary largeexplode 4 0 0
ShootParticlesPrimary largeexplode 4 0 1
ShootParticlesPrimary explode 1 0 1
ShootParticlesPrimary explode 1 0 0
ShootParticlesPrimary explode 1 0 -1
ShootParticlesPrimary explode 2 0 2
ShootParticlesPrimary explode 2 0 0
ShootParticlesPrimary explode 2 0 -2
ShootParticlesPrimary cloud 2 0 2
ShootParticlesPrimary cloud 2 0 0
ShootParticlesPrimary cloud 2 0 -2
ShootParticlesPrimary cloud 3 0 0
ShootParticlesPrimary cloud 3 0 0
ShootParticlesPrimary cloud 3 0 0
ShootParticlesSecondary cloud 0.2 0 0
ShootParticlesSecondary flansmod.fmflame 0.3 0 0
//Radar shit, range in blocks and delay in ticks. Visible means if it does/doesn't have stealth, offset the lowness on screen.
hasRadar true
radarPositionOffset 25
radarRange 1000
radarVisible true
radarRefreshDelay 15
