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


//---Standard-------------------------------------
// Naming
Name K-17 Bumerang
ShortName GFS_Bumerang
ItemID Your ID


// Visuals
Model gfs.Bumerang
ModelScale 1.15
Icon IconBumerang


// Recipe


//Misc
Description Russian Peoples Army (Fictional) Infantry Fighting Vehicle_1x 30mm Chain Gun_4x 9M133 "Kornet"_Introduction: 2015

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

//---Driveables-----------------------------------
//Visuals
Texture SkinBumerang


//Movement
MaxThrottle 1.66
MaxNegativeThrottle 0.75
Drag 5.0


//Wheels
NumWheels 4
WheelPosition 0 -17 -10 -18
WheelPosition 1 -17 -10 18
WheelPosition 2 36 -10 18
WheelPosition 3 36 -10 -18
WheelRadius 2


//Floating
FloatOnWater True
Buoyancy 0.06


//Ammo
BulletSpeed 6
AllowAllAmmo False
AddAmmo GFS_Kornet


//Weapons
Primary GUN
Secondary MISSILE
ShootDelayPrimary 4
ShootDelaySecondary 8
ReloadTimePrimary 400
ReloadTimeSecondary 200
AlternatePrimary False
AlternateSecondary True
ModePrimary FULLAUTO
ModeSecondary SEMIAUTO
ShootPointPrimary -3 40 0 turret GFS_30mmCannon 50 1 2
ShootPointSecondary 0 43 27 turret 0 1 0
ShootPointSecondary 0 43 -21 turret 0 1 0


//Driver and Passengers
Driver 0 27 0 -360 360 -6 45
RotatedDriverOffset 12 0 -14
Passengers 6
Passenger 1 -32 5 10 core
Passenger 2 -20 5 10 core
Passenger 3 -8 5 10 core
Passenger 4 -8 5 -10 core
Passenger 5 -20 5 -10 core
Passenger 6 -32 5 -10 core
SetPlayerInvisible true


//Inventory Slots
CargoSlots 6
ShellSlots 2
FuelTankSize 6000


//Recipe
AddRecipeParts core 1 GFS_APCChassis
AddRecipeParts turret 1 GFS_IFVTurret
AddDye 5 black 1 red


//Health and Collision
SetupPart core 600 -46 4 -22 123 21 44
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.75 0 0
ShootParticlesSecondary flansmod.fmsmoke -0.8 0 0.1
ShootParticlesSecondary flansmod.fmsmoke -0.8 0 -0.1
ShootParticlesSecondary flansmod.fmsmoke -0.8 -0.1 0
ShootParticlesSecondary flansmod.fmsmoke -0.8 0.1 0



//Misc
CameraDistance 15


//Sounds
PlaceSoundPrimary EngineStart_IFV_LAV
IdleSound EngineIdle_IFV_LAV
IdleSoundLength 20
EngineSound Engine_IFV_LAV
EngineSoundLength 20
StartSoundRange 12
EngineSoundRange 90
BackSoundRange 50
ShootSoundPrimary Shoot_IFV_2A42
ShootSoundSecondary Shoot_Kornet
ReloadSoundPrimary Reload_ChainGun
ReloadSoundSecondary Reload_TOW

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

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


//Movement
TurnLeftSpeed 0.30
TurnRightSpeed 0.30
FourWheelDrive False


//Misc
Tank False


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

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