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


//---Standard-------------------------------------
// Naming
Name BM-21 Grad
ShortName Grad
ItemID Your ID


// Visuals
Model gfs.Grad
ModelScale 1
Icon IconGrad


// Recipe


//Misc
Description Russian Rocket Artillery

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

//---Driveables-----------------------------------
//Visuals
Texture SkinGrad


//Movement
MaxThrottle 0.9
MaxNegativeThrottle 0.5
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 122mm


//Weapons
WeaponHud True

TurretOrigin -39 16 0

//Driver and Passengers
Driver 17 14 -9 -360 360 3 50
Passengers 1
Passenger 1 17 14 9 core

//Inventory Slots
CargoSlots 2
FuelTankSize 6000

//Weapons
UseNewWeaponSystem True

AddWeapon BM-21 Rockets
WeaponType GUN
FireMode FullAuto
ShootDelay 10
Alternate True
Damage 1
AmmoSlots 5
BulletSpread 20
BulletSpeed 2
ShootSound GradFire
ShootPoint -8 34 -13 core
ShootPoint -8 34 -10 core
ShootPoint -8 34 -7 core
ShootPoint -8 34 -4 core
ShootPoint -8 34 -1 core
ShootPoint -8 34 1 core
ShootPoint -8 34 4 core
ShootPoint -8 34 7 core
ShootPoint -8 34 10 core
ShootPoint -8 34 13 core
ShootPoint -8 26 -13 core
ShootPoint -8 26 -10 core
ShootPoint -8 26 -7 core
ShootPoint -8 26 -4 core
ShootPoint -8 26 -1 core
ShootPoint -8 26 1 core
ShootPoint -8 26 4 core
ShootPoint -8 26 7 core
ShootPoint -8 26 10 core
ShootPoint -8 26 13 core
Ammo 122mm

TurretOrigin -39 16 0


//Recipe
AddDye 5 brown 1 black


//Health and Collision
SetupPart core 2000 -60 6 -21 120 30 42
SetupPart frontLeftWheel 900 29 -10 14 21 21 8
SetupPart frontRightWheel 900 29 -10 -22 21 21 8
SetupPart backLeftWheel 900 -59 -10 14 47 21 8
SetupPart backRightWheel 900 -59 -10 -22 47 21 8
BulletDetection 7


//Misc
CameraDistance 15


//Sounds
StartSound IFVIdle
StartSoundLength 40
EngineSound IFVDrive
EngineSoundLength 40
ShootSoundPrimary GradFire

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

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


//Movement
TurnLeftSpeed 0.45
TurnRightSpeed 0.45
FourWheelDrive False


//Misc
Tank False


//Turret rotation stuff
DriverYawBeforePitch true
DriverTraverseSounds true
YawSound TurretTraverse1
YawSoundLength 20
PitchSound TurretTraverse2
PitchSoundLength 20
//------------------------------------------------