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


//---Standard-------------------------------------
// Naming
Name M8 Buford AGS
ShortName GFS_M8AGS
ItemID Your ID


// Visuals
Model gfs.M8AGS
ModelScale 1
Icon IconM8AGS


// Recipe


//Misc
Description US Airborne Light Tank_1x 105mm Rifled Gun_1x 7.62mm Machine Gun_1x 12.7mm Machine Gun_Reactive Armor_Introduction: 2025

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

//---Driveables-----------------------------------
//Visuals
Texture SkinM8AGS


//Movement
MaxThrottle 0.75
MaxNegativeThrottle 0.6
Drag 10.0


//Wheels
NumWheels 4
WheelPosition 0 -40 -10 -20
WheelPosition 1 -40 -10 20
WheelPosition 2 30 -10 20
WheelPosition 3 30 -10 -20
WheelRadius 1.5
WheelSpringStrength 0.5


//Floating
FloatOnWater False


//Ammo
BulletSpeed 8
BulletSpread 1
AllowAllAmmo False
AddAmmo GFS_105mmHEAT
AddAmmo GFS_105mmAPFSDS


//Weapons
Primary SHELL
Secondary GUN
ShootDelayPrimary 110
ShootDelaySecondary 2
AlternatePrimary False
AlternateSecondary False
ModePrimary FULLAUTO
ModeSecondary FULLAUTO
ShootPointPrimary 116 30 0 turret
ShootPointSecondary 34 30 6 turret GFS_M240


//Driver and Passengers
Driver 0 18 0 -360 360 -3 16
RotatedDriverOffset 18 0 9
Passengers 1
Passenger 1 0 34 0 turret -60 60 -4 30 GFS_M2HB PassengerGun1
GunOrigin 1 6 44 10
RotatedPassengerOffset 1 -21 0 9
PassengerAimSpeed 1 2.5 2.5 0
SetPlayerInvisible true


//Inventory Slots
CargoSlots 5
ShellSlots 6
FuelTankSize 6000


//Recipe
AddRecipeParts core 1 GFS_LightArmorChassis
AddRecipeParts turret 1 GFS_MBTTurret
AddRecipeParts leftTrack 1 GFS_TankTracks
AddRecipeParts rightTrack 1 GFS_TankTracks
AddRecipeParts trailer 1 GFS_ReactiveArmor
AddDye 6 green


//Health and Collision
SetupPart core 1600 -65 3 -25 120 18 50
SetupPart turret 500 -31 22 -20 60 15 40
SetupPart leftTrack 450 -60 -9 19 115 18 8
SetupPart rightTrack 450 -60 -9 -27 115 18 8
SetupPart trailer 800 -20 11 -31 80 24 62
BulletDetection 7
ShootParticlesPrimary largeexplode 0 0 0
ShootParticlesPrimary cloud 1 0 0
ShootParticlesPrimary cloud 1.75 0 0
ShootParticlesPrimary cloud 1.5 0 0
ShootParticlesPrimary cloud 1.25 0 0
ShootParticlesPrimary cloud 0.75 0 0
ShootParticlesPrimary cloud 0.5 0 0
ShootParticlesPrimary cloud 0.25 0 0
ShootParticlesPrimary explode 1.5 0 0
ShootParticlesPrimary largesmoke 0.5 0 0.1
ShootParticlesPrimary largesmoke 0.5 0 -0.1
ShootParticlesPrimary largesmoke 0.5 0.06 0.06
ShootParticlesPrimary largesmoke 0.5 0.06 -0.06
ShootParticlesPrimary largesmoke 0.5 -0.06 0.06
ShootParticlesPrimary largesmoke 0.5 -0.06 -0.06
ShootParticlesPrimary largesmoke 0.5 -0.1 0
ShootParticlesPrimary largesmoke 0.5 0.1 0
ShootParticlesPrimary cloud 0.05 0 0.2
ShootParticlesPrimary cloud 0.05 0 -0.2
ShootParticlesPrimary cloud 0.05 0.13 0.13
ShootParticlesPrimary cloud 0.05 0.13 -0.13
ShootParticlesPrimary cloud 0.05 -0.13 0.13
ShootParticlesPrimary cloud 0.05 -0.13 -0.13
ShootParticlesPrimary cloud 0.05 -0.2 0
ShootParticlesPrimary cloud 0.05 0.2 0
ShootParticlesPrimary explode 0.1 0 0.4
ShootParticlesPrimary explode 0.1 0 -0.4
ShootParticlesPrimary explode 0.1 0.26 0.26
ShootParticlesPrimary explode 0.1 0.26 -0.26
ShootParticlesPrimary explode 0.1 -0.26 0.26
ShootParticlesPrimary explode 0.1 -0.26 -0.26
ShootParticlesPrimary explode 0.1 -0.4 0
ShootParticlesPrimary explode 0.1 0.4 0
ShootParticlesSecondary flame 0.025 0 0
ShootParticlesSecondary flansmod.fmsmoke 0 0.01 0



//Misc
CameraDistance 15


//Sounds
IdleSound Engine_IFV_Bradley
IdleSoundLength 20
EngineSound Engine_IFV_Bradley
EngineSoundLength 20
StartSoundRange 12
EngineSoundRange 90
BackSoundRange 50
ShootSoundPrimary Shoot_Tnk_105mm
ShootSoundSecondary Shoot_Gun_M240
ShootReloadSound Reload_Tnk_Manual

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

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


//Movement
TurnLeftSpeed 1
TurnRightSpeed 1
FourWheelDrive True


//Misc
Tank True
CanMountEntity true


//Turret rotation stuff
DriverAimSpeed 3 3 0
DriverYawBeforePitch false
DriverTraverseSounds true
YawSound TurretYaw
YawSoundLength 21
PitchSound TurretPitch
PitchSoundLength 20

//------------------------------------------------
AddSmokePoint [21,38,-5] [0.25,0.75,-0.75] 20 turret
AddSmokePoint [21,38,5] [0.25,0.75,0.75] 20 turret

AddSmokePoint [16,38,-5] [0.50,0.75,-0.25] 20 turret
AddSmokePoint [16,38,5] [0.50,0.75,0.25] 20 turret
HasFlare True

HasSmoke True
FlareDelay 400
FlareSound SmokeDeploy