#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 	= "ARBALET-DM",
			caliber 				= 12.7,
			weaponType 				= "cannon",
			loadedMagazine 			= 1,
			magazines 					= {
									[1] = {
											name = "ARBALET-DM 12.7 mm",
											magazineCapacity = 450,
											ammoCount = 0,
											magazineCount = 450,
											caliber 				= 12.7,
											velocity				= 420,
											hit 					=2,
											maxPenDepth 			= 0.90,
											timeToLive 				= 7,
											launcher				= "cannon",
											payload					= "AP",
											gravityCoef 			= 1.3,
											shellWidth				= 0.1,
											shellHeight				= 0.6,
											r						= 0.8,
											g						= 30.8, 
											b						= 0.5, 
											tracer 					= 2,
											tracerL					= 7,
											tracerW					= 2,
											tracerR					= 1.8,
											tracerG					= 30.0, 
											tracerB					= 1.0, 
											shellSpriteName			= "MOD/gfx/shellModel2.png",
											shellSpriteRearName		= "MOD/gfx/shellRear2.png",
				},
				},
			loadedMagazine 			= 1,
			barrels 				= 
										{
											[1] = {x=0.25,y=0.16,z=-1.5}
										},
			sight					= {
										[1] = {
										x=0.61,
										y=1.1,
										z=0.2,
											},
										},

			scope_offset 			= {
										[1] = {
											x = 0.0,
											y = -0.05
											},
									},
									canZoom                    = true,
									zoomSight                 = "MOD/gfx/zsuDUBLAR2.png",
									highVelocityShells        = true,
									cannonBlast             = 1,
									RPM                     = 600,
									reload                     = 15,
									recoil                     = 0.0,
									dispersion                 = 2,
									gunRange                = 500,
									gunBias                 = -1,
									elevationSpeed            = .6,
									smokeFactor             = 0.1,
									smokeMulti                = 0.1,
									soundFile   = "MOD/sounds/excalibur-howitzer-shot.ogg",
									reloadSound                = "MOD/sounds/AltTankReload",
		},
					
	},
}
	

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

vehicle = {

}

