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


//---Standard-------------------------------------
// Naming
Name BMP-1
ShortName CW_BMP1
ItemID Your ID


// Visuals
Model CW.BMP1
ModelScale 1
Icon IconBMP2


// Recipe


//Misc
Description North Korean Armored Fighting Vehicle

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

//---Driveables-----------------------------------
//Visuals
Texture SkinBMP1


//Movement
MaxThrottle 1.00
MaxNegativeThrottle 0.75
Drag 10.0


//Wheels
NumWheels 4
WheelPosition 0 -22 -10 -24
WheelPosition 1 -22 -8 24
WheelPosition 2 22 -8 24
WheelPosition 3 22 -8 -24
WheelRadius 2


//Floating

FloatOnWater true
Buoyancy 0.06

FloatOffset -1.0


//Ammo
BulletSpeed 5
BulletSpread 2
AllowAllAmmo False
AddAmmo GFS_73mm


//Weapons
Primary SHELL
Secondary MISSILE
ShootDelayPrimary 90
ShootDelaySecondary 2
AlternatePrimary False
AlternateSecondary True
ModePrimary FULLAUTO
ModeSecondary SEMIAUTO
ShootPointPrimary 42 26 1 turret
ShootPointSecondary 19 27 3 turret GFS_PKT


//Driver and Passengers
Driver 0 20 0 -360 360 -2 30
RotatedDriverOffset -4 0 -6
Passengers 4
Passenger 1 -38 2 4 core
Passenger 2 -26 2 4 core
Passenger 3 -26 2 -4 core
Passenger 4 -38 2 -4 core


//Inventory Slots
CargoSlots 6
ShellSlots 6
FuelTankSize 6000


//Recipe
AddRecipeParts core 1 GFS_LightArmorChassis
AddRecipeParts turret 1 GFS_IFVTurret
AddRecipeParts leftTrack 1 catTrack
AddRecipeParts rightTrack 1 catTrack
AddDye 6 green


//Health and Collision
SetupPart core 450 -50 -1 -25 130 22 50
SetupPart rightTrack 450 -49 -10 -27 115 20 5
SetupPart leftTrack 450 -49 -10 22 115 20 5
SetupPart turret200 -20 19 -20 40 11 40
BulletDetection 7
RightLinkPoint [60,11,23.5]
RightLinkPoint [65,7,23.5]
RightLinkPoint [65,3,23.5]
RightLinkPoint [60,-1,23.5]
RightLinkPoint [45,-9.5,23.5]
RightLinkPoint [-30,-9.5,23.5]
RightLinkPoint [-45,0.5,23.5]
RightLinkPoint [-47.5,3,23.5]
RightLinkPoint [-48.5,6,23.5]
RightLinkPoint [-47.5,9,23.5]
RightLinkPoint [-45,11.5,23.5]
RightLinkPoint [-43,12.5,23.5]
LeftLinkPoint [60,11,-23.5]
LeftLinkPoint [65,7,-23.5]
LeftLinkPoint [65,3,-23.5]
LeftLinkPoint [60,-1,-23.5]
LeftLinkPoint [45,-9.5,-23.5]
LeftLinkPoint [-30,-9.5,-23.5]
LeftLinkPoint [-45,0.5,-23.5]
LeftLinkPoint [-47.5,3,-23.5]
LeftLinkPoint [-48.5,6,-23.5]
LeftLinkPoint [-47.5,9,-23.5]
LeftLinkPoint [-45,11.5,-23.5]
LeftLinkPoint [-43,12.5,-23.5]
TrackLinkLength 3
FlipLinkFix false
FixTrackLink 6


//Misc
CameraDistance 15


//Sounds
IdleSound EngineIdle_IFV_BMPD
IdleSoundLength 20
EngineSound Engine_IFV_BMPD
EngineSoundLength 20
ShootSoundPrimary Shoot_RecoillessRifle
ShootSoundSecondary Shoot_Gun_PKT

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

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


//Movement
TurnLeftSpeed 1
TurnRightSpeed 1
FourWheelDrive False


//Misc
Tank True


//Turret rotation stuff
DriverAimSpeed 2 2 0
DriverYawBeforePitch false
DriverTraverseSounds false
YawSound none
YawSoundLength 21
PitchSound none
PitchSoundLength 20

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