Joerivang Posted October 23, 2013 Report Share Posted October 23, 2013 Hi, I would like to use a custom debug monitor when i press insert in my server, i've seen some on the internet which are static and i used it before but i want it to be toggable like the original debug monitor. I made a file called custom_monitor.sqf: [player,4,true,(getPosATL player)] spawn player_alertZombies; _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]; hintSilent parseText format [" <t size='1.25'font='Bitstream'align='center'color='#39B0FF'>DMIK DayZ Epoch</t><br/> <t size='1.15' font='Bitstream'align='center' color='#39B0FF'>www.dmik.nl/epoch</t><br/><br/> <t size='1'font='Bitstream'align='left' color='#FF0000'>Blood</t><t size='1' font='Bitstream'align='right'>%1</t><br/> <t size='1'font='Bitstream'align='left' color='#DDDDDD'>Humanity</t><t size='1'font='Bitstream'align='right'>%2</t><br/> <t size='1'font='Bitstream'align='left'color='#DDDDDD'>Murders</t><t size='1'font='Bitstream'align='right'>%3</t><br/> <t size='1'font='Bitstream'align='left'color='#DDDDDD'>Bandit Kills</t><t size='1'font='Bitstream'align='right'>%4</t><br/> <t size='1'font='Bitstream'align='left'color='#DDDDDD'>Zombie Kills</t><t size='1'font='Bitstream'align='right'>%5</t><br/> <t size='0.95' font='Bitstream' align='left' color='#DDDDDD'>Players Online: </t><t size='0.95 'font='Bitstream' align='right'>%6</t><br/><br/> <t size='1'font='Bitstream'align='center'color='#39B0FF'>Restart in %7 minutes</t><br/>", r_player_blood,round _humanity,_killsH,_killsB,_kills,(count playableUnits),(240-(round(serverTime) / 60)) ]; Then i added the following line to the init.sqf: (the file is placed in the folder scripts so that's not the problem). [] execVM "scripts\custom_monitor.sqf"; When i press insert, the default debug just comes up. Are there anymore actions i need to take to make it work? Link to comment Share on other sites More sharing options...
0 Joerivang Posted October 23, 2013 Author Report Share Posted October 23, 2013 If i add this to my compiles.sqf, will it work? playerstats = compile preprocessFileLineNumbers "scripts\custom_monitor.sqf"; Link to comment Share on other sites More sharing options...
0 thade Posted October 24, 2013 Report Share Posted October 24, 2013 Be interested if you can get this to work, I am looking for the same thing. I also don't want the debug monitor static a lot of people don't like it and its conflicting with my weapons cache and mission system hints. Link to comment Share on other sites More sharing options...
0 Joerivang Posted October 24, 2013 Author Report Share Posted October 24, 2013 I have got it to work using the following tutorial: https://github.com/nomadichayward/dayz_dual_debug_monitor You can also do this with your own debug of course, you don't have to use the dual debug monitor. Just look at the part where he explains about the compiles.sqf. Link to comment Share on other sites More sharing options...
0 Surreal419 Posted February 28, 2014 Report Share Posted February 28, 2014 Yeah I don't have the code he's telling me to change in my compiles.sqf wtf Link to comment Share on other sites More sharing options...
Question
Joerivang
Hi,
I would like to use a custom debug monitor when i press insert in my server, i've seen some on the internet which are static and i used it before but i want it to be toggable like the original debug monitor.
I made a file called custom_monitor.sqf:
Then i added the following line to the init.sqf: (the file is placed in the folder scripts so that's not the problem).
When i press insert, the default debug just comes up. Are there anymore actions i need to take to make it work?
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now