#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 	= "AGS-30 30mm Automatic grenade launcher",
			weaponType 				= "cannon",
			caliber 				= 30,
			magazines 					= {
									[1] = {
										name = "GPD-30 (HE)",
										magazineCapacity = 100,
										ammoCount = 0,
										magazineCount = 50,
										caliber 				= 30,
										velocity				= 185,
										explosionSize 			= 1.7,
										maxPenDepth 			= -0.1,
										timeToLive 				= 10,
										launcher				= "cannon",
										payload					= "HEAT",
										shellWidth				= 0.15,
										shellHeight				= 1.5,
										r						= 5.5,
										g						= 0.5, 
										b						= 0.5, 
										tracer 					= 50,
										tracerL					= 50,
										tracerW					= 2,
										tracerR					= 180.8,
										tracerG					= 1.0, 
										tracerB					= 1.0,
										shellSpriteName			= "MOD/gfx/shellModel2.png",
										shellSpriteRearName		= "MOD/gfx/shellRear2.png",
							
			},
			[2] = {
				name = "IO-30 (HE)",
				magazineCapacity = 200,
				ammoCount = 0,
				magazineCount = 10,			
				caliber 				= 30,
				velocity				= 185,
				explosionSize 			= 0.6,
				maxPenDepth 			= 0.1,
				timeToLive 				= 10,
				launcher				= "cannon",
				payload					= "explosive",
				shellWidth				= 0.15,
				shellHeight				= 1.5,
				r						= 5.5,
				g						= 0.5, 
				b						= 0.5, 
				tracer 					= 50,
				tracerL					= 50,
				tracerW					= 2,
				tracerR					= 180.8,
				tracerG					= 1.0, 
				tracerB					= 1.0,
				shellSpriteName			= "MOD/gfx/shellModel2.png",
				shellSpriteRearName		= "MOD/gfx/shellRear2.png",
           },
		   [3] = {
			name = "VOG-30D (HE)",
			magazineCapacity = 200,
			ammoCount = 0,
			magazineCount = 10,			
			caliber 				= 30,
			velocity				= 185,
			explosionSize 			= 0.2,
			maxPenDepth 			= 0.01,
			timeToLive 				= 10,
			launcher				= "cannon",
			payload					= "HESH",
			shellWidth				= 0.15,
			shellHeight				= 1.5,
			r						= 5.5,
			g						= 0.5, 
			b						= 0.5, 
			tracer 					= 50,
			tracerL					= 50,
			tracerW					= 2,
			tracerR					= 180.8,
			tracerG					= 1.0, 
			tracerB					= 1.0, 
			shellSpriteName			= "MOD/gfx/shellModel2.png",
			shellSpriteRearName		= "MOD/gfx/shellRear2.png",


						},
				},
			loadedMagazine 			= 1,
			barrels 				= 
										{
											[1] = {x=0.1,y=0.1,z=-0.75}
										},
			sight					= {
										[1] = {
										x=0.2,
										y=0.7,
										z=0.6,
											},
										},

			scope_offset 			= {
										[1] = {
											x = 0.03,
											y = -0.025
											},
									},
									canZoom					= false,
									highVelocityShells		= true,
									RPM 					= 400,
									reload 					= 20,
									cannonBlast				= 0.2,
									recoil 					= 0.0,
									weapon_recoil 			= 0.3,
									dispersion 				= 5,
									gunRange				= 2100,
									gunBias 				= -1,
									elevationSpeed			= .4,
									smokeFactor 			= .1,
									smokeMulti				= 1,
									soundFile   = "MOD/sounds/grenade_mg/single_shot_01.ogg",
									mouseDownSoundFile 			=	"MOD/sounds/grenade_mg/single_shot_01.ogg",

					},
					
	},
}
	

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

vehicle = {

}

