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


//---Standard-------------------------------------
// Naming
Name 2S25 Sprut-SD
ShortName GFS_SprutSD
ItemID Your ID


// Visuals
Model gfs.SprutSD
ModelScale 1
Icon IconSprutSD


// Recipe


//Misc
Description Russian Airborne Assault Gun_1x 125mm Smoothbore Gun_1x 7.62 Machine Gun_1x 12.7mm Machine Gun_Introduction: 2005

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

//---Driveables-----------------------------------
//Visuals
Texture SkinSprutSD


//Movement
MaxThrottle 1.16
MaxNegativeThrottle 0.60
Drag 5.0


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


//Floating
FloatOnWater True
Buoyancy 0.06


//Ammo
BulletSpeed 12
BulletSpread 1
AllowAllAmmo False
AddAmmo GFS_125mmHEAT
AddAmmo GFS_125mmAPFSDS
AddAmmo GFS_125mm9M119


//Weapons
Primary SHELL
Secondary GUN
ShootDelayPrimary 110
ShootDelaySecondary 3
AlternatePrimary False
AlternateSecondary False
ModePrimary FULLAUTO
ModeSecondary FULLAUTO
ShootPointPrimary 115 26 -1 turret
ShootPointSecondary 17 28 4 turret GFS_PKT


//Driver and Passengers
Driver 0 12 0 -360 360 -10 20
RotatedDriverOffset 10 0 7
Passengers 1
Passenger 1 0 24 0 turret -360 360 -10 45 GFS_KORD PassengerGun1
GunOrigin 1 13 30 8
RotatedPassengerOffset 1 -12 0 -10
PassengerAimSpeed 1 5 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
AddDye 4 green 3 yellow 3 black


//Health and Collision
SetupPart core 750 -57 -1 -25 109 20 50
SetupPart leftTrack 250 -55 -9 20 96 18 8
SetupPart turret 500 -22 19 -20 40 12 40
SetupPart rightTrack 250 -55 -9 -28 96 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
ShootParticlesSecondary flame 0.025 0 0
ShootParticlesSecondary flansmod.fmsmoke 0 0.01 0

RightLinkPoint [19.5,8.5,23.5]
RightLinkPoint [38.5,8,23.5]
RightLinkPoint [41.5,4.5,23.5]
RightLinkPoint [41.5,2.0,23.5]
RightLinkPoint [38,-1.5,23.5]
RightLinkPoint [27,-9,23.5]
RightLinkPoint [-43,-9,23.5]
RightLinkPoint [-52,-2,23.5]
RightLinkPoint [-55,0.5,23.5]
RightLinkPoint [-55,4.5,23.5]
RightLinkPoint [-52,6.5,23.5]
RightLinkPoint [-36.5,8.5,23.5]
LeftLinkPoint [19.5,8.5,-23.5]
LeftLinkPoint [38.5,8,-23.5]
LeftLinkPoint [41.5,4.5,-23.5]
LeftLinkPoint [41.5,2,-23.5]
LeftLinkPoint [38,-1.5,-23.5]
LeftLinkPoint [27,-9,-23.5]
LeftLinkPoint [-43,-9,-23.5]
LeftLinkPoint [-52,-2,-23.5]
LeftLinkPoint [-55,0,-23.5]
LeftLinkPoint [-55,4,-23.5]
LeftLinkPoint [-52,6.5,-23.5]
LeftLinkPoint [-36.5,8.5,-23.5]
TrackLinkLength 3
FlipLinkFix false
FixTrackLink 6


//Misc
CameraDistance 15


//Sounds
PlaceSoundPrimary EngineStart_IFV_BMPD
IdleSound EngineIdle_IFV_BMPD
IdleSoundLength 20
EngineSound Engine_IFV_BMPD
EngineSoundLength 20
StartSoundRange 12
EngineSoundRange 90
BackSoundRange 50
ShootSoundPrimary Shoot_Tnk_125mm
ShootSoundSecondary Shoot_Gun_PKT
VehicleGunReloadTick 85
ShootReloadSound Reload_Tnk_Auto

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

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


//Movement
TurnLeftSpeed 1
TurnRightSpeed 1
FourWheelDrive True


//Misc
Tank True
CanMountEntity true


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

//------------------------------------------------
AddSmokePoint [-24,31,-6] [0.50,0.75,-0.75] 20 turret
AddSmokePoint [-24,31,6] [0.50,0.75,0.75] 20 turret

AddSmokePoint [-24,31,-6] [0.75,0.75,-0.25] 20 turret
AddSmokePoint [-24,31,6] [0.75,0.75,0.25] 20 turret
HasFlare True

HasSmoke True
FlareDelay 350
FlareSound SmokeDeploy