Jump to content
  • 0

possible way to show world coords in Debug Monitor?


darksoon

Question

9 answers to this question

Recommended Posts

  • 0

ok when i used that my debug monitor is broken and doesent work anymore

<t size='1'font='Bitstream'align='center'>%14</t><br/>"


        _gpsposi = (getPosASL player);             //14 || or _gpsposi =  (mapGridPosition getPos player) //14   ||  -  same with no working debug monitor
Link to comment
Share on other sites

  • 0
fnc_debug = {
    j0k3r5_stats = true;
    while {j0k3r5_stats} do
	{
		_pic = (gettext (configFile >> 'CfgVehicles' >> (typeof vehicle player) >> 'picture'));
		_nearestCity = nearestLocations [getPos player, ["NameCityCapital","NameCity","NameVillage","NameLocal"],750];
		_textCity = "Wilderness";
		if (count _nearestCity > 0) then {_textCity = text (_nearestCity select 0)};
			
		if (player == vehicle player) then
		{
			_pic = (gettext (configFile >> 'cfgWeapons' >> (currentWeapon player) >> 'picture'));	
		}
		else
		{
			_pic = (gettext (configFile >> 'CfgVehicles' >> (typeof vehicle player) >> 'picture'));	
		};
		_timeleft= 					_combattimeout-time;
		_kills = 					player getVariable["zombieKills",0];
		_killsH = 					player getVariable["humanKills",0];
		_killsB = 					player getVariable["banditKills",0];
		_humanity =					player getVariable["humanity",0];
		_headShots = 				player getVariable["headShots",0];
		_zombies =      			count entities "zZombie_Base";
		_zombiesA =     			{alive _x} count entities "zZombie_Base";
        _posii = (getPosASL player);
		
		hintSilent parseText format 
			[
				"
	<t size='1.3' font='Bitstream' align='center' color='#DDDDDD'>c4n DayZ Epoch</t>
	<br/>
	<t size='1.05' font='Bitstream' align='center' color='#DDDDDD'>%9 Players Online</t>
	<br/>
	<br/>
	<t size='1.10' font='Bitstream' color='#5882FA'>%14</t><br/>
	<t size='1' font='Bitstream' align='center' color='#DDDDDD'>Location: %11</t>
	<br/>
	<br/>
	<t size='1' font='Bitstream' align='left'>Zombies Killed: </t>				<t size='1' font='Bitstream' align='right'>%5</t><br/>
	<t size='1' font='Bitstream' align='left'>Headshots: </t>					<t size='1' font='Bitstream' align='right'>%6</t><br/>
	<t size='1' font='Bitstream' align='left'>Murders: </t>						<t size='1' font='Bitstream' align='right'>%3</t><br/>
	<t size='1' font='Bitstream' align='left'>Bandits Killed: </t>				<t size='1' font='Bitstream' align='right'>%4</t><br/>
	<t size='1' font='Bitstream' align='left'>Zeds Alive/Total: </t>				<t size='1' font='Bitstream' align='right'>%13/%12</t><br/>
	<br/>
	<t size='1.05' font='Bitstream' align='left'>Humanity: </t>						<t size='1.05' font='Bitstream' align='right'>%2</t><br/>
	<t size='1.05' font='Bitstream' align='left' color='#C70000'>Blood: </t>		<t size='1.05' font='Bitstream' align='right' color='#C70000'>%1</t><br/>
	<br/>
	<t size='1' font='Bitstream' align='center' color='#DDDDDD'>www.c4-network.de</t><br/>
	<t size='1' font='Bitstream' align='center' color='#DDDDDD'>TS3: ts.c4-network.de</t><br/>
	<t size='1'font='Bitstream'align='center'>%14</t><br/>"
				<br/>
				",
				r_player_blood,												//1
				round _humanity,											//2
				_killsH,													//3
				_killsB,													//4
				_kills,														//5
				_headShots,													//6
				(dayz_Survived),											//7
				(239-(round(serverTime/60))),								//8 change the 180 to suit your server mins for restarts
				(count playableUnits),										//9 Player Online
				_pic,														//10
				_textCity,													//11
				count entities "zZombie_Base",								//12
				{alive _x} count entities "zZombie_Base",					//13
				dayz_playerName,												//14
				_posii //15

			]; 
			sleep 5;
	};
};

[] spawn fnc_debug;
Link to comment
Share on other sites

  • 0
fnc_debug = {
    j0k3r5_stats = true;
    while {j0k3r5_stats} do
	{
		_pic = (gettext (configFile >> 'CfgVehicles' >> (typeof vehicle player) >> 'picture'));
		_nearestCity = nearestLocations [getPos player, ["NameCityCapital","NameCity","NameVillage","NameLocal"],750];
		_textCity = "Wilderness";
		if (count _nearestCity > 0) then {_textCity = text (_nearestCity select 0)};
			
		if (player == vehicle player) then
		{
			_pic = (gettext (configFile >> 'cfgWeapons' >> (currentWeapon player) >> 'picture'));	
		}
		else
		{
			_pic = (gettext (configFile >> 'CfgVehicles' >> (typeof vehicle player) >> 'picture'));	
		};
		_timeleft= 					_combattimeout-time;
		_kills = 					player getVariable["zombieKills",0];
		_killsH = 					player getVariable["humanKills",0];
		_killsB = 					player getVariable["banditKills",0];
		_humanity =					player getVariable["humanity",0];
		_headShots = 				player getVariable["headShots",0];
		_zombies =      			count entities "zZombie_Base";
		_zombiesA =     			{alive _x} count entities "zZombie_Base";
        _posii = str(((getPosASL player) select 0), ((getPosASL player) select 1));
		
		hintSilent parseText format ["
			<t size='1.3' font='Bitstream' align='center' color='#DDDDDD'>c4n DayZ Epoch</t><br/>
			<t size='1.05' font='Bitstream' align='center' color='#DDDDDD'>%9 Players Online</t><br/>
			<br/>
			<t size='1.10' font='Bitstream' color='#5882FA'>%14</t><br/>
			<t size='1' font='Bitstream' align='center' color='#DDDDDD'>Location: %11</t><br/>
			<br/>
			<t size='1' font='Bitstream' align='left'>Zombies Killed: </t>				<t size='1' font='Bitstream' align='right'>%5</t><br/>
			<t size='1' font='Bitstream' align='left'>Headshots: </t>					<t size='1' font='Bitstream' align='right'>%6</t><br/>
			<t size='1' font='Bitstream' align='left'>Murders: </t>						<t size='1' font='Bitstream' align='right'>%3</t><br/>
			<t size='1' font='Bitstream' align='left'>Bandits Killed: </t>				<t size='1' font='Bitstream' align='right'>%4</t><br/>
			<t size='1' font='Bitstream' align='left'>Zeds Alive/Total: </t>			<t size='1' font='Bitstream' align='right'>%13/%12</t><br/>
			<br/>
			<t size='1.05' font='Bitstream' align='left'>Humanity: </t>					<t size='1.05' font='Bitstream' align='right'>%2</t><br/>
			<t size='1.05' font='Bitstream' align='left' color='#C70000'>Blood: </t>	<t size='1.05' font='Bitstream' align='right' color='#C70000'>%1</t><br/>
			<br/>
			<t size='1' font='Bitstream' align='center' color='#DDDDDD'>www.c4-network.de</t><br/>
			<t size='1' font='Bitstream' align='center' color='#DDDDDD'>TS3: ts.c4-network.de</t><br/>
			<t size='1'font='Bitstream'align='center'>%14</t>",
			r_player_blood,												//1
			round _humanity,											//2
			_killsH,													//3
			_killsB,													//4
			_kills,														//5
			_headShots,													//6
			(dayz_Survived),											//7
			(239-(round(serverTime/60))),								//8 change the 180 to suit your server mins for restarts
			(count playableUnits),										//9 Player Online
			_pic,														//10
			_textCity,													//11
			count entities "zZombie_Base",								//12
			{alive _x} count entities "zZombie_Base",					//13
			dayz_playerName,												//14
			_posii //15
		]; 
		sleep 5;
	};
};

[] spawn fnc_debug;

Just in case you don't have it working yet

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...