﻿//---Standard Vehicle Config for Flans Mod--------
//Created by Minecraft-SMP Toolbox 2.3.0.0


//---Standard-------------------------------------
// Naming
Name MT-12 Anti-Tank Gun
ShortName MT-12


// Visuals
Model WW3.MT12
ModelScale 0.7
Icon MT12





//Misc
Description Anti-Tank Gun

//------------------------------------------------

//---Driveables-----------------------------------
//Visuals
Model WW3.MT12
Texture SkinMT12


//Movement
MaxThrottle 0
MaxNegativeThrottle 0


//Wheels
NumWheels 4
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


//Ammo
AddAmmo Shell100mm 


//Weapons
Primary SHELL
ShootDelayPrimary 110
ModePrimary FULLAUTO
ShootPointPrimary 0 14 0 core 
ShootDelay 1
ShellDelay 110


//Driver and Passengers
Driver 0 7 0 -90 90 -15 20
Passengers 0


//Inventory Slots
CargoSlots 0
ShellSlots 5
FuelTankSize 2000



//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 aaBarrel 
AddRecipeParts core 1 LightTankBody 1 vehicleSeat
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 5 green


//Health and collision
SetupPart core 2000 -12 -6 -18 44 27 36
BulletDetection 10


//Misc
CameraDistance 7.5


//Sounds
StartSoundLength 0
EngineSoundLength 0
ShootSoundPrimary Tank3Shoot

//------------------------------------------------

//---Vehicle--------------------------------------
//Visuals


//Movement
TurnLeftSpeed 0
TurnRightSpeed 0
FourWheelDrive True


//Misc
Tank False
ShootDelay 110
ShellDelay 110


//Sound

//------------------------------------------------

//Misc
Description Ammo: 100mm Shell