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

Name Obyekt-681-2
ShortName Obyekt-681-2
//---Driveables-----------------------------------
//Visuals
Icon BMP2
Model dpn.Obyekt6812
Texture Skin_Vehicle_BMP2

HasDoor True
RotateWheels False
ModelScale 1.00

//Driver and Passengers
Driver 0 21 -3 -360 360 -5 20
RotatedDriverOffset 0 0 0
Passengers 0

//Wheels
NumWheels 4
WheelPosition 0 -25 -14 25
WheelPosition 1 -25 -14 -25
WheelPosition 2 45 -14 -25
WheelPosition 3 45 -14 25
WheelSpringStrength 0.5

//Bouncy bouncy
Bounciness 0.3

//Floating


//Ammo
AddAmmo lw_ammo_PG-15V_HEAT
AllowAllAmmo False
BarrelPosition 63.5 23.5 -1.5

//Secondary gun
AddGun 25 25 -8 turret lw_gun_KVP
ShootDelay 2
ShootSoundSecondary KPVShoot

FloatOnWater True
Buoyancy 0.0065
//Sounds


DriverYawBeforePitch false

DriverTraverseSounds true
PassengerTraverseSounds 0 true

YawSound BMPTurretMovement
YawSoundLength 40

PitchSound BMPTurretMovement
PitchSoundLength 40

StartSound BMPEngineStart
StartSoundLength 300

EngineSound BMPEngineForward

ExitSound BMPEngineStop
ExitSoundLength 60

IdleSound BMPEngineIdle
IdleSoundLength 5

BackSound BMPEngineBackwards
EngineSoundLength 100

ShellDelay 120
ShootSoundPrimary BMP1Shoot

//Weapons




SetPlayerInvisible true
//----------------------------Inventory Slots
CargoSlots 20
ShellSlots 4
FuelTankSize 10250

//Recipe


//Health and Collision
SetupPart core 60 -48 -6 -19 109 22 39
SetupPart turret 40 -17 16 -21 40 11 39
SetupPart leftTrack 30 -46 -10 22 112 16 6
SetupPart rightTrack 30 -46 -10 -28 112 15 6



AddRecipeParts core 1 smallChassis 1 vehicleSeat
AddRecipeParts turret 1 wheel





//Movement
//Third Person Camera Distance
CameraDistance 5.0
//----------------------------Throttle
MaxThrottle 0.80
MaxNegativeThrottle 0.4739
ClutchBrake 0.2075

//----------------------------Steering modifiers
TurnLeftSpeed 0.415
TurnRightSpeed 0.415
Tank true
FourWheelDrive true

//Misc
SquashMobs True

//----------------------------Turret rotation stuff
DriverAimSpeed 1.91 1.71 0

DriverYawBeforePitch false


IsExplosionWhenDestroyed True


//----------------------------Basic emission
AddEmitter smoke 1 [30,18,25] [1,1,1] [0,0.5,0] -1 1 0 1 core

//1st gear change

AddEmitter largesmoke 1 [30,18,25] [1,1,1] [0,1.5,0] 0.02 0.07 0 1 core

//1st gear

AddEmitter explode 1 [30,18,25] [1,1,1] [0,0.2,0] 0.05 0.2 0 1 core

//2nd gear change

AddEmitter largesmoke 1 [30,18,25] [1,1,1] [0,3,0] 0.2 0.25 0 1 core


//2nd gear

AddEmitter explode 1 [30,18,25] [1,1,1] [0,0.7,0] 0.2 0.5 0 1 core


//3rd gear change

AddEmitter largesmoke 1 [30,18,25] [1,1,1] [0,4,0] 0.5 0.52 0 1 core


AddEmitter flame 1 [30,18,25] [1,1,1] [0,2,0] 0.5 0.51 0 1 core


//3rd gear
AddEmitter explode 1 [30,18,25] [1,1,1] [0,0.7,0] 0.5 2 0 1 core


AddEmitter largesmoke 3 [30,18,25] [1,1,1] [0,0.5,0] 0.8 2 0 1 core


//4th gear change

AddEmitter largesmoke 1 [30,18,25] [1,1,1] [0,5,0] 0.7 0.75 0 1 core

AddEmitter flame 1 [30,18,25] [1,1,1] [0,5,0] 0.7 0.73 0 1 core







//----------------------------Damage
AddEmitter smoke 2 [28,18,24] [7,1,7] [0,0.5,0] -1 1 0 0.75 core
AddEmitter smoke 2 [5,43,14] [3,1,3] [0,0.5,0] -1 1 0 0.75 turret

AddEmitter largesmoke 3 [28,18,24] [7,1,7] [0,1,0] -1 1 0 0.5 core
AddEmitter largesmoke 2 [5,43,14] [3,1,3] [0,0.5,0] -1 1 0 0.5 turret

AddEmitter largesmoke 1 [28,18,24] [7,1,7] [0,1.5,0] -1 1 0 0.25 core

AddEmitter flame 1 [28,18,24] [5,1,5] [0,1,0] -1 1 0 0.25 core
AddEmitter largesmoke 1 [5,43,14] [3,1,3] [0,1,0] -1 1 0 0.5 turret


//Shoot Things
ShootParticlesPrimary largeexplode 0 0 0
ShootParticlesPrimary explode 1.5 0 0
ShootParticlesPrimary largesmoke 0.5 0 0.1
ShootParticlesPrimary largesmoke 0.5 0 -0.1
ShootParticlesPrimary largesmoke 0.5 0.06 0.06
ShootParticlesPrimary largesmoke 0.5 0.06 -0.06
ShootParticlesPrimary largesmoke 0.5 -0.06 0.06
ShootParticlesPrimary largesmoke 0.5 -0.06 -0.06
ShootParticlesPrimary largesmoke 0.5 -0.1 0
ShootParticlesPrimary largesmoke 0.5 0.1 0
ShootParticlesPrimary cloud 0.05 0 0.2
ShootParticlesPrimary cloud 0.05 0 -0.2
ShootParticlesPrimary cloud 0.05 0.13 0.13
ShootParticlesPrimary cloud 0.05 0.13 -0.13
ShootParticlesPrimary cloud 0.05 -0.13 0.13
ShootParticlesPrimary cloud 0.05 -0.13 -0.13
ShootParticlesPrimary cloud 0.05 -0.2 0
ShootParticlesPrimary cloud 0.05 0.2 0
ShootParticlesPrimary flansmod.fmflame 1 0 0
ShootParticlesPrimary flansmod.fmflame 1.75 0 0
ShootParticlesPrimary flansmod.fmflame 1.5 0 0
ShootParticlesPrimary flansmod.fmflame 1.25 0 0
ShootParticlesPrimary flansmod.fmflame 0.75 0 0
ShootParticlesPrimary flansmod.fmflame 0.5 0 0
ShootParticlesPrimary flansmod.fmflame 0.25 0 0
ShootParticlesPrimary flansmod.fmflame 1.5 0 0
ShootParticlesPrimary flansmod.fmflame 0.5 0 0.1
ShootParticlesPrimary flansmod.fmflame 0.5 0 -0.1
ShootParticlesPrimary flansmod.fmflame 0.5 0.06 0.06
ShootParticlesPrimary flansmod.fmflame 0.5 0.06 -0.06
ShootParticlesPrimary flansmod.fmflame 0.5 -0.06 0.06
ShootParticlesPrimary flansmod.fmflame 0.5 -0.06 -0.06
ShootParticlesPrimary flansmod.fmflame 0.5 -0.1 0
ShootParticlesPrimary flansmod.fmflame 0.5 0.1 0
ShootParticlesPrimary flansmod.fmflame 0.05 0 0.2
ShootParticlesPrimary flansmod.fmflame 0.05 0 -0.2
ShootParticlesPrimary flansmod.fmflame 0.05 0.13 0.13
ShootParticlesPrimary flansmod.fmflame 0.05 0.13 -0.13
ShootParticlesPrimary flansmod.fmflame 0.05 -0.13 0.13
ShootParticlesPrimary flansmod.fmflame 0.05 -0.13 -0.13
ShootParticlesPrimary flansmod.fmflame 0.05 -0.2 0
ShootParticlesPrimary flansmod.fmflame 0.05 0.2 0
ShootParticlesPrimary flansmod.fmflame 0.1 0 0.4
ShootParticlesPrimary flansmod.fmflame 0.1 0 -0.4
ShootParticlesPrimary flansmod.fmflame 0.1 0.26 0.26
ShootParticlesPrimary flansmod.fmflame 0.1 0.26 -0.26
ShootParticlesPrimary flansmod.fmflame 0.1 -0.26 0.26
ShootParticlesPrimary flansmod.fmflame 0.1 -0.26 -0.26
ShootParticlesPrimary flansmod.fmflame 0.1 -0.4 0
ShootParticlesPrimary flansmod.fmflame 0.1 0.4 0

