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

Name BMP1
ShortName BMP1
//---Driveables-----------------------------------
//Visuals
Icon BMP1
Model dpn.BMP1
Texture Skin_Vehicle_BMP1

HasDoor True
RotateWheels False
ModelScale 1.00

//Driver and Passengers
Driver 0 20 0 -360 360 -5 15
RotatedDriverOffset 0 0 -4
Passengers 0


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

//Bouncy bouncy
Bounciness 0.3

//Floating


//Ammo
AddAmmo lw_ammo_PG-15V_HEAT
AllowAllAmmo False
BarrelPosition 45 25 0

FloatOnWater True
Buoyancy 0.0001





//Sounds


DriverYawBeforePitch false

DriverTraverseSounds true
PassengerTraverseSounds 0 true

YawSound BMPTurretMovement
YawSoundLength 40

PitchSound BMPTurretMovement
PitchSoundLength 40

StartSound BMPEngineStart
StartSoundLength 300

EngineSound BMPEngineForward

IdleSound BMPEngineIdle
IdleSoundLength 5

BackSound BMPEngineBackwards
EngineSoundLength 100


ShootSoundPrimary BMP1Shoot
ShootDelayPrimary 120

//Weapons




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

//Recipe


//Health and Collision
SetupPart core 60 -62 -6 -19 109 26 39
SetupPart turret 40 -23 21 -14 33 6 27
SetupPart leftTrack 30 -61 -10 22 112 16 6
SetupPart rightTrack 30 -61 -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.83
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

BulletSpread 2
IsExplosionWhenDestroyed True


//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






//----------------------------Basic emission
AddEmitter smoke 1 [28,22,22] [1,1,1] [0,0.5,0] -1 1 0 1 core

//----------------------------Damage
AddEmitter smoke 2 [28,22,22] [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,22,22] [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,22,22] [7,1,7] [0,1.5,0] -1 1 0 0.25 core

AddEmitter flame 1 [28,22,22] [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


