// ------------------------------------------------------ Naming ------------------------------------------------------
Name Bystrochodnij Tankov-7 Command Fast Tank
ShortName betushka71U
ItemID 69012
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon bt7u
Model rainfire.BT7
Texture SkinBT7
//Third Person Camera Distance
CameraDistance 12.0
// ------------------------------------------------------ Movement ------------------------------------------------------
//Throttle
MaxThrottle 2.2
MaxNegativeThrottle 0.8
//Steering modifiers
TurnLeftSpeed 0.45
TurnRightSpeed 0.45
//Drag
Drag 1.1
//For calculating whether wheels are on the ground or not for driving
WheelRadius 1.2
//The damage taken by the vehicle when falling. 1 = default calculated by height dropped from
FallDamageFactor 0.65
//Wheel positions for collision handling. Tanks still have 4 wheels, they are just the corner ones.
NumWheels 4
WheelPosition 0 -44 -9 -18
WheelPosition 1 -44 -9 18
WheelPosition 2 25 -9 18
WheelPosition 3 25 -9 -18
WheelSpringStrength 0.5
//Bouncy bouncy
Bounciness 0.3
//If true, then all wheels will apply drive forces
FourWheelDrive true
//Tank mode activate
Tank true
// ------------------------------------------------------ Weaponry ------------------------------------------------------
//Weapon types. Options are Missile, Bomb, Gun, Shell, None
Primary Shell
Secondary Gun
//Time between shots in 1/20ths of seconds
ShootDelayPrimary 90
ShootDelaySecondary 2
//Whether to alternate or fire all together
AlternatePrimary True
AlternateSecondary False
//Firing modes. One of SemiAuto, FullAuto or Minigun
ModePrimary FullAuto
ModeSecondary FullAuto
//Add shoot origins. These are the points on your vehicle from which bullets / missiles / shells / bombs appear
ShootPointPrimary 45 25 0 turret
ShootPointSecondary 21 24 5 turret browningM1919A6
// ------------------------------------------------------ Inventory ------------------------------------------------------
CargoSlots 4
ShellSlots 12
AllowAllAmmo False
AddAmmo 45mmL46ShellAP
AddAmmo 45mmL46ShellHE
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 2400
// ------------------------------------------------------ Passengers ------------------------------------------------------
Driver 0 24 0 -360 360 -8 24
RotatedDriverOffset -6 0 6
Passengers 5
Passenger 1 0 24 0 turret
RotatedPassengerOffset 1 -6 0 -6
Passenger 2 -30 18 15 core
Passenger 3 -45 18 12 core
Passenger 4 -30 18 -15 core
Passenger 5 -45 18 -12 core
// ------------------------------------------------------- Sounds -------------------------------------------------------
StartSound TankEngine
StartSoundLength 20
EngineSound PanzerIVGo
EngineSoundLength 30
ShootSoundPrimary 5cmTankGun
ShootSoundSecondary 30-06Fire
//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 vehicleSeat
AddRecipeParts core 1 tankBody 1 vehicleSeat 2 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 6 green
//Health and collision
SetupPart core 600 -60 -4 -15 95 21 30 22
SetupPart turret 400 -20 18 -15 36 12 30 15
SetupPart rightTrack 150 -60 -10 15 100 16 6
SetupPart leftTrack 150 -60 -10 -21 100 16 6
BulletDetection 1
Description 1937 command model of BT-7 fast tank._Goes over 80km/h, making it the fastest tank in pack currently.
RotateWheels True
IsExplosionWhenDestroyed true
CollisionDamageEnable true
CollisionDamageThrottle 0.35
CollisionDamageTimes 50
//Scope
hasScope true
nightScope true
Gunsight sovietscopeNVww2
gunsightZoom 2.6
//Bullet
BulletSpeed 7
BulletSpread 2
ModelScale 1.15
SetPlayerInvisible false
//Turret stuff
DriverAimSpeed 1.6 1.7 0
DriverYawBeforePitch false
DriverTraverseSounds true
YawSound TurretTraverse1
YawSoundLength 21
PitchSound TurretTraverse2
PitchSoundLength 20
RecoilDistance 14
RecoilTime 4
//Shoot stuff
ShootParticlesPrimary explode 0.2 0 0
ShootParticlesPrimary explode 0.4 0 0
ShootParticlesPrimary smoke 0.4 0 0
ShootParticlesPrimary cloud 0.2 0 0
ShootParticlesSecondary cloud 0.2 0 0
ShootParticlesSecondary flansmod.fmflame 0.2 0 0
//Although this doesn't have a "radar" per say, it's to simulate the command aspect of it
hasRadar true
radarPositionOffset 25
radarRange 180
radarVisible true
radarRefreshDelay 60

//Smonk stuff
AddEmitter cloud 1 [-58,19,-7] [1,1,1] [-0.5,-1.5,0] 0.2 1 0 1 core
AddEmitter cloud 1 [-58,19,7] [1,1,1] [-0.5,-1.5,0] 0.2 1 0 1 core
AddEmitter explode 1 [-58,19,-7] [1,1,1] [-0.75,-1.5,0] 0.4 1 0 1 core
AddEmitter explode 1 [-58,19,7] [1,1,1] [-0.75,-1.5,0] 0.4 1 0 1 core
AddEmitter largesmoke 2 [-58,19,-7] [1,1,1] [-0.75,-1.5,0] 0.8 1 0 1 core
AddEmitter largesmoke 2 [-58,19,7] [1,1,1] [-0.75,-1.5,0] 0.8 1 0 1 core

//Owie
AddEmitter largesmoke 2 [-58,19,-7] [1,1,1] [0,1.5,0] -1 1 0 0.4 core
AddEmitter largesmoke 2 [-58,19,7] [1,1,1] [0,1.5,0] -1 1 0 0.4 core
AddEmitter flame 1 [-58,19,-7] [1,1,1] [0,0.5,0] -1 1 0 0.25 core
AddEmitter flame 1 [-58,19,7] [1,1,1] [0,0.5,0] -1 1 0 0.25 core
AddEmitter largesmoke 3 [-58,19,-7] [1,1,1] [0,1,0] -1 1 0 0.25 core
AddEmitter largesmoke 3 [-58,19,7] [1,1,1] [0,1,0] -1 1 0 0.25 core