Quarterbreed
Well-Known Member
does this work with dayz+
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
what map are you doing this on?
istealth if you are referring to the green box debug monitor, you cannot change the box size.anyway to make it smaller not the text but the box itself around it
![]()
ok, changed it up. got the display working and formatted like the dialog.
Setup is a touch easier:
description.ext changes:
Add below - class RscPicture { };
Code:#include "Dialogs\Common\DialogColorConstants.hpp" #include "Dialogs\DialogColorScheme.hpp" #include "Dialogs\Common\DialogControlClasses.hpp" class RscTitles { #include "Dialogs\DB2DZ.hpp" };
player_spawn_2.sqf changes:
Add where hint silent is:
and comment out the Hint (or remove it).Code:call {execVM "Dialogs\DB2DZ.sqf"};
If you want to change the text:
open DB2DZ.sqf and locate: parseText format
the section after that is exactly like the current debug script but re-formatted to fit in the smaller box. Also make sure you change _servername to your server name!
Code:<t size='1' font='Bitstream' align='center'>%10</t> <t size='1.25' font='Bitstream' ><br />%1<br /><br /></t> <t size='1' font='Bitstream' align='left' color='#ff0000' >Blood: </t><t size='1' font='Bitstream' align='right' >%2</t> <t size='1' font='Bitstream' align='left' ><br />Humanity: </t><t size='1' font='Bitstream' align='right' >%3</t> <t size='1' font='Bitstream' align='left' ><br />Headshots: </t><t size='1' font='Bitstream' align='right' >%4</t> <t size='1' font='Bitstream' align='left' ><br />Murders: </t><t size='1' font='Bitstream' align='right' >%5</t> <t size='1' font='Bitstream' align='left' ><br />Bandits Killed: </t><t size='1' font='Bitstream' align='right' >%6</t> <t size='1' font='Bitstream' align='left' ><br />Zombies Killed: </t><t size='1' font='Bitstream' align='right' >%7</t> <t size='1' font='Bitstream' align='left' ><br />Zombies (alive/total): <t size='1' font='Bitstream' align='right' >%9/%8</t>" ,dayz_playerName,r_player_blood,round(_humanity),_headShots,_killsH,_killsB,_kills,_zombies,_zombiesA,_servername
___________________________________________________________
HTML BOX!
I can add a HTML box so you can have a HTML page splash then flip to the main window after hiding the HTML box.
Basically you would call the HTML page via a script:that would rely on the same framework so just an extra file + the HTML file for splash screens. have a small delay on it fading out and it would be good to go.Code:call {execVM "Dialogs\DB2DZ_HTML.sqf"};
What Size is reasonable? about the size of the Debug Box? or something bigger?
___________________________________________________________
Seems I have a few errors to work though and a few more changes to make.
Known issues:
mini-map doesn't work /sigh
Issue with script not restarting when you disconnect to lobbyCode:JUST COMMENT OUT THE RSCMAPCONTROL SECTIONS AND IT WILL BE FINE, WILL REMOVE
ADD THIS TO init.sqf IN THE "if (!isDedicated) then {" SECTION - should correct the issue.
@Robstar87
Try launching dayz with -showScriptErrors
Watch the server during loading mission file etc, u might notice a pop-up (only stays afew seconds) with an error
Otherwise u can check out your clients rpt logs... believe its in your APPDATA folder for Arma OA
hintSilent parseText format["<t shadow='true' color='#FFA500' size='1.25' font='Bitstream' >%7<br /><br /></t><t color='#FF0000' size='1' font='Bitstream' align='left' >Blood: </t><t color='#FF0000' size='1' font='Bitstream' align='right' >%3</t><t color='#008000' size='1' font='Bitstream' align='left' ><br />Humanity: </t><t color='#008000' size='1' font='Bitstream' align='right' >%5</t><t color='#C0C0C0' size='1' font='Bitstream' align='left' ><br /><br />Headshots: </t><t color='#C0C0C0' size='1' font='Bitstream' align='right' >%2</t><t color='#C0C0C0' size='1' font='Bitstream' align='left' ><br /><br />Murders: </t><t color='#C0C0C0' size='1' font='Bitstream' align='right' >%4</t><t color='#C0C0C0' size='1' font='Bitstream' align='left' ><br />Bandits Killed: </t><t color='#C0C0C0' size='1' font='Bitstream' align='right' >%6</t><t color='#C0C0C0' size='1' font='Bitstream' align='left' ><br />Zombies Killed: </t><t color='#C0C0C0' size='1' font='Bitstream' align='right' >%1</t><br /><img shadow='true' image="images\valhalla.jpg" /><br /><t shadow='true' color='#FFA500' size='1.25' font='Bitstream' align='center'>- with MEDEVAC -<br /><br /></t>",_kills,_headShots,r_player_blood,_killsH,round(_humanity),_killsB,dayz_playerName];