// ------------------------------------------------------ Naming ------------------------------------------------------
Name BK-1124 River Boat
ShortName bk1124
ItemID 7464
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon bk1124
Model rainfire.BK1124
Texture SkinBK1124
//Third Person Camera Distance
CameraDistance 10.0
// ------------------------------------------------------ Movement ------------------------------------------------------
//Throttle
MaxThrottle 0.3563
MaxNegativeThrottle 0.2
ThrottleDecay 0.0
//Steering modifiers
TurnLeftSpeed 0.35
TurnRightSpeed 0.35
Drag 1.0
//For calculating whether wheels are on the ground or not for driving
WheelRadius 1.0
//Wheel positions for collision handling. Tanks still have 4 wheels, they are just the corner ones.
NumWheels 4
WheelPosition 0 -184 -9 -30
WheelPosition 1 -184 -9 30
WheelPosition 2 172 -9 20
WheelPosition 3 172 -9 -20
WheelSpringStrength 0.5
//If true, then all wheels will apply drive forces
FourWheelDrive false
// ------------------------------------------------------ Weaponry ------------------------------------------------------
//Weapon types. Options are Missile, Bomb, Gun, Shell, None
Primary Shell
Secondary Gun
//Time between shots in 1/20ths of seconds
ShootDelayPrimary 110
ShootDelaySecondary 2
//Whether to alternate or fire all together
AlternatePrimary False
AlternateSecondary True
//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 118 20.5 0 turret 
ShootPointSecondary 92 18.5 4 turret pm1910MG
------- Inventory ------------------------------------------------------
CargoSlots 4
BombSlots 0
ShellSlots 4
AllowAllAmmo False
AddAmmo 76mmShellAPRus
AddAmmo 76mmShellHERus
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 2000
// ------------------------------------------------------ Passengers ------------------------------------------------------
Driver 25 33 0 -360 360 -6 26
Passengers 2
Passenger 1 -3 50 0 core -360 360 -12 42 browningM2 PassengerGun2
GunOrigin 1 4 42 0
Passenger 2 -67 39 0 core 15 345 -5 30 katyushaLauncher PassengerGun1
RotatedPassengerOffset 2 -6 0 0
GunOrigin 2 -71 31 0
PassengerAimSpeed 1 2.0 1.4 0
PassengerAimSpeed 2 0.8 0.8 0
// ------------------------------------------------------- Sounds -------------------------------------------------------
StartSound Engine
StartSoundLength 24
EngineSound RealEngineStart
EngineSoundLength 29
ShootSoundPrimary 76mmRusFire
ShootSoundSecondary VZ59Fire
//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 core 24 blockIron
AddRecipeParts turret 1 tankTurret
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 4 white
//Health and collision
SetupPart core 1200 -168 -22 -33 340 32 66 13
SetupPart turret 600 59 6 -14 27 20 28 55
BulletDetection 10
ModelScale 1.0
Description Soviet River boat that's a combination of_common Russian army equipment._It is at full scale compared to other boats.
Boat
PlaceableOnLand False
PlaceableOnWater True
FloatOnWater True
WheelStepHeight 0
Buoyancy 0.8
IsExplosionWhenDestroyed false
CollisionDamageEnable true
CollisionDamageThrottle 0.35
CollisionDamageTimes 40
RotateWheels True
TurretOrigin 72 -2 0
//Turret stuff
DriverAimSpeed 1.7 1.8 0
DriverYawBeforePitch false
DriverTraverseSounds true
YawSound TurretTraverse1
YawSoundLength 21
PitchSound TurretTraverse2
PitchSoundLength 20
RecoilDistance 14
RecoilTime 8
//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

//Smonkstaks

AddEmitter largesmoke 2 [-211,10,-15] [2,5,2] [0,0,0] 0.01 1 0 1 core

//Owie 1
AddEmitter largesmoke 4 [-211,10,-15] [2,5,2] [-0.05,0,0] -1 1 0 0.4 core

//Owie 2
AddEmitter flame 2 [-211,10,-15] [2,5,2] [-0.05,0,0] -1 1 0 0.2 core