//Naming
Name M4 Troll Sherman
ShortName trollSherman
ItemID 69012
//Visuals
Icon trollface
Model ww2.Sherman
Texture CamelDerp
//Third Person Camera Distance
CameraDistance 12.0
//Throttle
MaxThrottle 0.6
MaxNegativeThrottle 0.2
//Steering modifiers
TurnLeftSpeed 0.15
TurnRightSpeed 0.15
//For calculating whether wheels are on the ground or not for driving
WheelRadius 1.2
//Wheel positions for collision handling. Tanks still have 4 wheels, they are just the corner ones.
WheelPosition 0 -32 -8 -20
WheelPosition 1 -32 -8 20
WheelPosition 2 32 -8 20
WheelPosition 3 32 -8 -20
WheelSpringStrength 0.5
//Bouncy bouncy
Bounciness 0.3
//If true, then all wheels will apply drive forces
FourWheelDrive false
//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 5000
//Inventory Slots
CargoSlots 8
ShellSlots 6
//Driver and passenger positions
Driver 0 30 0 -360 360 -10 85
RotatedDriverOffset 10 0 -8
//Secondary gun
AddGun 8 18 8 turret flamer
Passengers 0
BarrelPosition 4 33 5
//Delays are in ticks or 1/20ths of seconds
ShootDelay 2
ShellDelay 6
//Sounds
StartSound Engine
StartSoundLength 20
EngineSound Engine
EngineSoundLength 20
ShootSoundPrimary 76mmGunM1
ShootSoundSecondary fireball
//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 1 autoLoader
AddRecipeParts core 2 tankBody 1 vehicleSeat 8 bedrock
AddRecipeParts leftTrack 4 catTrack
AddRecipeParts rightTrack 4 catTrack
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 12 green
AddDye 2 gray
AddDye 8 white
AddDye 6 brown
//Health and collision
SetupPart core 2000 -40 -8 -20 80 36 40
SetupPart core 2000 60 -8 -20 80 36 40
SetupPart turret 1500 -16 28 -16 32 12 32
SetupPart leftTrack 1250 -40 -8 -24 80 20 4
SetupPart rightTrack 1250 -40 -8 20 80 20 4
BulletDetection 1
Description A sherman cabable of taking a direct FIM-92 Stinger shot.
//Boats
Boat
PlaceableOnLand True
PlaceableOnWater True
Buoyancy 0.08
WheelStepHeight 1.0
SquashMobs true
IsExplosionWhenDestroyed true
CollisionDamageEnable true
CollisionDamageThrottle 0.2
CollisionDamageTimes 1
BulletSpeed 7
BulletSpread 0
DriverAimSpeed 1 0.2 0