#include "../../scripts/avf_custom.lua"


--[[

	use this file to config the parameters for your tank

	Feel free to rename this to the name of your tank



]]

vehicleParts = {
	chassis = {
		
	},
	turrets = {

	},
	guns = {
		["2A42btrs"]  = {
			name 	= "SPG-9",
			weaponType 				= "cannon",
			caliber 				= 120,
			magazines 					= {
									[1] = {
										name = "53-VF-843B Buster shell",
										magazineCapacity = 1,
										ammoCount = 0,
										magazineCount = 50,
										caliber 				= 120,
										velocity				= 30,
										explosionSize 			= 2.5,
										maxPenDepth 			= 2.2,
										timeToLive 				= 70,
										launcher				= "cannon",
										payload					= "HEAT",
										shellWidth				= 0.25,
										shellHeight				= 0.5,
										r						= 0.5,
										g						= 0.5, 
										b						= 0.5, 
										tracer 					= 50,
										tracerL					= 50,
										tracerW					= 60,
										tracerR					= 0.8,
										tracerG					= 1.0, 
										tracerB					= 1.0,
										shellSpriteName			= "MOD/gfx/rocketModel.png",
										shellSpriteRearName		= "MOD/gfx/shellRear2.png",
							
			},
			[2] = {
				name = "53-VOF-843V HE-F shell.",
				magazineCapacity = 1,
				ammoCount = 0,
				magazineCount = 50,
				caliber 				= 120,
				velocity				= 30,
				explosionSize 			= 2.8,
				maxPenDepth 			= 0.2,
				timeToLive 				= 70,
				launcher				= "cannon",
				payload					= "APHE",
				shellWidth				= 0.25,
				shellHeight				= 0.5,
				r						= 0.5,
				g						= 0.5, 
				b						= 0.5, 
				tracer 					= 50,
				tracerL					= 50,
				tracerW					= 60,
				tracerR					= 0.8,
				tracerG					= 1.0, 
				tracerB					= 1.0,
				shellSpriteName			= "MOD/gfx/rocketModel.png",
				shellSpriteRearName		= "MOD/gfx/shellRear2.png",
           },
		   [3] = {
			name = "3VOF69-K HE shell",
			magazineCapacity = 1,
			ammoCount = 0,
			magazineCount = 50,
			caliber 				= 120,
			velocity				= 30,
			explosionSize 			= 2.5,
			maxPenDepth 			= 2.2,
			timeToLive 				= 70,
			launcher				= "cannon",
			payload					= "HE",
			shellWidth				= 0.25,
			shellHeight				= 0.5,
			r						= 0.0,
			g						= 0.0, 
			b						= 0.0, 
			shellSpriteName			= "MOD/gfx/rocketModel.png",
			shellSpriteRearName		= "MOD/gfx/shellRear2.png",
		},
		avf_barrel_coords_true = true
				},

			loadedMagazine 			= 1,
			barrels 				= 
										{
											[1] = {x=0.05,y=0.03,z=-0.5}
										},
										backBlast				= 
										{
											[1] = {z=4.0,force=5},
										},
			sight					= {
										[1] = {
										x=0.8,
										y=0.8,
										z=1.3,
											},
										},

			scope_offset 			= {
										[1] = {
											x = 0.00,
											y = -0.00
											},
									},
									canZoom					= true,
									zoomSight                 = "MOD/gfx/spg9-sight.png",
									fireControlComputer		= "MOD/gfx/scopeOutside_2.png",
									highVelocityShells		= true,
									RPM 					= 9,
									reload 					= 20,
									cannonBlast				= 0.5,
									recoil 					= 0.01,
									weapon_recoil 			= 100,
									dispersion 				= 10,
									gunRange				= 450,
									gunBias 				= -1,
									elevationSpeed			= .5,
									smokeFactor 			= .2,
									smokeMulti				= 3,
									soundFile   = "MOD/sounds/Relic700KwKReload.ogg",

					},
					
	},
}
	

	---- magazine num _ val
	---- barrels num value

vehicle = {

}

