//Naming
Name Navalgun_15.5cm_3rdYearType(SINGLE)
ShortName navalgun_15.5cm_3rdyeartype(single)
ItemID 11970
Description MAX HP:3500_Navalgun 15.5cm 3rdYearType Shell[HE]_Navalgun 15.5cm 3rdYearType Shell[AA]
//Visuals
Icon Navalgun_15.5cm_3rdYearType(SINGLE)
Model cvts.155mm_3rdYearTypeSINGLE
Texture Navalgun_15.5cm_3rdYearType(SINGLE)
//Third Person Camera Distance
CameraDistance 12.5
//Throttle
MaxThrottle 0
MaxNegativeThrottle 0
//Steering modifiers
TurnLeftSpeed 0
TurnRightSpeed 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 -43 -8 -43
WheelPosition 1 -43 -8 43
WheelPosition 2 43 -8 43
WheelPosition 3 43 -8 -43
WheelSpringStrength 0.5
//If true, then all wheels will apply drive forces
FourWheelDrive true
//Tank mode activate
Tank true
//Weapon types. Options are Missile, Bomb, Gun, Shell, None
Primary Shell
Secondary Shell
//Time between shots in 1/20ths of seconds
PlaceTimePrimary 160
ShootDelayPrimary 190
ReloadTimePrimary 190
PlaceTimeSecondary 
ShootDelaySecondary 
ReloadTimeSecondary 
BulletSpeed 7.0
BulletSpread 1
//Whether to alternate or fire all together
AlternatePrimary False
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 32 18 0 turret 
ShootParticlesPrimary hugeexplosion 10 0 0
ShootParticlesPrimary largeexplode 8 0 0
ShootParticlesPrimary explode 8 0 0
ShootParticlesPrimary explode 8 0 0
ShootParticlesPrimary explode 8 0 0
ShootParticlesPrimary explode 8 0 0
ShootParticlesPrimary explode 8 0 0
ShootParticlesPrimary explode 8 0 0
ShootParticlesPrimary explode 9 0 0
ShootParticlesPrimary explode 9 0 0
ShootParticlesPrimary explode 9 0 0
ShootParticlesPrimary explode 9 0 0
ShootParticlesPrimary explode 9 0 0
ShootParticlesPrimary explode 9 0 0
ShootParticlesPrimary cloud 8 0 0
ShootParticlesPrimary cloud 8 0 0
ShootParticlesPrimary cloud 8 0 0
ShootParticlesPrimary cloud 8 0 0
ShootParticlesPrimary cloud 8 0 0
ShootParticlesPrimary cloud 8 0 0
ShootParticlesPrimary cloud 9 0 0
ShootParticlesPrimary cloud 9 0 0
ShootParticlesPrimary cloud 9 0 0
ShootParticlesPrimary cloud 9 0 0
ShootParticlesPrimary cloud 9 0 0
ShootParticlesPrimary cloud 9 0 0
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 0
//Inventory Slots
CargoSlots 0
ShellSlots 0
MissileSlots 8
//Driver and passenger positions
Driver 0 28 0 -360 360 -10 75
RotatedDriverOffset 20 0 0
Passengers 0
AllowAllAmmo False
AddAmmo navalgun_15.5cm_3rdyeartype_shell[he]
AddAmmo navalgun_15.5cm_3rdyeartype_shell[aa]
AddAmmo dummyammo
//Sounds
StartSound 
StartSoundLength 0
EngineSound 
EngineSoundLength 0
PlaceSoundPrimary PlaceSound1
ShootSoundPrimary Navalgun_155mm_3rdYearType_fire
ReloadSoundPrimary Navalgun_155mm_3rdYearType_reload
PlaceSoundSecondary None
ShootSoundSecondary None
ReloadSoundSecondary None
//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 parts_tankturret 20 iron
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
//AddDye 0 gray
//Health and collision
SetupPart core 3500 -83 -10 -48 144 62 96
BulletDetection 5
IsExplosionWhenDestroyed true
PlaceableOnLand true
PlaceableOnSponge true
CollisionDamageEnable false
CollisionDamageThrottle 0.75
CollisionDamageTimes 1