Jump to content
Sign in to follow this  
Osperia

Ammocounter with source=”ammo”

Recommended Posts

Hi! Im trying to make my ammocounter work with source=”ammo” instead of source=”revolving”. For source="revolving” I have a working ammocounter, but it becomes a problem if you have different magazine sizes and thought that the use of source=”ammo” would solve that problem. But i'm currently having a problem making the source="ammo" work the way i want which is way I see if any of you guys know I can set it up.

 

Current ammocounter

Spoiler

			class Counter32_hide
			{
			type="hide";
			source="revolving";
			selection="counter32";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.001;
			};
			class Counter31_unhide
			{
			type="hide";
			source="revolving";
			selection="counter31";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.0;
			unhideValue = 0.001;
			//unhideValue = 0.032;
			//unhideValue = 0.029;
			};
			class Counter30_unhide
			{
			type="hide";
			source="revolving";
			selection="counter30";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.0;
			unhideValue = 0.032;//063
			};
			class Counter29_unhide
			{
			type="hide";
			source="revolving";
			selection="counter29";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.0;
			unhideValue = 0.063;//094
			};
			class Counter28_unhide
			{
			type="hide";
			source="revolving";
			selection="counter28";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.0;
			unhideValue = 0.125;
			};
			class Counter27_unhide
			{
			type="hide";
			source="revolving";
			selection="counter27";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.0;
			unhideValue = 0.156;
			};
			class Counter26_unhide
			{
			type="hide";
			source="revolving";
			selection="counter26";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.0;
			unhideValue = 0.187;
			};
			class Counter25_unhide
			{
			type="hide";
			source="revolving";
			selection="counter25";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.0;
			unhideValue = 0.218;
			};
			class Counter24_unhide
			{
			type="hide";
			source="revolving";
			selection="counter24";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.0;
			unhideValue = 0.249;
			};
			class Counter23_unhide
			{
			type="hide";
			source="revolving";
			selection="counter23";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.0;
			unhideValue = 0.28;
			};
			class Counter22_unhide
			{
			type="hide";
			source="revolving";
			selection="counter22";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.0;
			unhideValue = 0.311;
			};
			class Counter21_unhide
			{
			type="hide";
			source="revolving";
			selection="counter21";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.0;
			unhideValue = 0.342;
			};
			class Counter20_unhide
			{
			type="hide";
			source="revolving";
			selection="counter20";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.0;
			unhideValue = 0.373;
			};
			class Counter19_unhide
			{
			type="hide";
			source="revolving";
			selection="counter19";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.0;
			unhideValue = 0.404;
			};
			class Counter18_unhide
			{
			type="hide";
			source="revolving";
			selection="counter18";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.0;
			unhideValue = 0.435;
			};
			class Counter17_unhide
			{
			type="hide";
			source="revolving";
			selection="counter17";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.0;
			unhideValue = 0.466;
			};
			class Counter16_unhide
			{
			type="hide";
			source="revolving";
			selection="counter16";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.0;
			unhideValue = 0.497;
			};
			class Counter15_unhide
			{
			type="hide";
			source="revolving";
			selection="counter15";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.0;
			unhideValue = 0.528;
			};
			class Counter14_unhide
			{
			type="hide";
			source="revolving";
			selection="counter14";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.0;
			unhideValue = 0.559;
			};
			class Counter13_unhide
			{
			type="hide";
			source="revolving";
			selection="counter13";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.0;
			unhideValue = 0.590;
			};
			class Counter12_unhide
			{
			type="hide";
			source="revolving";
			selection="counter12";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.0;
			unhideValue = 0.621;
			};
			class Counter11_unhide
			{
			type="hide";
			source="revolving";
			selection="counter11";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.0;
			unhideValue = 0.652;
			};
			class Counter10_unhide
			{
			type="hide";
			source="revolving";
			selection="counter10";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.0;
			unhideValue = 0.683;
			};
			class Counter09_unhide
			{
			type="hide";
			source="revolving";
			selection="counter09";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.0;
			unhideValue = 0.714;
			};
			class Counter08_unhide
			{
			type="hide";
			source="revolving";
			selection="counter08";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.0;
			unhideValue = 0.745;
			};
			class Counter07_unhide
			{
			type="hide";
			source="revolving";
			selection="counter07";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.0;
			unhideValue = 0.776;
			};
			class Counter06_unhide
			{
			type="hide";
			source="revolving";
			selection="counter06";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.0;
			unhideValue = 0.807;
			};
			class Counter05_unhide
			{
			type="hide";
			source="revolving";
			selection="counter05";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.0;
			unhideValue = 0.838;
			};
			class Counter04_unhide
			{
			type="hide";
			source="revolving";
			selection="counter04";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.0;
			unhideValue = 0.869;
			};
			class Counter03_unhide
			{
			type="hide";
			source="revolving";
			selection="counter03";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.0;
			unhideValue = 0.900;
			};
			class Counter02_unhide
			{
			type="hide";
			source="revolving";
			selection="counter02";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.0;
			unhideValue = 0.931;
			};
			class Counter01_unhide
			{
			type="hide";
			source="revolving";
			selection="counter01";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.0;
			unhideValue = 0.962;
			};
			class Counter00_unhide
			{
			type="hide";
			source="revolving";
			selection="counter00";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.0;
			unhideValue = 0.993;
			};
			
			class Counter31_rehide
			{
			type="hide";
			source="revolving";
			selection="counter31";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.032;//063
			};
			class Counter30_rehide
			{
			type="hide";
			source="revolving";
			selection="counter30";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.063;//094
			};
			class Counter29_rehide
			{
			type="hide";
			source="revolving";
			selection="counter29";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.125;
			};
			class Counter28_rehide
			{
			type="hide";
			source="revolving";
			selection="counter28";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.156;
			};
			class Counter27_rehide
			{
			type="hide";
			source="revolving";
			selection="counter27";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.187;
			};
			class Counter26_rehide
			{
			type="hide";
			source="revolving";
			selection="counter26";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.218;
			};
			class Counter25_rehide
			{
			type="hide";
			source="revolving";
			selection="counter25";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.249;
			};
			class Counter24_rehide
			{
			type="hide";
			source="revolving";
			selection="counter24";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.28;
			};
			class Counter23_rehide
			{
			type="hide";
			source="revolving";
			selection="counter23";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.311;
			};
			class Counter22_rehide
			{
			type="hide";
			source="revolving";
			selection="counter22";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.342;
			};
			class Counter21_rehide
			{
			type="hide";
			source="revolving";
			selection="counter21";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.373;
			};
			class Counter20_rehide
			{
			type="hide";
			source="revolving";
			selection="counter20";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.404;
			};
			class Counter19_rehide
			{
			type="hide";
			source="revolving";
			selection="counter19";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.435;
			};
			class Counter18_rehide
			{
			type="hide";
			source="revolving";
			selection="counter18";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.466;
			};
			class Counter17_rehide
			{
			type="hide";
			source="revolving";
			selection="counter17";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.497;
			};
			class Counter16_rehide
			{
			type="hide";
			source="revolving";
			selection="counter16";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.528;
			};
			class Counter15_rehide
			{
			type="hide";
			source="revolving";
			selection="counter15";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.559;
			};
			class Counter14_rehide
			{
			type="hide";
			source="revolving";
			selection="counter14";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.59;
			};
			class Counter13_rehide
			{
			type="hide";
			source="revolving";
			selection="counter13";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.621;
			};
			class Counter12_rehide
			{
			type="hide";
			source="revolving";
			selection="counter12";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.652;
			};
			class Counter11_rehide
			{
			type="hide";
			source="revolving";
			selection="counter11";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.683;
			};
			class Counter10_rehide
			{
			type="hide";
			source="revolving";
			selection="counter10";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.714;
			};
			class Counter09_rehide
			{
			type="hide";
			source="revolving";
			selection="counter09";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.745;
			};
			class Counter08_rehide
			{
			type="hide";
			source="revolving";
			selection="counter08";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.776;
			};
			class Counter07_rehide
			{
			type="hide";
			source="revolving";
			selection="counter07";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.807;
			};
			class Counter06_rehide
			{
			type="hide";
			source="revolving";
			selection="counter06";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.838;
			};
			class Counter05_rehide
			{
			type="hide";
			source="revolving";
			selection="counter05";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.869;
			};
			class Counter04_rehide
			{
			type="hide";
			source="revolving";
			selection="counter04";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.9;
			};
			class Counter03_rehide
			{
			type="hide";
			source="revolving";
			selection="counter03";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.931;
			};
			class Counter02_rehide
			{
			type="hide";
			source="revolving";
			selection="counter02";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.962;
			};
			class Counter01_rehide
			{
			type="hide";
			source="revolving";
			selection="counter01";
			sourceAddress="mirror";
			minValue = -1;
			maxValue = 0;
			minphase = -1;
			maxphase = 0;
			hideValue = 0.993;
			};

 

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×