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


//---Standard-------------------------------------
// Naming
Name Pantsir S2
Description Russian Anti Air Emplacement_Autonomous Weapon System
ShortName GFS_CIWSPantsir
ItemID Your ID


// Visuals
Model gfs.CIWSPantsir
ModelScale 1
Icon IconCIWSPantsir

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

//---Driveables-----------------------------------
//Visuals
Texture SkinCIWSPantsir


//Movement
MaxThrottle 0
MaxNegativeThrottle 0


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


//Weapons
WeaponHud True
FireAutonomously True

UseNewWeaponSystem True

AddWeapon 20mm AA Cannon
WeaponType SHELL
FireMode FullAuto
ShootDelay 1
Damage 0.75
AmmoSlots 2
Alternate True
BulletSpeed 15
ShootSound AACannon
ShootPoint -14 20 -15 turret null 50 0 0
ShootPoint -14 20 15 turret null 50 0 0
Ammo 20mm

AddWeapon AA Missiles
WeaponType MISSILE
FireMode FullAuto
ShootDelay 20
Damage 1
AmmoSlots 2
Alternate True
ShootSound sound_rocketMedium
ShootPoint -14 20 -23 turret 28 0 0
ShootPoint -14 20 23 turret 28 0 0
Ammo AntiAirMissile


//Driver and Passengers
Driver 0 16 0 -360 360 -10 75
RotatedDriverOffset 15 0 2
Passengers 0


//Inventory Slots
FuelTankSize 0


//Recipe
AddDye 4 brown


//Health and Collision
SetupPart core 8500 -37 -10 -21 80 18 42
SetupPart turret 1650 -26 8 -30 60 30 60
BulletDetection 7
ShootParticlesPrimary smoke 0 0 0
ShootParticlesPrimary explode 0.5 0 0
ShootParticlesPrimary explode 0.1 0.05 0
ShootParticlesPrimary flansmod.fmflame 0 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
IdleSound None
IdleSoundLength 0
EngineSound None
EngineSoundLength 0

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

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


//Movement
TurnLeftSpeed 0
TurnRightSpeed 0
FourWheelDrive True


//Misc
Tank True


//Turret rotation stuff
DriverYawBeforePitch false
DriverTraverseSounds true
YawSound TurretYaw3
YawSoundLength 21
PitchSound TurretYaw3
PitchSoundLength 21

//------------------------------------------------
HasRadar True