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


//---Standard-------------------------------------
// Naming
Name Mk.15 Phalanx
Description US Marines AA Emplacement_1x 20mm Gatling Gun_Introduction: 1980
ShortName GFS_CIWSPhalanx
ItemID Your ID


// Visuals
Model gfs.CIWSPhalanx
ModelScale 1
Icon IconCIWSPhalanx

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

//---Driveables-----------------------------------
//Visuals
Texture SkinCIWSPhalanx


//Movement
MaxThrottle 0
MaxNegativeThrottle 0


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


//Floating


//Ammo//Ammo
AllowAllAmmo False


//Weapons
Primary GUN
Secondary NONE
ShootDelayPrimary 0
ShootDelaySecondary 0
AlternatePrimary True
AlternateSecondary False
ModePrimary FULLAUTO
ModeSecondary FULLAUTO
ShootPointPrimary 0 35 -1 turret GFS_20mmAirGun 42 0 0


//Driver and Passengers
Driver 0 36 0
RotatedDriverOffset 15 0 -18
Passengers 0
SetPlayerInvisible true


//Inventory Slots
CargoSlots 0
BombSlots 0
MissileSlots 3
FuelTankSize 0


//Recipe
AddRecipeParts core 1 GFS_APCChassis
AddRecipeParts turret 1 GFS_IFVTurret
AddDye 4 gray


//Health and Collision
SetupPart core 50 -21 -10 -21 42 20 42
SetupPart turret 25 -10 10 -10 20 66 20
BulletDetection 7
ShootParticlesPrimary explode 0.1 0 0
ShootParticlesPrimary flansmod.fmflame 0.25 0 0


//Misc
CameraDistance 15


//Sounds
IdleSound None
IdleSoundLength 0
EngineSound None
EngineSoundLength 0
ShootSoundPrimary Shoot_Jet_Gatling

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

//---Vehicle--------------------------------------
//Visuals


//Movement
TurnLeftSpeed 0
TurnRightSpeed 0
FourWheelDrive True


//Misc
Tank True


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

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