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


//---Standard-------------------------------------
// Naming
Name BMD-3
ShortName GFS_BMD-3
ItemID Your ID


// Visuals
Model gfs.BMD3
ModelScale 1
Icon IconBMD3


// Recipe


//Misc
Description Russian Airborne Armored Fighting Vehicle_1x 30mm Chain Gun_4x 9M113 "Konkurs"_Introduction: 1990

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

//---Driveables-----------------------------------
//Visuals
Texture SkinBMD3


//Movement
MaxThrottle 1.16
MaxNegativeThrottle 0.60
Drag 5.0


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


//Floating
FloatOnWater True
Buoyancy 0.06


//Ammo
BulletSpeed 5
BulletSpread 1
AllowAllAmmo False
AddAmmo GFS_Konkurs


//Weapons
Primary GUN
Secondary MISSILE
ShootDelayPrimary 4
ShootDelaySecondary 100
ReloadTimePrimary 400
ReloadTimeSecondary 300
AlternatePrimary False
AlternateSecondary True
ModePrimary FULLAUTO
ModeSecondary SEMIAUTO
ShootPointPrimary 15 28 2 turret GFS_30mmCannon 55 -1 0
ShootPointSecondary 0 28 0 turret 0 0 0


//Driver and Passengers
Driver 0 14 0 -360 360 -6 65
RotatedDriverOffset 15 0 -9
Passengers 0
SetPlayerInvisible true


//Inventory Slots
CargoSlots 5
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 4 brown 2 yellow


//Health and Collision
SetupPart core 500 -50 -1 -25 130 22 50
SetupPart rightTrack 300 -49 -10 -27 115 20 5
SetupPart leftTrack 300 -49 -10 22 115 20 5
SetupPart turret GFS_ 200 -20 19 -20 40 11 40
BulletDetection 7
ShootParticlesPrimary flansmod.fmflame 0.1 0 0
ShootParticlesPrimary flansmod.fmsmoke 0 0 0.1
ShootParticlesPrimary flansmod.fmsmoke 0 0 -0.1
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 [13,8.5,23.5]
RightLinkPoint [32.5,8,23.5]
RightLinkPoint [36,4.5,23.5]
RightLinkPoint [36,2,23.5]
RightLinkPoint [32.5,-1.5,23.5]
RightLinkPoint [21,-9,23.5]
RightLinkPoint [-36,-9,23.5]
RightLinkPoint [-46,-2,23.5]
RightLinkPoint [-49,0,23.5]
RightLinkPoint [-49,4,23.5]
RightLinkPoint [-46,6.5,23.5]
RightLinkPoint [-28.5,8.5,23.5]
LeftLinkPoint [13,8.5,-23.5]
LeftLinkPoint [32.5,8,-23.5]
LeftLinkPoint [36,4.5,-23.5]
LeftLinkPoint [36,2,-23.5]
LeftLinkPoint [32.5,-1.5,-23.5]
LeftLinkPoint [21,-9,-23.5]
LeftLinkPoint [-36,-9,-23.5]
LeftLinkPoint [-46,-2,-23.5]
LeftLinkPoint [-49,0,-23.5]
LeftLinkPoint [-49,4,-23.5]
LeftLinkPoint [-46,6.5,-23.5]
LeftLinkPoint [-28.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_IFV_2A42
ShootSoundSecondary Shoot_Kornet
ReloadSoundPrimary Reload_ChainGun
ReloadSoundSecondary Reload_Missile

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

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


//Movement
TurnLeftSpeed 1
TurnRightSpeed 1
FourWheelDrive True


//Misc
Tank True


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

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