Jump to content

darksoon

Member
  • Posts

    11
  • Joined

  • Last visited

Posts posted by darksoon

  1. 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;
    
  2. well yeah kinda, my config variable _servicePointClasses is a list ob object names, maybe read the topic or learn basic ArmA scripting first if you wanna modify some code :D

    it should look like: 

    _servicePointClasses = ["Land_A_FuelStation_Feed", "other object name", "etc"];
    

    the default value "dayz_fuelpumparray" is a reference to the Epoch array define din the variables.sqf :)

     

    ok i test it but it wont work with the ingame object names... :(

  3. Hey,

    Your Script works perfect on our Chernarus Server. But now we have start a Napf Server and on this Map doesent work the Script. The Script has the same setting as on the other server.

     

    Here the init.sqf settings:

    dayz_fuelpumparray = ["FuelPump_DZ","Land_A_FuelStation_Feed","Land_Ind_FuelStation_Feed_EP1","Land_FuelStation_Feed_PMC","FuelStation","Land_ibr_FuelStation_Feed","Land_fuelstation_army","Land_fuelstation","land_fuelstation_w","Land_benzina_schnell","Land_A_FuelStation_Feed"];
    
    dayz_fuelsources = ["Land_Ind_TankSmall","Land_fuel_tank_big","Land_fuel_tank_stairs","Land_fuel_tank_stairs_ep1","Land_wagon_tanker","Land_fuelstation","Land_fuelstation_army","land_fuelstation_w","Land_benzina_schnell","Land_A_FuelStation_Feed"];
    
    
    	//service point
    	execVM "service_point\service_point.sqf";
    
×
×
  • Create New...