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


//---Standard-------------------------------------
// Naming
Name SPz Puma
ShortName GFS_SPzPuma
ItemID Your ID


// Visuals
Model gfs.SPzPuma
ModelScale 1
Icon IconSPzPuma


// Recipe


//Misc
Description German Infantry Fighting Vehicle_1x 30mm_2x Spike-LR_Introduction: 2015

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

//---Driveables-----------------------------------
//Visuals
Texture SkinSPzPuma


//Movement
MaxThrottle 1.11
MaxNegativeThrottle 1.0
Drag 2.5


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


//Floating


//Ammo
AllowAllAmmo False
AddAmmo GFS_SpikeLR


//Weapons
Primary SHELL
Secondary MISSILE
ShootDelayPrimary 6
ShootDelaySecondary 25
ReloadTimePrimary 120
ReloadTimeSecondary 80
AlternatePrimary False
AlternateSecondary False
ModePrimary FULLAUTO
ModeSecondary FULLAUTO
ShootPointPrimary 69 37 2 turret GFS_30mmCannon6
ShootPointSecondary -19 39 -28 turret
ShootPointSecondary -19 39 -33 turret
TurretOrigin 0 0 -6


//Driver and Passengers
Driver 0 18 -6 -360 360 -10 40
RotatedDriverOffset 31 0 -6
Passengers 0
SetPlayerInvisible true


//Inventory Slots
CargoSlots 8
ShellSlots 4
FuelTankSize 6000


//Recipe
AddRecipeParts core 1 GFS_LightArmorChassis
AddRecipeParts turret 1 GFS_IFVTurret
AddRecipeParts leftTrack 1 GFS_TankTracks
AddRecipeParts rightTrack 1 GFS_TankTracks
AddDye 3 green 3 black 3 brown


//Health and Collision
SetupPart core 700 -60 3 -30 122 24 60
SetupPart leftTrack 250 -56 -9 21 113 20 10
SetupPart rightTrack 250 -56 -9 -31 113 20 10
SetupPart turret 350 -15 27 -15 30 15 30
BulletDetection 7
ShootParticlesPrimary flansmod.fmflame 0.25 0 0
ShootParticlesPrimary cloud 0.05 0 0
ShootParticlesSecondary flansmod.fmflame -0.5 0 0
ShootParticlesSecondary flansmod.fmflame 1.0 0 0
ShootParticlesSecondary cloud 0.25 0.05 0
ShootParticlesSecondary cloud 0.25 -0.05 0
ShootParticlesSecondary cloud 0.25 0 -0.05
ShootParticlesSecondary cloud 0.25 0 0.05
ShootParticlesSecondary cloud 0.25 0.025 0.025
ShootParticlesSecondary cloud 0.25 -0.025 0.025
ShootParticlesSecondary cloud 0.25 0.025 -0.025
ShootParticlesSecondary cloud 0.25 -0.025 -0.025
ShootParticlesSecondary cloud -0.5 0.05 0
ShootParticlesSecondary cloud -0.5 -0.05 0
ShootParticlesSecondary cloud -0.5 0 -0.05
ShootParticlesSecondary cloud -0.5 0 0.05
ShootParticlesSecondary cloud -0.5 0.025 0.025
ShootParticlesSecondary cloud -0.5 -0.025 0.025
ShootParticlesSecondary cloud -0.5 0.025 -0.025
ShootParticlesSecondary cloud -0.5 -0.025 -0.025
ShootParticlesSecondary cloud -1.5 0.05 0
ShootParticlesSecondary cloud -1.5 -0.05 0
ShootParticlesSecondary cloud -1.5 0 -0.05
ShootParticlesSecondary cloud -1.5 0 0.05
ShootParticlesSecondary cloud -1.5 0.025 0.025
ShootParticlesSecondary cloud -1.5 -0.025 0.025
ShootParticlesSecondary cloud -1.5 0.025 -0.025
ShootParticlesSecondary cloud -1.5 -0.025 -0.025


RightLinkPoint [80,14,24]
RightLinkPoint [85,10,24]
RightLinkPoint [85,5,24]
RightLinkPoint [80,1,24]
RightLinkPoint [64,-9.5,24]
RightLinkPoint [-15,-9.5,24]
RightLinkPoint [-30,1,24]
RightLinkPoint [-34,5,24]
RightLinkPoint [-34,10,24]
RightLinkPoint [-30,14,24]
LeftLinkPoint [80,14,-24]
LeftLinkPoint [85,10,-24]
LeftLinkPoint [85,5,-24]
LeftLinkPoint [80,1,-24]
LeftLinkPoint [64,-9.5,-24]
LeftLinkPoint [-15,-9.5,-24]
LeftLinkPoint [-30,1,-24]
LeftLinkPoint [-34,5,-24]
LeftLinkPoint [-34,10,-24]
LeftLinkPoint [-30,14,-24]
TrackLinkLength 4
FlipLinkFix true
FixTrackLink 5


//Misc
CameraDistance 15


//Sounds
PlaceSoundPrimary EngineStart_IFV_Marder
IdleSound EngineIdle_IFV_Marder
IdleSoundLength 20
EngineSound Engine_IFV_Marder
EngineSoundLength 20
StartSoundRange 12
EngineSoundRange 90
BackSoundRange 50
ShootSoundPrimary Shoot_IFV_2A42
ShootSoundSecondary Shoot_TOW
ReloadSoundPrimary Reload_ChainGun
ReloadSoundSecondary Reload_TOW

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

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


//Movement
TurnLeftSpeed 1.5
TurnRightSpeed 1.5
FourWheelDrive True


//Misc
Tank True
CanMountEntity true


//Turret rotation stuff
DriverAimSpeed 4 4 0
DriverYawBeforePitch true
DriverTraverseSounds true
YawSound TurretYaw2
YawSoundLength 21
PitchSound TurretPitch2
PitchSoundLength 20

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