Schmidtch.

XM8 "server info"

6 posts in this topic

Hello,

Any tip how to add scroll to XM8 tablet section "server info"? I added there more content and it's cutted..
If it's imposible, i have another question. File is in html format, if i add local style (css), that will be accepted and visible?

Regards,
Schmidtch.

Share this post


Link to post
Share on other sites
Advertisement
3 hours ago, Metalman10 said:

Do you have XM8 Apps installed??

No, i using normal XM8 : )

Share this post


Link to post
Share on other sites

Posted (edited)

Spoiler

disableSerialization;
[
	"",
	0,
	0.2,
	10,
	0,
	0,
	8
] spawn BIS_fnc_dynamicText;

createDialog "RscDisplayWelcome";

_display = findDisplay 999999;
_text1 = _display displayCtrl 1100;
_buttonSpoiler = _display displayctrl 2400;
_textSpoiler = _display displayctrl 1101;
_text2 = _display displayCtrl 1102;

_message = "";
_message = _message + "<t align='center' size='8' shadow='1'></t><br />";
_message = _message + "<t align='center' size='2' shadow='1'>Welcome to <t color='#00C7ED'>[EXP] United Sahrani</t><br />";
_message = _message + "<t align='center' size='1' shadow='1'><t color='#00C7ED'>______________________________________________________________________________________</t><br /><br />";
_message = _message + "<t align='center' size='2' shadow='1'><t color='#00C7ED'>Teamspeak</t><br />";
_message = _message + "<t align='center' size='1' shadow='1'><t color='#00C7ED'>IP:69.195.146.26</t><br />";
_message = _message + "<t align='center' size='1' shadow='1'><t color='#00C7ED'>______________________________________________________________________________________</t><br /><br />";
_message = _message + "<t align='center' size='2' shadow='1'><t color='#00C7ED'>Restarts:</t><br />";
_message = _message + "<t align='center' size='1' shadow='1'>This Server Restarts Every 3 Hours.<br />";
_message = _message + "<t align='center' size='1' shadow='1'><t color='#00C7ED'>______________</t><br />";
_message = _message + "<t align='center' size='2' shadow='1'><t color='#00C7ED'>Restart warnings:</t><br />";
_message = _message + "<t align='center' size='1' shadow='1'>60,30,20,15,10,5,4,3,2,1 minutes<br />";
_message = _message + "<t align='center' size='1' shadow='1'>Please Log Off At The 3 Minute Mark To Make Sure Your Gear Saves.<br />";
_message = _message + "<t align='center' size='1' shadow='1'>We Will Not Replace Your Gear If It Despwans On Restart.<br />";
_message = _message + "<t align='center' size='1' shadow='1'>Server Will Automatically Lock At 5 Minutes Till Restart.<br />";
_message = _message + "<t align='center' size='1' shadow='1'>You Will Automatically Be Kicked At 4 Minutes Till Restart.<br />";
_message = _message + "<t align='center' size='1' shadow='1'><t color='#00C7ED'>______________________________________________________________________________________</t><br />";
_message = _message + "<t align='center' size='2' shadow='1'><t color='#00C7ED'>Server Features:</t><br />";
_message = _message + "<t align='center' size='1' shadow='1'>DMS Missions<br />";
_message = _message + "<t align='center' size='1' shadow='1'>Ranks<br />";
_message = _message + "<t align='center' size='1' shadow='1'>Capture Points<br />";
_message = _message + "<t align='center' size='1' shadow='1'>Custom Map<br />";
_message = _message + "<t align='center' size='1' shadow='1'>Base Building Kit's<br />";
_message = _message + "<t align='center' size='1' shadow='1'>Admin Events<br />";
_message = _message + "<t align='center' size='1' shadow='1'>Buyable Taru Pods (To Be Added)<br />";
_message = _message + "<t align='center' size='1' shadow='1'>IgiLoad Script (To Be Added)<br />";
_message = _message + "<t align='center' size='1' shadow='1'>15k Start (To Be Added)<br />";
_message = _message + "<t align='center' size='1' shadow='1'>Roaming AI <br />";
_message = _message + "<t align='center' size='1' shadow='1'><t color='#00C7ED'>______________________________________________________________________________________</t><br />";
_message = _message + "<t align='center' size='2' shadow='1'><t color='#00C7ED'>Owner:</t><br />";
_message = _message + "<t align='center' size='1' shadow='1'><t color='#FF2D00'>Metalman10</t><br />";
_message = _message + "<t align='center' size='1' shadow='1'><t color='#00C7ED'>______________</t><br />";
_message = _message + "<t align='center' size='2' shadow='1'><t color='#00C7ED'>Developer:</t><br />";
_message = _message + "<t align='center' size='1' shadow='1'><t color='#0099FF'>Kramer</t><br />";
_message = _message + "<t align='center' size='1' shadow='1'><t color='#FF2D00'>Metalman10</t><br />";
_message = _message + "<t align='center' size='1' shadow='1'><t color='#00C7ED'>______________</t><br />";
_message = _message + "<t align='center' size='2' shadow='1'><t color='#00C7ED'>Admins:</t><br />";
_message = _message + "<t align='center' size='1' shadow='1'><t color='#00A6FF'>HillBillyD</t><br />";
_message = _message + "<t align='center' size='1' shadow='1'><t color='#32286F'>Metalman10</t><br />";
_message = _message + "<t align='center' size='1' shadow='1'><t color='#C70039'>DVO</t><br />";
_message = _message + "<t align='center' size='1' shadow='1'><t color='#00C7ED'>______________________________________________________________________________________</t><br />";


//Fill only the first text
_text1 ctrlSetStructuredText (parseText _message);
//Resize StructuredText component to display the scrollbar if needed
_positionText1 = ctrlPosition _text1;
_yText1 = _positionText1 select 1;
_hText1 = ctrlTextHeight _text1;
//EXP
_text1 ctrlSetPosition [_positionText1 select 0, _yText1, _positionText1 select 2, _hText1];
_text1 ctrlcommit 0;
//Hide second text, spoiler text and button
_buttonSpoiler ctrlSetFade 1;
_buttonSpoiler ctrlCommit 0;
_buttonSpoiler ctrlEnable false;
_textSpoiler ctrlSetFade 1;
_textSpoiler ctrlCommit 0;
_text2 ctrlSetFade 1;
_text2 ctrlCommit 0;

 

 

Edited by Metalman10
1 person likes this

Share this post


Link to post
Share on other sites
Advertisement

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

  • Recently Browsing   0 members

    No registered users viewing this page.