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


//---Standard-------------------------------------
// Naming
Name M109A7 Paladin
ShortName GFS_M109A7
ItemID Your ID


// Visuals
Model gfs.M109A7
ModelScale 1
Icon IconM109


// Recipe


//Misc
Description US Army Self Propelled Howitzer_1x 155mm Howitzer_12.7mm Machine Gun_Introduction: 2017

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

//---Driveables-----------------------------------
//Visuals
Texture SkinM109A7


//Movement
MaxThrottle 0.75
MaxNegativeThrottle 0.60
Drag 5.0


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


//Floating
FloatOnWater False


//Ammo
AllowAllAmmo False
AddAmmo GFS_155mmArty


//Weapons
Primary SHELL
Secondary NONE
ShootDelayPrimary 180
ShootDelaySecondary 1
AlternatePrimary False
AlternateSecondary False
ModePrimary FULLAUTO
ModeSecondary FULLAUTO
ShootPointPrimary 17 31 0 turret 105 -2 0


//Driver and Passengers
Driver 44 8 -13 -360 360 0 80
Passengers 1
Passenger 1 0 39 0 turret -60 60 -4 30 GFS_M2HB PassengerGun1
GunOrigin 1 8 -52 -16
RotatedPassengerOffset 1 -9 0 16
PassengerAimSpeed 1 2.5 2.5 0


//Inventory Slots
CargoSlots 5
ShellSlots 6
FuelTankSize 6000


//Recipe
AddRecipeParts core 1 GFS_LightArmorChassis
AddRecipeParts turret 1 GFS_MBTTurret
AddRecipeParts rightTrack 1 GFS_TankTracks
AddRecipeParts leftTrack 1 GFS_TankTracks
AddDye 6 yellow


//Health and Collision
SetupPart core 1500 -30 -1 -30 104 22 60
SetupPart turret 1000 -30 21 -30 60 20 60
SetupPart leftTrack 450 -33 -9 23 105 18 8
SetupPart rightTrack 450 -33 -9 -31 105 18 8
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

RightLinkPoint [69,7,26] 
RightLinkPoint [72,4,26] 
RightLinkPoint [72,0,26] 
RightLinkPoint [69,-3,26] 
RightLinkPoint [55,-10,26] 
RightLinkPoint [-18,-10,26] 
RightLinkPoint [-31,-3,26] 
RightLinkPoint [-34,0,26] 
RightLinkPoint [-34,4,26] 
RightLinkPoint [-31,6,26] 
LeftLinkPoint [69,7,-26] 
LeftLinkPoint [72,4,-26] 
LeftLinkPoint [72,0,-26] 
LeftLinkPoint [69,-3,-26] 
LeftLinkPoint [55,-10,-26] 
LeftLinkPoint [-18,-10,-26] 
LeftLinkPoint [-31,-3,-26] 
LeftLinkPoint [-34,0,-26] 
LeftLinkPoint [-34,4,-26] 
LeftLinkPoint [-31,6,-26] 
TrackLinkLength 4
FlipLinkFix false
FixTrackLink 5


//Misc
CameraDistance 15


//Sounds
IdleSound EngineIdle_Tnk_Diesel
IdleSoundLength 20
EngineSound Engine_Tnk_Diesel
EngineSoundLength 20
StartSoundRange 12
EngineSoundRange 90
BackSoundRange 50
ShootSoundPrimary Shoot_Tnk_Howitzer

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

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


//Movement
TurnLeftSpeed 1
TurnRightSpeed 1
FourWheelDrive True


//Misc
Tank True


//Sound

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