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


//---Standard-------------------------------------
// Naming
Name M4A3 Sherman
ShortName WW2_Vehicle_M4A3_1A


// Visuals
Model Manus_WW2.Vehicle.WW2_Vehicle_M4A3_1
Icon Icon_WW2_Vehicle_M4A3_1A


// Recipe


//Misc

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

//---Driveables-----------------------------------
//Visuals
Texture Skin_WW2_Vehicle_M4A3_1A


//Movement
MaxThrottle 0.6
MaxNegativeThrottle 0.3
Drag 1.0


//Wheels
WheelPosition 0 -35 -8 -25
WheelPosition 1 -35 -8 25
WheelPosition 2 42 -8 25
WheelPosition 3 42 -8 -25
WheelRadius 1.0
WheelSpringStrength 0.5


//Inventory Slots
FuelTankSize 2000
CargoSlots 0
ShellSlots 5


//Recipe
AddRecipeParts turret 1 SMP_Part_Turret_Tank 10 SMP_Part_Mat_Armor_Steel
AddRecipeParts core 1 SMP_Part_Chassis_Tank 16 SMP_Part_Mat_Armor_Steel
AddRecipeParts leftTrack 1 SMP_Part_Wheel_Tanktrack
AddRecipeParts rightTrack 1 SMP_Part_Wheel_Tanktrack
AddDye 10 green


//Floating


//Weapons
AllowAllAmmo False
AddAmmo WW2_Shell_USA76mmAP
AddGun 19 35 8 turret WW2_MG_BrowningM1919_1A
BarrelPosition 0 35 0
ShellDelay 110
ShootDelay 5


//Driver and Passengers
Driver 0 35 0 -360 360 -10 20
RotatedDriverOffset -8 0 8
Passengers 1
Passenger 1 26 15 14 core -30 30 -10 10 WW2_MG_BrowningM1919_1A FrontMG
GunOrigin 1 49 18 10


//Sounds
StartSound Engine
StartSoundLength 20
EngineSound Engine
EngineSoundLength 20
ShellSound TankShell


//Health and collision
SetupPart turret 450 -28 29 -20 47 15 40
SetupPart core 550 -53 -4 -16 104 32 32
SetupPart leftTrack 250 -53 -10 17 106 23 9
SetupPart rightTrack 250 -53 -10 -26 106 23 9
BulletDetection 7


//Misc
CameraDistance 7.5

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

//---Vehicle--------------------------------------
//Visuals
RotateWheels True


//Movement
FourWheelDrive true
TurnLeftSpeed 1
TurnRightSpeed 1


//Sound
ShellSound TankShell
ShootSound bullet


//Misc
Tank true

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