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


//---Standard-------------------------------------
// Naming
Name SPz Begleitpanzer 57
ShortName CW_Bagelcancer
ItemID Your ID


// Visuals
Model CW.Bagelcancer
ModelScale 1
Icon IconMarder


// Recipe


//Misc
Description German Recon Vehicle_1x 57mm Chain Gun_1x BGM-71 TOW

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

//---Driveables-----------------------------------
//Visuals
Texture SkinBagelcancer


//Movement
MaxThrottle 1.5
MaxNegativeThrottle 1.0
Drag 2.5


//Wheels
NumWheels 4
WheelPosition 0 -35 -10 -25
WheelPosition 1 -35 -10 25
WheelPosition 2 40 -10 25
WheelPosition 3 40 -10 -25
WheelRadius 1.5
WheelSpringStrength 0.5


//Floating


//Ammo
AllowAllAmmo False
AddAmmo CW_IFV57mm
AddAmmo CW_IFV57mmHE
AddAmmo GFS_BGM71


//Weapons
Primary SHELL
Secondary MISSILE
ShootDelayPrimary 8
ShootDelaySecondary 80
ReloadTimePrimary 120
ReloadTimeSecondary 120
AlternatePrimary False
AlternateSecondary False
ModePrimary FULLAUTO
ModeSecondary FULLAUTO
ShootPointPrimary -10 31 0 turret 85 -1 -1
ShootPointSecondary -19 34 -11 turret 0 0 0
TurretOrigin -10 0 0


//Driver and Passengers
Driver 0 13 0 -360 360 -5 30
RotatedDriverOffset 8 0 15
Passengers 0
SetPlayerInvisible true


//Inventory Slots
CargoSlots 8
ShellSlots 3
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 700 -60 3 -30 122 24 60
SetupPart leftTrack 250 -56 -9 21 113 20 10
SetupPart rightTrack 250 -56 -9 -31 113 20 10
SetupPart turret 350 -15 27 -15 30 15 30
BulletDetection 7
ShootParticlesPrimary largeexplode 0 0 0
ShootParticlesPrimary cloud 1 0 0
ShootParticlesPrimary cloud 1.75 0 0
ShootParticlesPrimary cloud 1.5 0 0
ShootParticlesPrimary cloud 1.25 0 0
ShootParticlesPrimary cloud 0.75 0 0
ShootParticlesPrimary cloud 0.5 0 0
ShootParticlesPrimary cloud 0.25 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
ShootParticlesSecondary flansmod.fmflame -0.5 0 0
ShootParticlesSecondary flansmod.fmflame 1.0 0 0
ShootParticlesSecondary cloud 0.25 0.05 0
ShootParticlesSecondary cloud 0.25 -0.05 0
ShootParticlesSecondary cloud 0.25 0 -0.05
ShootParticlesSecondary cloud 0.25 0 0.05
ShootParticlesSecondary cloud 0.25 0.025 0.025
ShootParticlesSecondary cloud 0.25 -0.025 0.025
ShootParticlesSecondary cloud 0.25 0.025 -0.025
ShootParticlesSecondary cloud 0.25 -0.025 -0.025
ShootParticlesSecondary cloud -0.5 0.05 0
ShootParticlesSecondary cloud -0.5 -0.05 0
ShootParticlesSecondary cloud -0.5 0 -0.05
ShootParticlesSecondary cloud -0.5 0 0.05
ShootParticlesSecondary cloud -0.5 0.025 0.025
ShootParticlesSecondary cloud -0.5 -0.025 0.025
ShootParticlesSecondary cloud -0.5 0.025 -0.025
ShootParticlesSecondary cloud -0.5 -0.025 -0.025
ShootParticlesSecondary cloud -1.5 0.05 0
ShootParticlesSecondary cloud -1.5 -0.05 0
ShootParticlesSecondary cloud -1.5 0 -0.05
ShootParticlesSecondary cloud -1.5 0 0.05
ShootParticlesSecondary cloud -1.5 0.025 0.025
ShootParticlesSecondary cloud -1.5 -0.025 0.025
ShootParticlesSecondary cloud -1.5 0.025 -0.025
ShootParticlesSecondary cloud -1.5 -0.025 -0.025


RightLinkPoint [54,11,25]
RightLinkPoint [57,8,25]
RightLinkPoint [57,3,25]
RightLinkPoint [54,0,25]
RightLinkPoint [41,-9,25]
RightLinkPoint [-37,-9,25]
RightLinkPoint [-53,0,25]
RightLinkPoint [-57,3,25]
RightLinkPoint [-57,8,25]
RightLinkPoint [-53,11,25]
LeftLinkPoint [54,11,-25]
LeftLinkPoint [57,8,-25]
LeftLinkPoint [57,3,-25]
LeftLinkPoint [54,0,-25]
LeftLinkPoint [41,-9,-25]
LeftLinkPoint [-37,-9,-25]
LeftLinkPoint [-53,0,-25]
LeftLinkPoint [-57,3,-25]
LeftLinkPoint [-57,8,-25]
LeftLinkPoint [-53,11,-25]
TrackLinkLength 4
FlipLinkFix true
FixTrackLink 5


//Misc
CameraDistance 15


//Sounds
PlaceSoundPrimary EngineStart_IFV_Marder
IdleSound EngineIdle_IFV_Marder
IdleSoundLength 20
EngineSound Engine_IFV_Marder
EngineSoundLength 20
StartSoundRange 12
EngineSoundRange 90
BackSoundRange 50
ShootSoundPrimary Shoot_IFV_57mmBofors
ShootSoundSecondary Shoot_TOW
ReloadSoundPrimary Reload_ChainGun
ReloadSoundSecondary Reload_TOW

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

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


//Movement
TurnLeftSpeed 1.5
TurnRightSpeed 1.5
FourWheelDrive True


//Misc
Tank True
CanMountEntity true


//Turret rotation stuff
DriverAimSpeed 2 2 0
DriverYawBeforePitch true
DriverTraverseSounds true
YawSound TurretYaw2
YawSoundLength 21
PitchSound TurretPitch2
PitchSoundLength 20

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