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


//---Standard-------------------------------------
// Naming
Name LAV-AG
ShortName GFS_LAVAG
ItemID Your ID


// Visuals
Model gfs.LAVAG
ModelScale 1
Icon IconLAV25


// Recipe


//Misc
Description US Marines Assault Gun_1x 105mm Rifled Gun_1x 7.62mm Machine Gun_Introduction: 1988

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

//---Driveables-----------------------------------
//Visuals
Texture SkinLAVAG


//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
FloatOnWater True
Buoyancy 0.50
FloatOffset -1.5


//Ammo
BulletSpeed 9
BulletSpread 1
AllowAllAmmo False
AddAmmo GFS_105mmHEAT
AddAmmo GFS_105mmAPFSDS


//Weapons
Primary SHELL
Secondary GUN
ShootDelayPrimary 110
ShootDelaySecondary 3
AlternatePrimary False
AlternateSecondary False
ModePrimary FULLAUTO
ModeSecondary FULLAUTO
ShootPointPrimary 118 37 0 turret
ShootPointSecondary 30 37 6 turret GFS_M240


//Driver and Passengers
Driver 0 28 0 -360 360 -10 45
RotatedDriverOffset 15 0 14
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 green 2 brown


//Health and Collision
SetupPart core 450 -49 4 -28 133 26 50
SetupPart turret 300 -31 32 -16 55 12 30
BulletDetection 7
AddEmitter cloud 1 [2,25,24] [1,5,5] [-1,0,0.75] 0.25 2 0 1 core
AddEmitter largesmoke 1 [2,25,24] [1,5,5] [-1,0,0.75] 0.75 2 0 1 core
//Damage
AddEmitter smoke 1 [50,30,10] [1,5,5] [0,1,0] -1 2 0 0.4 core
AddEmitter largesmoke 3 [50,30,10] [1,5,5] [0,1.5,0] -1 2 0 0.25 core
AddEmitter flame 1 [50,30,10] [1,5,5] [0,1,0] -1 2 0 0.25 core
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
PlaceSoundPrimary EngineStart_IFV_LAV
IdleSound EngineIdle_IFV_LAV
IdleSoundLength 20
EngineSound Engine_IFV_LAV
EngineSoundLength 20
StartSoundRange 12
EngineSoundRange 90
BackSoundRange 50
ShootSoundPrimary Shoot_Tnk_105mm
ShootSoundSecondary Shoot_Gun_M240
VehicleGunReloadTick 45
ShootReloadSound Reload_Tnk_Manual

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

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


//Movement
TurnLeftSpeed 0.30
TurnRightSpeed 0.30
FourWheelDrive False

//Misc
Tank False


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