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


//---Standard-------------------------------------
// Naming
Name Multi-Mission Missile Launcher
ShortName GFS_MMML
ItemID Your ID


// Visuals
Model gfs.MMML
ModelScale 1
Icon IconHimars


// Recipe


//Misc
Description American Dual-Purpose Launcher_15x AIM-9 Sidewinder or AGM1-114 Hellfire_Introduced: 2014

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

//---Driveables-----------------------------------
//Visuals
Texture SkinMMML


//Movement
MaxThrottle 0.9
MaxNegativeThrottle 0.4
Drag 5.0


//Wheels
NumWheels 4
WheelPosition 0 -42 -10 -14
WheelPosition 1 -42 -10 14
WheelPosition 2 42 -10 14
WheelPosition 3 42 -10 -14
WheelRadius 1.5
WheelSpringStrength 0.5


//Floating
FloatOnWater False


//Ammo
AllowAllAmmo False
AddAmmo GFS_AGM114
AddAmmo GFS_AIM9


//Weapons
Primary MISSILE
Secondary NONE
ShootDelaySecondary 50
ReloadTimePrimary 300
ShootDelaySecondary 1
AlternatePrimary True
AlternateSecondary False
ModePrimary FULLAUTO
ModeSecondary FULLAUTO
ShootPointPrimary -67 15 0 turret 40 15 18
ShootPointPrimary -67 15 0 turret 40 15 9
ShootPointPrimary -67 15 0 turret 40 15 0
ShootPointPrimary -67 15 0 turret 40 15 -9
ShootPointPrimary -67 15 0 turret 40 15 -18
ShootPointPrimary -67 15 0 turret 40 24 18
ShootPointPrimary -67 15 0 turret 40 24 9
ShootPointPrimary -67 15 0 turret 40 24 0
ShootPointPrimary -67 15 0 turret 40 24 -9
ShootPointPrimary -67 15 0 turret 40 24 -18
ShootPointPrimary -67 15 0 turret 40 33 18
ShootPointPrimary -67 15 0 turret 40 33 9
ShootPointPrimary -67 15 0 turret 40 33 0
ShootPointPrimary -67 15 0 turret 40 33 -9
ShootPointPrimary -67 15 0 turret 40 33 -18
TurretOrigin -44 12 0


//Driver and Passengers
Driver 47 16 -10 -360 360 0 40
Passengers 1
Passenger 1 47 16 10 core


//Inventory Slots
CargoSlots 4
ShellSlots 5
FuelTankSize 6000


//Recipe
AddRecipeParts core 4 GFS_Steel


//Health and Collision
SetupPart core 300 -73 6 -21 140 30 42
BulletDetection 7
AddEmitter flansmod.fmsmoke 1 [26,40,-24] [1,5,5] [-0.75,-0.75,-1.25] -2 2 0 1 core
ShootParticlesPrimary flansmod.fmflame -0.95 0 0
ShootParticlesPrimary flansmod.fmsmoke -1 0 0.1
ShootParticlesPrimary flansmod.fmsmoke -1 0 -0.1
ShootParticlesPrimary flansmod.fmsmoke -1 -0.1 0
ShootParticlesPrimary flansmod.fmsmoke -1 0.1 0


//Misc
CameraDistance 15


//Sounds
IdleSound Engine_IFV_5TonTruck
IdleSoundLength 20
EngineSound Engine_IFV_5TonTruck
EngineSoundLength 20
StartSoundRange 12
EngineSoundRange 90
BackSoundRange 50
ShootSoundPrimary Shoot_AIM

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

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


//Movement
TurnLeftSpeed 0.25
TurnRightSpeed 0.25
FourWheelDrive False


//Misc
Tank False


//Turret rotation stuff
DriverAimSpeed 1.75 0.75 0
DriverYawBeforePitch true
DriverTraverseSounds true
YawSound TurretYaw4
YawSoundLength 21
PitchSound TurretPitch4
PitchSoundLength 20

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