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


//---Standard-------------------------------------
// Naming
Name Technical w/ SPG-9 Recoilless Rifle
Description Middle Eastern Powers Mobility Vehicle_73mm Recoilless Rifle Configuration
ShortName GFS_TechnicalRifle
ItemID Your ID


// Visuals
Model gfs.TechnicalRifle
ModelScale 1
Icon IconTechnicalRifle

//---Driveables-----------------------------------
//Visuals
Texture SkinTechnicalRifle


//Movement
MaxThrottle 1.2
MaxNegativeThrottle 0.7
Drag 10.0


//Wheels
NumWheels 4
WheelPosition 0 -29 -10 -14
WheelPosition 1 -29 -10 14
WheelPosition 2 41 -10 14
WheelPosition 3 41 -10 -14
WheelRadius 1.5
WheelSpringStrength 0.5


//Floating
FloatOnWater False


//Ammo
BulletSpeed 5
BulletSpread 2
AllowAllAmmo False
AddAmmo GFS_73mm


//Weapons
Primary SHELL
Secondary NONE
ShootDelayPrimary 80
ShootDelaySecondary 1
AlternatePrimary False
AlternateSecondary False
ModePrimary FULLAUTO
ModeSecondary FULLAUTO
ShootPointPrimary 13 38 0 turret
TurretOrigin -20 37.5 0


//Driver and Passengers
Driver -20 20 0 -360 360 -5 15
RotatedDriverOffset -4 0 -7
Passengers 2
Passenger 1 10 6 8 core
Passenger 2 10 6 -8 core


//Inventory Slots
CargoSlots 10
ShellSlots 4
FuelTankSize 60000


//Recipe
AddRecipeParts core 1 GFS_CarChassis
AddDye 4 white


//Health and Collision
SetupPart core 50 -52 3 -19 104 26 38
ShootParticlesPrimary flansmod.fmflame -0.75 0 0
ShootParticlesPrimary cloud -0.8 0 0.075
ShootParticlesPrimary cloud -0.8 0 -0.075
ShootParticlesPrimary cloud -0.8 -0.075 0
ShootParticlesPrimary cloud -0.8 0.075 0


//Misc
PlaceableOnLand True
PlaceableOnWater False
CameraDistance 15


//Sounds
IdleSound JeepDrive
IdleSoundLength 20
EngineSound JeepDrive
EngineSoundLength 20
StartSoundRange 12
EngineSoundRange 90
BackSoundRange 50
ShootSoundPrimary Shoot_RecoillessRifle

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

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


//Movement
TurnLeftSpeed 0.5
TurnRightSpeed 0.5
FourWheelDrive False


//Misc
Tank False


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

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