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


//---Standard-------------------------------------
// Naming
Name M1134 Stryker ATGM
ShortName GFS_M1134
ItemID Your ID


// Visuals
Model gfs.M1134
ModelScale 1.1
Icon IconM1134


// Recipe


//Misc
Description American Airborne ATGM Carrier_2x BGM-71 TOW_1x 12.7mm Machine Gun_Introduced: 2003

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

//---Driveables-----------------------------------
//Visuals
Texture SkinM1134


//Movement
MaxThrottle 1.61
MaxNegativeThrottle 1.2
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
AllowAllAmmo False
AddAmmo GFS_BGM71


//Weapons
Primary MISSILE
Secondary MISSILE
ShootDelayPrimary 80
ShootDelaySecondary 80
ReloadTimePrimary 120
ReloadTimeSecondary 120
AlternatePrimary True
AlternateSecondary False
ModePrimary FULLAUTO
ModeSecondary FULLAUTO
ShootPointPrimary 11 46 -8 turret 
ShootPointSecondary 11 46 -13 turret 
TurretOrigin -16 33 -6


//Driver and Passengers
Driver 52 18 -11 -360 360 -2 15
Passengers 1
Passenger 1 5 31 10 core -60 60 -10 30 GFS_M2HB PassengerGun1
GunOrigin 1 22 38 -9
PassengerAimSpeed 1 2.5 2.5 0
SetPlayerInvisible true


//Inventory Slots
CargoSlots 9
ShellSlots 6
FuelTankSize 6000


//Recipe
AddRecipeParts core 1 GFS_APCChassis
AddDye 6 green


//Health and Collision
SetupPart core 550 -50 4 -28 138 26 56
BulletDetection 7
AddEmitter cloud 1 [22,27,29] [1,5,5] [-0.75,-1,1.25] 0.25 2 0 1 core
AddEmitter largesmoke 3 [22,27,29] [1,5,5] [-0.75,-1,1.25] 0.75 2 0 1 core
//Damage
AddEmitter flame 1 [42,29,20] [12,1,12] [0,1,0] -1 1 0 0.25 core
AddEmitter largesmoke 1 [42,29,20] [12,1,12] [0,1.5,0] -1 1 0 0.25 core
AddEmitter largesmoke 3 [42,29,20] [12,1,12] [0,1,0] -1 1 0 0.5 core
ShootParticlesPrimary flame -0.75 0 0
ShootParticlesPrimary cloud -0.8 0 0.1
ShootParticlesPrimary cloud -0.8 0 -0.1
ShootParticlesPrimary cloud -0.8 -0.1 0
ShootParticlesPrimary cloud -0.8 0.1 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_Stryker
IdleSound EngineIdle_IFV_Stryker
IdleSoundLength 20
EngineSound Engine_IFV_Stryker
EngineSoundLength 20
StartSoundRange 12
EngineSoundRange 90
BackSoundRange 50
ShootSoundPrimary Shoot_TOW
ShootSoundSecondary Shoot_TOW

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

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


//Movement
TurnLeftSpeed 0.30
TurnRightSpeed 0.30
FourWheelDrive False


//Misc
Tank False
CanMountEntity true


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