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


//---Standard-------------------------------------
// Naming
Name Kokidosha - Closed Arrow
ShortName GFS_GFS_ToyotaSAM
ItemID Your ID


// Visuals
Model gfs.ToyotaSAM
ModelScale 1
Icon IconToyotaSAM


// Recipe


//Misc
Description Japanese Mobile SAM_8x Type-93 ATGM_Introduced: 1993

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

//---Driveables-----------------------------------
//Visuals
Texture SkinToyotaSAM


//Movement
MaxThrottle 1.25
MaxNegativeThrottle 0.75
Drag 10.0


//Wheels
NumWheels 4
WheelPosition 0 -36 -10 -20
WheelPosition 1 -36 -10 20
WheelPosition 2 34 -10 20
WheelPosition 3 34 -10 -20
WheelRadius 1.0
WheelSpringStrength 0.5


//Floating
FloatOnWater False


//Ammo
BulletSpeed 7.5
AllowAllAmmo False
AddAmmo GFS_Type93


//Weapons
Primary MISSILE
Secondary NONE
ShootDelayPrimary 20
ReloadTimePrimary 150
ShootDelaySecondary 2
AlternatePrimary True
AlternateSecondary False
ModePrimary FULLAUTO
ModeSecondary FULLAUTO
ShootPointPrimary -29 38 15 turret 0 4 0
ShootPointPrimary -29 38 -15 turret 0 4 0
ShootPointPrimary -29 38 18 turret 0 4 0
ShootPointPrimary -29 38 -18 turret 0 4 0
ShootPointPrimary -29 38 15 turret 0 -1 0
ShootPointPrimary -29 38 -15 turret 0 -1 0
ShootPointPrimary -29 38 18 turret 0 -1 0
ShootPointPrimary -29 38 -18 turret 0 -1 0
TurretOrigin -30 0 0


//Driver and Passengers
Driver -30 38 0 -360 360 0 65
RotatedDriverOffset 16 -18 0
Passengers 2
Passenger 1 5 5 15 core
Passenger 2 5 5 -15 core
SetPlayerInvisible true
DriverPart barrel


//Inventory Slots
CargoSlots 6
ShellSlots 2
FuelTankSize 60000


//Recipe
AddRecipeParts core 1 GFS_CarChassis
AddDye 2 cyan 2 brown


//Health and Collision
SetupPart core 80 -49 0 -22 100 27 44

ShootParticlesPrimary flansmod.fmflame -0.5 0 0
ShootParticlesPrimary flansmod.fmflame 1.0 0 0
ShootParticlesPrimary cloud 0.25 0.05 0
ShootParticlesPrimary cloud 0.25 -0.05 0
ShootParticlesPrimary cloud 0.25 0 -0.05
ShootParticlesPrimary cloud 0.25 0 0.05
ShootParticlesPrimary cloud 0.25 0.025 0.025
ShootParticlesPrimary cloud 0.25 -0.025 0.025
ShootParticlesPrimary cloud 0.25 0.025 -0.025
ShootParticlesPrimary cloud 0.25 -0.025 -0.025
ShootParticlesPrimary cloud -0.5 0.05 0
ShootParticlesPrimary cloud -0.5 -0.05 0
ShootParticlesPrimary cloud -0.5 0 -0.05
ShootParticlesPrimary cloud -0.5 0 0.05
ShootParticlesPrimary cloud -0.5 0.025 0.025
ShootParticlesPrimary cloud -0.5 -0.025 0.025
ShootParticlesPrimary cloud -0.5 0.025 -0.025
ShootParticlesPrimary cloud -0.5 -0.025 -0.025
ShootParticlesPrimary cloud -1.5 0.05 0
ShootParticlesPrimary cloud -1.5 -0.05 0
ShootParticlesPrimary cloud -1.5 0 -0.05
ShootParticlesPrimary cloud -1.5 0 0.05
ShootParticlesPrimary cloud -1.5 0.025 0.025
ShootParticlesPrimary cloud -1.5 -0.025 0.025
ShootParticlesPrimary cloud -1.5 0.025 -0.025
ShootParticlesPrimary cloud -1.5 -0.025 -0.025


//Misc
PlaceableOnLand True
CameraDistance 15


//Sounds
IdleSound Engine_JEP_Humvee
IdleSoundLength 20
EngineSound Engine_JEP_Humvee
EngineSoundLength 20
StartSoundRange 12
EngineSoundRange 90
BackSoundRange 50
ShootSoundPrimary Shoot_AIM
ReloadSoundPrimary Reload_Missile

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

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


//Movement
TurnLeftSpeed 0.5
TurnRightSpeed 0.5
FourWheelDrive False


//Misc
Tank False


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

//------------------------------------------------
LockOnToPlanes True
LockOnToVehicles False
LockOnToPlayers False
LockOnToLivings False
CanLockOnAngle 10
MaxRangeLockOn 150
LockedOnSoundRange 1
LockOnSound Lockon_AA
LockOnSoundTime 14