//Naming
Name FV107 Scimitar
Description 30mm RARDEN cannon
ShortName FV107
//Visuals
Icon FV107
Model bmp.Scimitar
Texture Scorpion
//Third Person Camera Distance
CameraDistance 11.5
//Throttle
MaxThrottle 1.0
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.
WheelPosition 0 -45 -10 -18
WheelPosition 1 -45 -10 18
WheelPosition 2 45 -10 18
WheelPosition 3 45 -10 -18
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 0
ShellSlots 5
//Driver and passenger positions
Driver 0 24 0 -360 360 -10 20
RotatedDriverOffset -4 0 -6
//Turret rotation stuff
DriverAimSpeed 2.34 2.34 0
DriverYawBeforePitch false
DriverTraverseSounds true
YawSound TurretTraverse1
YawSoundLength 21
PitchSound TurretTraverse2
PitchSoundLength 20
Passengers 0
BarrelPosition 46 27 0
//Secondary gun
//Delays are in ticks or 1/20ths of seconds
ShootDelay 1
ShellDelay 7
AllowAllAmmo False
AddAmmo RARDEN
//Sounds
StartSound ScorpionIdle
StartSoundLength 10
EngineSound ScorpionRun
EngineSoundLength 39
ShootSoundPrimary RARDEN
ShootSoundSecondary M60Shoot
//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
AddRecipeParts core 1 tankBody 1 vehicleSeat 2 iron
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 gray
//Health and collision
SetupPart core 500 -31 0 -23 90 22 46
SetupPart turret 350 -26 22 -19 44 11 38
SetupPart rightTrack 200 -31 -9 -22 90 9 10
SetupPart leftTrack 200 -31 -9 12 90 9 10
BulletDetection 7
TrackFrames 3
//Basic emission
AddEmitter smoke 1 [-24,21,-16] [1,5,5] [-0.5,0,0] -2 2 0 1 core
//Stage 1
AddEmitter explode 3 [-24,21,-16] [1,5,5] [-0.5,0,0] 0.05 0.33 0 1
core
//Stage 1 shift
AddEmitter explode 1 [-24,21,-16] [1,5,5] [-3,0,0] 0.05 0.07 0 1
core
//Stage 2
AddEmitter explode 2 [-24,21,-16] [1,5,5] [-1,0,0] 0.33 0.66 0 1 core
//Stage 2 shift
AddEmitter explode 1 [-24,21,-16] [1,5,5] [-3,0,0] 0.33 0.35 0 1 core
//Stage 3
AddEmitter explode 2 [-24,21,-16] [1,5,5] [-1.5,0,0] 0.66 2 0 1 core
AddEmitter largesmoke 2 [-24,21,-16] [1,5,5] [-1.5,0,0] 0.66 2 0 1
core
//Stage 3 shift
AddEmitter explode 1 [-24,21,-16] [1,5,5] [-3,0,0] 0.66 0.67 0 1
core
Harvester true
HarvestToolType Tank
HarvestBox [99,43,46] [-36,-10,-23]
IsExplosionWhenDestroyed true
CollisionDamageEnable true
CollisionDamageThrottle 0.21
CollisionDamageTimes 0