//Naming
Name Flak Vierling
ShortName Flak
//Visuals
Icon Flak
Model WW3.Flak
Texture SkinFlak
//Third Person Camera Distance
CameraDistance 7.5
//Throttle
MaxThrottle 0.0
MaxNegativeThrottle 0.0
//Steering modifiers
TurnLeftSpeed 0.0
TurnRightSpeed 0.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.
WheelPosition 0 -32 -8 -18
WheelPosition 1 -32 -8 18
WheelPosition 2 32 -8 18
WheelPosition 3 32 -8 -18
WheelSpringStrength 0.5
//Bouncy bouncy
Bounciness 0.1
//Floating
FloatOnWater True
//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 4000
//Inventory Slots
CargoSlots 0
ShellSlots 8
//Driver and passenger positions
Driver -3 16 0
Passengers 0
//Passenger 1 0 34 0 turret 60 28 -3 
//GunOrigin 1 0 40 0
BarrelPosition 60 28 -3 
//Passenger 2 0 34 0 turret 60 23 -3
//GunOrigin 2 0 40 0
BarrelPosition 60 23 -3
//Passenger 3 0 34 0 turret 60 23 3
//GunOrigin 3 0 40 0
BarrelPosition 60 23 3
//Passenger 4 0 34 0 turret 60 28 3
//GunOrigin 4 0 40 0
BarrelPosition 60 28 3

AddAmmo 2cmFlakAmmo

//Delays are in ticks or 1/20ths of seconds
ShootDelay 8
ShellDelay 8

//Health and collision
SetupPart core 3000 -22 0 -23 44 37 44
BulletDetection 10

//Sounds
StartSound -
StartSoundLength 20
EngineSound -
EngineSoundLength 75
ShootSoundPrimary Tank3Shoot
ShootSoundSecondary -
//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 4 aaBarrel 
AddRecipeParts core 1 tankBody 1 vehicleSeat
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 5 green


//Size Multiplier; scales up the model
ModelScale 1.65

//Misc
Description Ammo: 2cm Flak Ammo


