#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 	= "BM-21",
			weaponType 				= "rocket",
			caliber 				= 122,
			magazines 					= {
									[1] = {
							name = "9M28F 122mm HE",
							caliber 				= 122,
							velocity				= 87,
							explosionSize			= 6,
							maxPenDepth 			= 0.01,
							gravityCoef 			= 2,
							timeToLive 				= 122,
							launcher				= "rocket",
							payload					= "APHE",
							shellWidth				= 1,
							shellHeight				= 9,
							r						= 0.0,
							g						= 0.0, 
							b						= 0.0, 
							shellSpriteName			= "MOD/gfx/rocketModel2.png",
							shellSpriteRearName		= "MOD/gfx/rocketRear.png",
							flightLoop				= "MOD/sounds/rocketFlightLoop1.ogg",
							magazineCapacity = 40,
							ammoCount = 0,
							magazineCount = 5,
			},
			[2] = {
				name = "9M218 122mm HE",
				caliber 				= 122,
				velocity				= 87,
				explosionSize			= 5,
				maxPenDepth 			= 1.7,
				gravityCoef 			= 2,
				timeToLive 				= 122,
				launcher				= "rocket",
				payload					= "HEAT",
				shellWidth				= 1,
				shellHeight				= 9,
				r						= 0.0,
				g						= 0.0, 
				b						= 0.0, 
				shellSpriteName			= "MOD/gfx/rocketModel2.png",
				shellSpriteRearName		= "MOD/gfx/rocketRear.png",
				flightLoop				= "MOD/sounds/rocketFlightLoop1.ogg",
				magazineCapacity = 40,
				ammoCount = 0,
				magazineCount = 5,
           },
		   [3] = {
			name = "Sakr-45A 122mm AT / AP submunitions",
			caliber 				= 122,
			velocity				= 87,
			explosionSize			= 2,
			maxPenDepth 			= 0.1,
			gravityCoef 			= 2,
			timeToLive 				= 122,
			launcher				= "rocket",
			payload					= "AP",
			shellWidth				= 1,
			shellHeight				= 9,
			r						= 0.0,
			g						= 0.0, 
			b						= 0.0, 
			shellSpriteName			= "MOD/gfx/rocketModel2.png",
			shellSpriteRearName		= "MOD/gfx/rocketRear.png",
			flightLoop				= "MOD/sounds/rocketFlightLoop1.ogg",
			magazineCapacity = 40,
			ammoCount = 0,
			magazineCount = 5,
           },
		},
		loadedMagazine 			= 1,
		barrels 				= 
									{
										[1] = {x=0.2,y=0.5,z=-0.6},
									
									},
		multiBarrel 			= 1,
		backBlast				= 
									{
										[1] = {z=3.0,force=5},
									},
		sight					= {
									[1] = {
									x = 2.3,
									y = 1.3,
									z = 0.3,
										},


									},
		canZoom					= true,
		highVelocityShells		= true,
		RPM 					= 280,
		reload 					= 10,
		recoil 					= 0.3,
		weapon_recoil 			= 75,
		cannonBlast 			= 0.2,
		dispersion 				= 5,
		gunRange				= 500,
		gunBias 				= -1,
		elevationSpeed			= .5,
		smokeFactor 			= 2,
		smokeMulti				= 10,
		soundFile				= "MOD/sounds/rockets/rocket_launcher_05.ogg",

					},
					
	},
}
	

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

vehicle = {

}

