#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 	= "KORD",
			weaponType 				= "cannon",
			caliber 				= 12.7,
			magazines 					= {
									[1] = {
										name = "12.7mm AP",
										magazineCapacity = 100,
										ammoCount = 0,
										magazineCount = 50,
										caliber 				= 12.7,
										velocity				= 220,
										explosionSize 			= 0.1,
										maxPenDepth 			= 0.005,
										timeToLive 				= 10,
										launcher				= "cannon",
										payload					= "kinetic",
										shellWidth				= 0.15,
										shellHeight				= 2.0,
										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 = "12.7mm API",
				magazineCapacity = 200,
				ammoCount = 0,
				magazineCount = 10,			
				caliber 				= 12.7,
				velocity				= 220,
				explosionSize 			= .6,
				maxPenDepth 			= 1.5,
				timeToLive 				= 10,
				launcher				= "cannon",
				payload					= "AP",
				shellWidth				= 0.15,
				shellHeight				= 2.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.15,y=0.35,z=-0.4}
										},
			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 					= 550,
									reload 					= 15,
									cannonBlast				= 0.1,
									recoil 					= 0.0,
									weapon_recoil 			= 0.1,
									dispersion 				= 5,
									gunRange				= 2000,
									gunBias 				= -1,
									elevationSpeed			= .4,
									smokeFactor 			= .1,
									smokeMulti				= 1,
									soundFile   = "MOD/sounds/machine_gun/HeavyMg1.ogg",
									mouseDownSoundFile 			=	"MOD/sounds/machine_gun/HeavyMg1.ogg",

					},
					
	},
}
	

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

vehicle = {

}

