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


//---Standard-------------------------------------
// Naming
Name KW2 Jupiter
ShortName GFS_KW2120
ItemID Your ID


// Visuals
Model gfs.KW2120
ModelScale 1.05
Icon IconKW2120


// Recipe


//Misc
Description South Korean Assault Gun_Has Active Protection_Introduction: 2021

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

//---Driveables-----------------------------------
//Visuals
Texture SkinKW2120


//Movement
MaxThrottle 1.00
MaxNegativeThrottle 0.75
Drag 5.0


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


//Floating


//Ammo
BulletSpeed 10
BulletSpread 1
AllowAllAmmo False
AddAmmo GFS_120mmAPFSDS
AddAmmo GFS_120mmHEAT


//Weapons
Primary SHELL
Secondary GUN
ShootDelayPrimary 90
ShootDelaySecondary 2
AlternatePrimary False
AlternateSecondary False
ModePrimary FULLAUTO
ModeSecondary FULLAUTO
ShootPointPrimary 110 40 0 turret 
ShootPointSecondary 17 43 -10 turret GFS_M240


//Driver and Passengers
Driver 0 30 0 -360 360 -6 12
RotatedDriverOffset 8 0 13
Passengers 0
SetPlayerInvisible true


//Inventory Slots
CargoSlots 9
ShellSlots 4
FuelTankSize 6000


//Recipe
AddRecipeParts core 1 GFS_APCChassis
AddRecipeParts turret 1 GFS_MBTTurret
AddDye 4 brown 1 black 1 yellow


//Health and Collision
SetupPart core 750 -50 7 -25 140 25 50
SetupPart turret 500 -34 32 -15 60 15 30
SetupPart APS 100 -60 7 -34 160 40 70
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


//Misc
CameraDistance 15


//Sounds
IdleSound EngineIdle_IFV_Stryker
IdleSoundLength 20
EngineSound Engine_IFV_Stryker
EngineSoundLength 20
StartSoundRange 12
EngineSoundRange 90
BackSoundRange 50
ShootSoundPrimary Shoot_Tnk_120mm
ShootSoundSecondary Shoot_Gun_M240

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

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


//Movement
TurnLeftSpeed 0.30
TurnRightSpeed 0.30
FourWheelDrive False


//Misc
Tank False
CanMountEntity true


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


//------------------------------------------------
AddSmokePoint [10,30,-15] [0,0.75,-0.75] 20 turret
AddSmokePoint [10,30,15] [0,0.75,0.75] 20 turret

AddSmokePoint [8,30,-20] [0.40,0.75,-0.40] 20 turret
AddSmokePoint [8,30,20] [0.40,0.75,0.40] 20 turret

AddSmokePoint [7,30,-20] [0.75,0.75,-0.15] 20 turret
AddSmokePoint [7,30,20] [0.75,0.75,0.15] 20 turret
HasFlare True

HasSmoke True
FlareDelay 350
FlareSound SmokeDeploy