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


//---Standard-------------------------------------
// Naming
Name LAV-25A2
ShortName GFS_LAV25
ItemID Your ID


// Visuals
Model gfs.LAV25
ModelScale 1
Icon IconLAV25


// Recipe


//Misc
Description US Marines Infantry Fighting Vehicle_1x 25mm Chain Gun_2x BGM-71 TOW_Introduction: 1983

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

//---Driveables-----------------------------------
//Visuals
Texture SkinLAV25


//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 5
AllowAllAmmo False
AddAmmo GFS_BGM71


//Weapons
Primary GUN
Secondary MISSILE
ShootDelayPrimary 6
ShootDelaySecondary 20
ReloadTimePrimary 250
ReloadTimeSecondary 100
AlternatePrimary False
AlternateSecondary True
ModePrimary FULLAUTO
ModeSecondary SEMIAUTO
ShootPointPrimary 10 37 0 turret GFS_25mmCannon 50 0 -4
ShootPointSecondary 0 45 -20 turret 0 0 0
ShootPointSecondary 0 45 26 turret 0 0 0
TurretOrigin 0 0 -3


//Driver and Passengers
Driver 0 25 -3 -360 360 -10 45
RotatedDriverOffset 15 0 -14
Passengers 4
Passenger 1 -18 8 -3 core
Passenger 2 -32 8 -3 core
Passenger 3 -32 8 3 core
Passenger 4 -18 8 3 core
SetPlayerInvisible true


//Inventory Slots
CargoSlots 9
ShellSlots 2
FuelTankSize 6000


//Recipe
AddRecipeParts core 1 GFS_APCChassis
AddRecipeParts turret 1 GFS_IFVTurret
AddDye 4 green 2 brown


//Health and Collision
SetupPart core 450 -49 4 -28 133 26 50
SetupPart turret 250 -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 flansmod.fmflame 0.25 0 0
ShootParticlesPrimary cloud 0.05 0 0
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



//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_M242
ShootSoundSecondary Shoot_TOW
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

//------------------------------------------------
//Paintjob Settings
//Format is "Paintjob iconName textureName requiredDyeColour requiredDyeAmount" Multiple colours may be listed in order, seperated by a space
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"

Paintjob IconLAV25Paint1 SkinLAV25Paint1 yellow 6