Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Mission selection with list of players (aspect + tweak)
- class RscDisplayRemoteMissions:RscDisplayServer
- {
- access=3;
- controls[]={"Background1","Background2","Title","PlayersTitleBackground","PlayersTitle","PlayersBackground","Players","ButtonDifficulty","ButtonEditor","ButtonCancel","ButtonOK"};
- class PlayersTitleBackground:RscText // edited (tweak)
- {
- x=__EVAL(1 + AR_modifX - 0.25 - AR_PlayerListX);
- y=__EVAL(1 + AR_modifY - 0.025 - 0.125 - AR_PlayerListY);
- w=__EVAL(0.25 + AR_PlayerListX);
- h=0.025;
- colorBackground[]={1,1,1,0.75};
- colorText[]={0,0,0,1};
- text="";
- };
- class PlayersTitle:RscText // edited (tweak)
- {
- x=__EVAL(1 + AR_modifX - 0.25 - AR_PlayerListX);
- y=__EVAL(1 + AR_modifY - 0.025 - 0.125 - AR_PlayerListY);
- w=__EVAL(0.25 + AR_PlayerListX);
- h=0.025;
- colorBackground[]={1,1,1,0.75};
- colorText[]={0,0,0,1};
- text="$STR_DISP_SRVSETUP_PLAYERS";
- style="0 + 160";
- };
- class PlayersBackground:RscText // edited (tweak)
- {
- x=__EVAL(1 + AR_modifX - 0.25 - AR_PlayerListX);
- y=__EVAL(1 + AR_modifY - 0.125 - AR_PlayerListY);
- w=__EVAL(0.25 + AR_PlayerListX);
- h=__EVAL(0.125 + AR_PlayerListY);
- colorBackground[]={0,0,0,0.75};
- colorText[]={0,0,0,1};
- text="";
- };
- class Players:RscListBox // edited (tweak)
- {
- idc=105;
- x=__EVAL(1 + AR_modifX - 0.25 - AR_PlayerListX);
- y=__EVAL(1 + AR_modifY - 0.125 - AR_PlayerListY);
- w=__EVAL(0.25 + AR_PlayerListX);
- h=__EVAL(0.125 + AR_PlayerListY);
- colorSelect[]={1,1,1,1};
- colorText[]={1,1,1,0.75};
- rowHeight=0.025;
- };
- class ButtonCancel:RscActiveMenu // edited (aspect + tweak)
- {
- idc=2;
- text="$STR_DISP_DISCONNECT";
- x=0.65;
- y=__EVAL(0.9 + AR_modifY);
- w=0.096; // -0.054
- h=0.05;
- soundClick[]={"ui\ui_cc",0.2,1};
- };
- };
- // Client screen (aspect + tweak)
- class RscDisplayClient
- {
- access=3;
- idd=18;
- movingEnable=1;
- controls[]={"Background","PlayersTitleBackground","PlayersTitle","PlayersBackground","Players"};
- class Background:RscText // edited
- {
- idc=101;
- style=2;
- x=__EVAL(0 - AR_modifX);
- y=__EVAL(0 - AR_modifY);
- w=__EVAL(1 + AR_modifX * 2);
- h=__EVAL(1 + AR_modifY * 2);
- text="$STR_DISP_CLIENT_TEXT";
- font="SteelfishB128";
- sizeEx=0.098;
- colorText[]={1,1,1,1};
- colorBackground[]={0,0,0,1};
- };
- class PlayersTitleBackground:RscText // edited (tweak)
- {
- x=__EVAL(1 + AR_modifX - 0.25 - AR_PlayerListX);
- y=__EVAL(1 + AR_modifY - 0.025 - 0.525 + AR_PlayerListY);
- w=__EVAL(0.25 + AR_PlayerListX);
- h=0.025;
- colorBackground[]={1,1,1,0.75};
- colorText[]={0,0,0,1};
- text="";
- };
- class PlayersTitle:RscText // edited (tweak)
- {
- x=__EVAL(1 + AR_modifX - 0.25 - AR_PlayerListX);
- y=__EVAL(1 + AR_modifY - 0.025 - 0.525 + AR_PlayerListY);
- w=__EVAL(0.25 + AR_PlayerListX);
- h=0.025;
- colorBackground[]={1,1,1,0.75};
- colorText[]={0,0,0,1};
- text="$STR_DISP_SRVSETUP_PLAYERS";
- style="0 + 160";
- };
- class PlayersBackground:RscText // edited (tweak)
- {
- x=__EVAL(1 + AR_modifX - 0.25 - AR_PlayerListX);
- y=__EVAL(1 + AR_modifY - 0.525 - AR_PlayerListY);
- w=__EVAL(0.25 + AR_PlayerListX);
- h=__EVAL(0.525 + AR_PlayerListY); // +0.4
- colorBackground[]={0,0,0,0.75};
- colorText[]={0,0,0,1};
- text="";
- };
- class Players:RscListBox // edited (tweak)
- {
- idc=102;
- x=__EVAL(1 + AR_modifX - 0.25 - AR_PlayerListX);
- y=__EVAL(1 + AR_modifY - 0.525 - AR_PlayerListY);
- w=__EVAL(0.25 + AR_PlayerListX);
- h=__EVAL(0.525 + AR_PlayerListY);
- colorSelect[]={1,1,1,1};
- colorText[]={1,1,1,0.75};
- rowHeight=0.025;
- };
- };
- // Briefing MP Server (aspect + tweak)
- class RscDisplayServerGetReady:RscDisplayGetReady
- {
- access=3;
- idd=52;
- controls[]={"Background3","Background4","TitleTop","PlayersTitleBackground","PlayersTitle","PlayersBackground","Players","ButtonContinue","ButtonCancel"};
- class PlayersTitleBackground:RscText // edited (tweak)
- {
- x=__EVAL(1 + AR_modifX - 0.25 - AR_PlayerListX);
- y=__EVAL(1 + AR_modifY - 0.025 - 0.125 - AR_PlayerListY);
- w=__EVAL(0.25 + AR_PlayerListX);
- h=0.025;
- colorBackground[]={1,1,1,0.75};
- colorText[]={0,0,0,1};
- text="";
- };
- class PlayersTitle:RscText // edited (tweak)
- {
- x=__EVAL(1 + AR_modifX - 0.25 - AR_PlayerListX);
- y=__EVAL(1 + AR_modifY - 0.025 - 0.125 - AR_PlayerListY);
- w=__EVAL(0.25 + AR_PlayerListX);
- h=0.025;
- colorBackground[]={1,1,1,0.75};
- colorText[]={0,0,0,1};
- text="$STR_DISP_SRVSETUP_PLAYERS";
- style="0 + 160";
- };
- class PlayersBackground:RscText // edited (tweak)
- {
- x=__EVAL(1 + AR_modifX - 0.25 - AR_PlayerListX);
- y=__EVAL(1 + AR_modifY - 0.125 - AR_PlayerListY);
- w=__EVAL(0.25 + AR_PlayerListX);
- h=__EVAL(0.125 + AR_PlayerListY);
- colorBackground[]={0,0,0,0.75};
- colorText[]={0,0,0,1};
- text="";
- };
- class Players:RscListBox // edited (tweak)
- {
- idc=110;
- x=__EVAL(1 + AR_modifX - 0.25 - AR_PlayerListX);
- y=__EVAL(1 + AR_modifY - 0.125 - AR_PlayerListY);
- w=__EVAL(0.25 + AR_PlayerListX);
- h=__EVAL(0.125 + AR_PlayerListY);
- colorSelect[]={1,1,1,1};
- colorText[]={1,1,1,0.75};
- rowHeight=0.025;
- };
- class ButtonContinue:RscActiveMenu // edited
- {
- idc=1;
- x=0.85;
- y=__EVAL(0.9 + AR_modifY);
- w=0.15;
- h=0.05;
- color[]={1,1,1,1};
- colorBackground="{0, 0, 0, 0.5}";
- colorActive[]={1,0,0,1};
- text="$STR_DISP_SERVER_READY";
- default=1;
- };
- class ButtonCancel:RscActiveMenu // edited (aspect + tweak)
- {
- idc=2;
- x=__EVAL(0.7 - AR_PlayerListX);
- y=__EVAL(0.9 + AR_modifY);
- w=0.09; // -0.06
- h=0.05;
- color[]={1,1,1,1};
- colorBackground="{0, 0, 0, 0.5}";
- colorActive[]={1,0,0,1};
- text="$STR_DISP_CANCEL";
- };
- };
- // Briefing MP Client (aspect + tweak)
- class RscDisplayClientGetReady:RscDisplayGetReady
- {
- access=3;
- idd=53;
- controls[]={"Background3","Background4","TitleTop","PlayersTitleBackground","PlayersTitle","PlayersBackground","Players","ButtonContinue","ButtonCancel"};
- class PlayersTitleBackground:RscText // edited (tweak)
- {
- x=__EVAL(1 + AR_modifX - 0.25 - AR_PlayerListX);
- y=__EVAL(1 + AR_modifY - 0.025 - 0.125 - AR_PlayerListY);
- w=__EVAL(0.25 + AR_PlayerListX);
- h=0.025;
- colorBackground[]={1,1,1,0.75};
- colorText[]={0,0,0,1};
- text="";
- };
- class PlayersTitle:RscText // edited (tweak)
- {
- x=__EVAL(1 + AR_modifX - 0.25 - AR_PlayerListX);
- y=__EVAL(1 + AR_modifY - 0.025 - 0.125 - AR_PlayerListY);
- w=__EVAL(0.25 + AR_PlayerListX);
- h=0.025;
- colorBackground[]={1,1,1,0.75};
- colorText[]={0,0,0,1};
- text="$STR_DISP_SRVSETUP_PLAYERS";
- style="0 + 160";
- };
- class PlayersBackground:RscText // edited (tweak)
- {
- x=__EVAL(1 + AR_modifX - 0.25 - AR_PlayerListX);
- y=__EVAL(1 + AR_modifY - 0.125 - AR_PlayerListY);
- w=__EVAL(0.25 + AR_PlayerListX);
- h=__EVAL(0.125 + AR_PlayerListY);
- colorBackground[]={0,0,0,0.75};
- colorText[]={0,0,0,1};
- text="";
- };
- class Players:RscListBox // edited (tweak)
- {
- idc=110;
- x=__EVAL(1 + AR_modifX - 0.25 - AR_PlayerListX);
- y=__EVAL(1 + AR_modifY - 0.125 - AR_PlayerListY);
- w=__EVAL(0.25 + AR_PlayerListX);
- h=__EVAL(0.125 + AR_PlayerListY);
- colorSelect[]={1,1,1,1};
- colorText[]={1,1,1,0.75};
- rowHeight=0.025;
- };
- class ButtonContinue:RscActiveMenu // edited
- {
- default=1;
- idc=1;
- x=0.85;
- y=__EVAL(0.9 + AR_modifY);
- w=0.15;
- h=0.05;
- color[]={1,1,1,1};
- colorBackground="{0, 0, 0, 0.5}";
- colorActive[]={1,0,0,1};
- text="$STR_DISP_CLIENT_READY";
- };
- class ButtonCancel:RscActiveMenu // edited (aspect + tweak)
- {
- idc=2;
- x=__EVAL(0.7 -0.096 - AR_PlayerListX); // -0.096
- y=__EVAL(0.9 + AR_modifY);
- w=0.096; // -0.054
- h=0.05;
- color[]={1,1,1,1};
- colorBackground="{0, 0, 0, 0.5}";
- colorActive[]={1,0,0,1};
- text="$STR_DISP_DISCONNECT";
- };
- };
- // Debriefing (aspect + tweak)
- class RscDisplayDebriefing:RscDisplayBackgroundStripes
- {
- access=3;
- idd=50;
- movingEnable=0;
- objects[]={"Notepad","Statistics"};
- controlsBackground[]={"Background1","Background2"};
- controls[]={"Background3","Background4","TitleTop","PlayersTitleBackground","PlayersTitle","PlayersBackground","Players","ButtonRestart","ButtonContinue"};
- class Notepad:RscObject
- {
- model="blok_selmis2.p3d";
- idc=-1;
- type=83;
- autoOpen=1;
- autoZoom=0;
- animSpeed=1;
- animation="blok_mis.rtm";
- position[]={0.2,0.02,1.2};
- direction[]={0,"-sin 15","cos 15"};
- up[]={0,"cos 15","sin 15"};
- positionBack[]={0.3,0.1,1.4};
- inBack=0;
- enableZoom=1;
- zoomDuration=0.5;
- scale=2;
- controls[]={"Left","Right"};
- class Left:RscHTML
- {
- idc=101;
- type=23;
- selection="papir";
- x=0;
- y=0;
- w=1;
- h=1;
- angle=0;
- size=0.35;
- filename="";
- colorLink[]={0,0,0,1};
- colorLinkActive[]={0,0,0,1};
- };
- class Right:RscHTML
- {
- idc=102;
- type=23;
- selection="papir2";
- x=0;
- y=0;
- w=1;
- h=1;
- angle=0;
- size=0.35;
- filename="";
- colorLink[]={0.2,0.2,0.4,1};
- colorLinkActive[]={0.4,0.17,0.24,1};
- };
- };
- class Statistics:RscObject
- {
- model="desky.p3d";
- idc=105;
- type=82;
- position[]={-0.275,0.024,1.1};
- direction[]={0,-0.259,0.966};
- up[]={0,0.966,0.259};
- positionBack[]={-0.275,0.024,1.1};
- inBack=0;
- enableZoom=0;
- zoomDuration=0.5;
- scale=2;
- controls[]={"Statistics"};
- class Statistics:RscHTML
- {
- idc=103;
- type=23;
- selection="papir";
- x=0;
- y=0;
- w=1;
- h=1;
- angle=0;
- size=0.34;
- filename="";
- colorLink[]={0.2,0.2,0.4,1};
- colorLinkActive[]={0.4,0.17,0.24,1};
- };
- };
- class Background3:RscBackgroundStripeTopAlpha
- {
- };
- class TitleTop:RscText // edited
- {
- x=__EVAL(0.0 - AR_modifX);
- y=__EVAL(0.0 - AR_modifY);
- w=__EVAL(1 + AR_modifX * 2);
- h=0.125;
- style=2;
- text="$STR_DISP_DEBRIEFING";
- font="SteelfishB128";
- sizeEx=0.098;
- colorText[]={1,1,1,1};
- };
- class Background4:RscBackgroundStripeBottomAlpha
- {
- };
- class PlayersTitleBackground:RscText // edited (tweak)
- {
- idc=106;
- x=__EVAL(1 + AR_modifX - 0.25 - AR_PlayerListX);
- y=__EVAL(1 + AR_modifY - 0.175 - 0.025 - AR_PlayerListY);
- w=__EVAL(0.25 + AR_PlayerListX);
- h=0.025;
- colorBackground[]={1,1,1,0.75};
- colorText[]={0,0,0,1};
- text="";
- };
- class PlayersTitle:RscText // edited (tweak)
- {
- idc=107;
- x=__EVAL(1 + AR_modifX - 0.25 - AR_PlayerListX);
- y=__EVAL(1 + AR_modifY - 0.175 - 0.025 - AR_PlayerListY);
- w=__EVAL(0.25 + AR_PlayerListX);
- h=0.025;
- colorBackground[]={1,1,1,0.75};
- colorText[]={0,0,0,1};
- text="$STR_DISP_SRVSETUP_PLAYERS";
- style="0 + 160";
- };
- class PlayersBackground:RscText // edited (tweak)
- {
- idc=108;
- x=__EVAL(1 + AR_modifX - 0.25 - AR_PlayerListX);
- y=__EVAL(1 + AR_modifY - 0.175 - AR_PlayerListY);
- w=__EVAL(0.25 + AR_PlayerListX);
- h=__EVAL(0.175 + AR_PlayerListY); // +0.05
- colorBackground[]={0,0,0,0.75};
- colorText[]={0,0,0,1};
- text="";
- };
- class Players:RscListBox // edited (tweak)
- {
- idc=109;
- x=__EVAL(1 + AR_modifX - 0.25 - AR_PlayerListX);
- y=__EVAL(1 + AR_modifY - 0.175 - AR_PlayerListY);
- w=__EVAL(0.25 + AR_PlayerListX);
- h=__EVAL(0.175 + AR_PlayerListY); // +0.05
- colorSelect[]={1,1,1,1};
- colorText[]={1,1,1,0.75};
- rowHeight=0.025;
- };
- class ButtonRestart:RscActiveMenu // edited
- {
- idc=104;
- x=0.7;
- y=__EVAL(0.9 + AR_modifY);
- w=0.15;
- h=0.05;
- color[]={1,1,1,1};
- colorBackground="{0, 0, 0, 0.5}";
- colorActive[]={1,0,0,1};
- text="$STR_DISP_DEBRIEFING_RESTART";
- };
- class ButtonContinue:RscActiveMenu // edited
- {
- idc=2;
- x=0.85;
- y=__EVAL(0.9 + AR_modifY);
- w=0.15;
- h=0.05;
- color[]={1,1,1,1};
- colorBackground="{0, 0, 0, 0.5}";
- colorActive[]={1,0,0,1};
- text="$STR_DISP_CONTINUE";
- default=1;
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement