//Naming
Name M109A6 Paladin
ShortName M109A6
//Visuals
Icon M109A6
Model rainfire.M109A6
Texture SkinM109A6
//Third Person Camera Distance
CameraDistance 10.5
//Throttle
MaxThrottle 1.45
MaxNegativeThrottle 0.4
//Steering modifiers
TurnLeftSpeed 0.3
TurnRightSpeed 0.3
//Drag
Drag 15.0
//For calculating whether wheels are on the ground or not for driving
WheelRadius 1.5
//The damage taken by the vehicle when falling. 1 = default calculated by height dropped from
FallDamageFactor 0.75
//Wheel positions for collision handling. Tanks still have 4 wheels, they are just the corner ones.
NumWheels 4
WheelPosition 0 -41 -8 -26
WheelPosition 1 -41 -8 26
WheelPosition 2 34 -8 26
WheelPosition 3 34 -8 -26
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 3500
//Inventory Slots
CargoSlots 8
ShellSlots 6
//Driver and passenger positions
Driver 0 33 0 -360 360 -6 85
RotatedDriverOffset -43 0 16
Passengers 0
BarrelPosition 94 32 0
//Secondary gun
AddGun 12 49 24 turret browningM2
//Delays are in ticks or 1/20ths of seconds
ShootDelay 3
ShellDelay 100
//Sounds
StartSound RealEngineStart
StartSoundLength 80
EngineSound SomeEngineGo
EngineSoundLength 30
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
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 4 green
AddDye 10 brown
AddDye 8 gray
//Health and collision
SetupPart core 2500 -60 6 -30 109 14 60
SetupPart rightTrack 1000 -58 -9 -30 109 14 8
SetupPart leftTrack 1000 -58 -9 22 109 14 8
SetupPart turret 1500 -68 21 -30 80 20 60
BulletDetection 1
Description An SPA made by Merica.
ModelScale 1.0
AllowAllAmmo False
AddAmmo 155mmHEShell
AddAmmo 155mmHEITracerShell
AddAmmo 155mmAPShell
AddAmmo 155mmAPITracerShell
AddAmmo 155mmLockOnShell
AddAmmo 155mmW48NuclearShell
RotateWheels False
IsExplosionWhenDestroyed true
CollisionDamageEnable true
CollisionDamageThrottle 0.25
CollisionDamageTimes 20
DriverAimSpeed 1 0.8 0
DriverYawBeforePitch false
DriverTraverseSounds true
YawSound TurretTraverse1
YawSoundLength 21
PitchSound TurretTraverse2
PitchSoundLength 20
BulletSpeed 6
BulletSpread 3
//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
