Add streamer mode game options setting

The chat list does not appear to be toggleable on the fly because it is
a display with no accessible controls. Giving it an idd and using
closeDisplay did not work. So it needs to be manually set off screen in
its config or covered up.
This commit is contained in:
ebaydayz
2016-10-19 15:49:17 -04:00
parent d116bfecb4
commit d13aafcd0c
52 changed files with 190 additions and 75 deletions

View File

@@ -7,6 +7,7 @@
[NEW] 1.8.8 weapon switching system and hotkeys (1 = primary, 2 = pistol, 3 = melee (or rifle onBack if DZE_TwoPrimaries=2;)) [NEW] 1.8.8 weapon switching system and hotkeys (1 = primary, 2 = pistol, 3 = melee (or rifle onBack if DZE_TwoPrimaries=2;))
[NEW] Players can carry more than one primary weapon which allows the abillity to hide one on their back, configure using DZE_TwoPrimaries. See configVariables.sqf for details @icomrade [NEW] Players can carry more than one primary weapon which allows the abillity to hide one on their back, configure using DZE_TwoPrimaries. See configVariables.sqf for details @icomrade
[NEW] Optional news/rules feed on player login, set dayz_enableRules in init.sqf [NEW] Optional news/rules feed on player login, set dayz_enableRules in init.sqf
[NEW] Streamer mode is toggleable by player in game options. Setting enabled hides server water mark and rules feed. @ebaydayz
[NEW] Status UI icons are toggleable between "vanilla","epoch","dark" set DZE_UI in init.sqf @ebaydayz [NEW] Status UI icons are toggleable between "vanilla","epoch","dark" set DZE_UI in init.sqf @ebaydayz
[NEW] Optional dark UI by @hogscraper http://epochmod.com/forum/index.php?/topic/13654-proposed-ui-change/ code fixes by @SplenectomY @icomrade #1622 [NEW] Optional dark UI by @hogscraper http://epochmod.com/forum/index.php?/topic/13654-proposed-ui-change/ code fixes by @SplenectomY @icomrade #1622
[NEW] If using the vanilla UI you may enable or disable the combat icon with DZE_VanillaUICombatIcon = true/false; @icomrade [NEW] If using the vanilla UI you may enable or disable the combat icon with DZE_VanillaUICombatIcon = true/false; @icomrade

View File

@@ -9,7 +9,6 @@ class RscIGUIShortcutButton;
class RscGearShortcutButton; class RscGearShortcutButton;
class RscIGUIListNBox; class RscIGUIListNBox;
class RscActiveText; class RscActiveText;
class RscPictureKeepAspect; class RscPictureKeepAspect;
class RscStandardDisplay; class RscStandardDisplay;
class RscProgress; class RscProgress;
@@ -19,6 +18,9 @@ class RscObject;
class IGUIBack; class IGUIBack;
class RscListBox; class RscListBox;
class RscIGUIListBox; class RscIGUIListBox;
class RscXListBox;
class RscXSliderH;
class RscShortcutButton;
class RscHTML; class RscHTML;
class RscDisplayEmpty; class RscDisplayEmpty;
@@ -43,6 +45,119 @@ class RscDisplayConfigure {
class controlsBackground; class controlsBackground;
class controls; class controls;
}; };
class RscDisplayGameOptions {
movingEnable = 1;
enableDisplay = 1;
onLoad = "{(_this select 0) displayCtrl 140 lbAdd _x;} forEach [localize 'STR_UI_DISABLED',localize 'STR_UI_ENABLED']; (_this select 0) displayCtrl 140 lbSetCurSel (profileNamespace getVariable ['streamerMode',0]); uiNamespace setVariable ['streamerMode',(profileNamespace getVariable ['streamerMode',0])];";
onUnload = "call ui_changeDisplay;";
class controlsBackground;
class controls {
class CA_Title : CA_Title {
x = 0.18;
y = 0.192;
text = $STR_DISP_OPTIONS_GAME_OPTIONS;
};
class CA_TextLanguage : RscText {
x = 0.159803;
y = (0.420549 + -2*0.069854);
text = $STR_DISP_OPT_LANGUAGE;
};
class CA_ValueLanguage : RscXListBox {
idc = 135;
x = 0.400534;
y = (0.420549 + -2*0.069854);
w = 0.3;
};
class CA_TextSubtitles : CA_TextLanguage {
x = 0.159803;
y = (0.420549 + -1*0.069854);
text = $STR_OPT_SUBTITLES;
};
class CA_ValueSubtitles : CA_ValueLanguage {
idc = 102;
x = 0.400534;
y = (0.420549 + -1*0.069854);
w = 0.3;
};
class CA_RadioSubtitles : CA_TextLanguage {
x = 0.159803;
y = (0.420549 + 0*0.069854);
text = $STR_OPT_RADIO_SUBTITLES;
};
class CA_ValueRadio : CA_ValueLanguage {
idc = 103;
y = (0.420549 + 0*0.069854);
};
class CA_TextGore : CA_TextLanguage {
idc = 122;
x = 0.159803;
y = (0.420549 + 1*0.069854);
text = $STR_DISP_OPT_BLOOD;
};
class CA_ValueBlood : CA_ValueLanguage {
idc = 119;
y = (0.420549 + 1*0.069854);
};
class CA_TextFloatingZone : CA_TextLanguage {
x = 0.159803;
y = (0.420549 + 2*0.069854);
text = $STR_DISP_CONF_FLOATING_ZONE;
};
class CA_ValueFloatingZone : RscXSliderH {
idc = 109;
x = 0.400534;
y = (0.420549 + 2*0.069854);
w = 0.3;
};
class CA_TextHeadBob : CA_TextLanguage {
x = 0.159803;
y = (0.420549 + 3*0.069854);
text = $STR_DISP_OPT_HEADBOB;
};
class CA_ValueHeadBob : RscXSliderH {
idc = 138;
x = 0.400534;
y = (0.420549 + 3*0.069854);
w = 0.3;
};
class CA_TextStreamerMode : CA_TextLanguage {
x = 0.159803;
y = (0.420549 + 4*0.069854);
text = $STR_UI_STREAMER_MODE;
};
class CA_ValueStreamerMode : CA_ValueLanguage {
idc = 140;
y = (0.420549 + 4*0.069854);
tooltip = $STR_UI_STREAMER_MODE_TOOLTIP;
onLBSelChanged = "profileNamespace setVariable ['streamerMode',(lbCurSel (_this select 0))];";
};
class CA_ButtonCancel : RscShortcutButton {
idc = 2;
shortcuts[] = {0x00050000 + 1};
x = 0.151;
y = 0.7625;
text = $STR_DISP_CANCEL;
//reset to original value
onButtonClick = "profileNamespace setVariable ['streamerMode',(uiNamespace getVariable 'streamerMode')]; saveProfileNamespace; if (!isNil 'player_toggleStreamerMode') then {call player_toggleStreamerMode;};";
};
class CA_ButtonDefault : RscShortcutButton {
idc = 304;
shortcuts[] = {0x00050000 + 2};
x = 0.338;
y = 0.7625;
text = $STR_DISP_OPTIONS_DIFFICULTY;
};
class CA_ButtonContinue : RscShortcutButton {
idc = 1;
shortcuts[] = {0x00050000 + 0, 28, 57, 156};
x = 0.525;
y = 0.7625;
text = $STR_DISP_OK;
default = 1;
onButtonClick = "saveProfileNamespace; if (!isNil 'player_toggleStreamerMode') then {call player_toggleStreamerMode;};";
};
};
};
class RscDisplayChat class RscDisplayChat
{ {
idd = 24; idd = 24;
@@ -150,7 +265,6 @@ class RscDisplayDebriefing: RscStandardDisplay
delete Mainback; delete Mainback;
}; };
}; };
class RscShortcutButton;
class RscShortcutButtonMain; class RscShortcutButtonMain;
// RscDisplayMultiplayerSetup moved here: // RscDisplayMultiplayerSetup moved here:
@@ -197,33 +311,6 @@ class RscDisplayMissionFail: RscStandardDisplay
}; };
}; };
class CA_TextLanguage;
class RscXListBox;
class RscDisplayGameOptions
{
//onLoad = "((_this select 0) displayCtrl 140) lbAdd 'Default';((_this select 0) displayCtrl 140) lbAdd 'Debug';((_this select 0) displayCtrl 140) lbAdd 'None';((_this select 0) displayCtrl 140) lbSetCurSel (uiNamespace getVariable ['DZ_displayUI', 0]);";
onUnload = "call ui_changeDisplay;"; /*diag_log[diag_tickTime,'RscDisplayGameOptions'];*/
/*class controls
{
class CA_TextUIDisplay: CA_TextLanguage
{
x = 0.159803;
y = "(0.420549 + 4*0.069854)";
text = "DayZ UI:";
};
class CA_ValueUIDisplay: RscXListBox
{
idc = 140;
x = 0.400534;
y = "(0.420549 + 4*0.069854)";
w = 0.3;
onLBSelChanged = "(uiNamespace setVariable ['DZ_displayUI', (_this select 1)]);";
};
};*/
};
class RscDisplayMain : RscStandardDisplay class RscDisplayMain : RscStandardDisplay
{ {
class controlsBackground class controlsBackground

View File

@@ -0,0 +1,15 @@
private "_display";
disableSerialization;
_display = uiNamespace getVariable ["wm_disp",displayNull];
if (!isNull _display) then {
if (profileNamespace getVariable ["streamerMode",0] == 1) then {
_display displayCtrl 1 ctrlShow false;
if (!isNil "dayz_rulesHandle") then {
terminate dayz_rulesHandle;
dayz_rulesHandle = nil;
};
} else {
_display displayCtrl 1 ctrlShow true;
};
};

View File

@@ -126,6 +126,7 @@ if (!isDedicated) then {
//ui //ui
player_toggleSoundMute = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_toggleSoundMute.sqf"; player_toggleSoundMute = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_toggleSoundMute.sqf";
player_toggleStreamerMode = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_toggleStreamerMode.sqf";
player_selectSlot = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\ui_selectSlot.sqf"; player_selectSlot = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\ui_selectSlot.sqf";
player_selectWeapon = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_selectWeapon.sqf"; player_selectWeapon = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_selectWeapon.sqf";
player_gearSet = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_gearSet.sqf"; player_gearSet = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_gearSet.sqf";

View File

@@ -7784,6 +7784,36 @@
<English>Please change your controls. HoldBreath holds too many keys and has been blocked.</English> <English>Please change your controls. HoldBreath holds too many keys and has been blocked.</English>
<German>Bitte ändere deine Steuerung. "Luft anhalten" liegt auf mehr als einer Taste und wurde blockiert.</German> <German>Bitte ändere deine Steuerung. "Luft anhalten" liegt auf mehr als einer Taste und wurde blockiert.</German>
</Key> </Key>
<Key ID="STR_UI_STREAMER_MODE">
<English>Streamer mode:</English>
</Key>
<Key ID="STR_UI_STREAMER_MODE_TOOLTIP">
<English>Hides server watermark and rules feed</English>
</Key>
<Key ID="STR_UI_ENABLED">
<English>Enabled</English>
<French>Activé</French>
<Spanish>Activado</Spanish>
<Italian>Attivato</Italian>
<Hungarian>Engedélyezve</Hungarian>
<Polish>włączony</Polish>
<Russian>Включен</Russian>
<German>Aktiviert</German>
<Czech>Povolen</Czech>
<Japanese>有効</Japanese>
</Key>
<Key ID="STR_UI_DISABLED">
<English>Disabled</English>
<French>Désactivé</French>
<Spanish>Desactivado</Spanish>
<Italian>Disattivato</Italian>
<Hungarian>Kikapcsolva</Hungarian>
<Polish>Wyłączone</Polish>
<Russian>Откл.</Russian>
<German>Deaktiviert</German>
<Czech>Zakázáno</Czech>
<Japanese>無効</Japanese>
</Key>
</Package> </Package>
<Package name="playerstats"> <Package name="playerstats">
<Key ID="str_playerstats_bandit"> <Key ID="str_playerstats_bandit">

View File

@@ -4,4 +4,8 @@
waituntil {!(isNull (findDisplay 46))}; waituntil {!(isNull (findDisplay 46))};
5 cutRsc ["wm_disp","PLAIN"]; 5 cutRsc ["wm_disp","PLAIN"];
((uiNamespace getVariable "wm_disp") displayCtrl 1) ctrlSetText dayZ_serverName; ((uiNamespace getVariable "wm_disp") displayCtrl 1) ctrlSetText dayZ_serverName;
if (profileNamespace getVariable ["streamerMode",0] == 1) then {
(uiNamespace getVariable "wm_disp") displayCtrl 1 ctrlShow false;
};
}; };

View File

@@ -138,7 +138,7 @@ if (!isDedicated) then {
([4654,9595,0] nearestObject 145260) setDamage 1; ([4654,9595,0] nearestObject 145260) setDamage 1;
}; };
if (dayz_enableRules) then { execVM "rules.sqf"; }; if (dayz_enableRules && (profileNamespace getVariable ["streamerMode",0] == 0)) then { dayz_rulesHandle = execVM "rules.sqf"; };
if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; };
execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf";
execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; execFSM "\z\addons\dayz_code\system\player_monitor.fsm";

View File

@@ -1,6 +1,5 @@
private ["_messages","_timeout"]; private ["_messages","_timeout"];
if (isServer) exitWith {};
waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")}; waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")};
_messages = [ _messages = [

View File

@@ -138,7 +138,7 @@ if (!isDedicated) then {
([4654,9595,0] nearestObject 145260) setDamage 1; ([4654,9595,0] nearestObject 145260) setDamage 1;
}; };
if (dayz_enableRules) then { execVM "rules.sqf"; }; if (dayz_enableRules && (profileNamespace getVariable ["streamerMode",0] == 0)) then { dayz_rulesHandle = execVM "rules.sqf"; };
if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; };
execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf";
execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; execFSM "\z\addons\dayz_code\system\player_monitor.fsm";

View File

@@ -1,6 +1,5 @@
private ["_messages","_timeout"]; private ["_messages","_timeout"];
if (isServer) exitWith {};
waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")}; waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")};
_messages = [ _messages = [

View File

@@ -138,7 +138,7 @@ if (!isDedicated) then {
([4654,9595,0] nearestObject 145260) setDamage 1; ([4654,9595,0] nearestObject 145260) setDamage 1;
}; };
if (dayz_enableRules) then { execVM "rules.sqf"; }; if (dayz_enableRules && (profileNamespace getVariable ["streamerMode",0] == 0)) then { dayz_rulesHandle = execVM "rules.sqf"; };
if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; };
execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf";
execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; execFSM "\z\addons\dayz_code\system\player_monitor.fsm";

View File

@@ -1,6 +1,5 @@
private ["_messages","_timeout"]; private ["_messages","_timeout"];
if (isServer) exitWith {};
waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")}; waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")};
_messages = [ _messages = [

View File

@@ -138,7 +138,7 @@ if (!isDedicated) then {
([4654,9595,0] nearestObject 145260) setDamage 1; ([4654,9595,0] nearestObject 145260) setDamage 1;
}; };
if (dayz_enableRules) then { execVM "rules.sqf"; }; if (dayz_enableRules && (profileNamespace getVariable ["streamerMode",0] == 0)) then { dayz_rulesHandle = execVM "rules.sqf"; };
if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; };
execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf";
execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; execFSM "\z\addons\dayz_code\system\player_monitor.fsm";

View File

@@ -1,6 +1,5 @@
private ["_messages","_timeout"]; private ["_messages","_timeout"];
if (isServer) exitWith {};
waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")}; waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")};
_messages = [ _messages = [

View File

@@ -138,7 +138,7 @@ if (!isDedicated) then {
([4654,9595,0] nearestObject 145260) setDamage 1; ([4654,9595,0] nearestObject 145260) setDamage 1;
}; };
if (dayz_enableRules) then { execVM "rules.sqf"; }; if (dayz_enableRules && (profileNamespace getVariable ["streamerMode",0] == 0)) then { dayz_rulesHandle = execVM "rules.sqf"; };
if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; };
execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf";
execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; execFSM "\z\addons\dayz_code\system\player_monitor.fsm";

View File

@@ -1,6 +1,5 @@
private ["_messages","_timeout"]; private ["_messages","_timeout"];
if (isServer) exitWith {};
waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")}; waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")};
_messages = [ _messages = [

View File

@@ -138,7 +138,7 @@ if (!isDedicated) then {
([4654,9595,0] nearestObject 145260) setDamage 1; ([4654,9595,0] nearestObject 145260) setDamage 1;
}; };
if (dayz_enableRules) then { execVM "rules.sqf"; }; if (dayz_enableRules && (profileNamespace getVariable ["streamerMode",0] == 0)) then { dayz_rulesHandle = execVM "rules.sqf"; };
if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; };
execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf";
execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; execFSM "\z\addons\dayz_code\system\player_monitor.fsm";

View File

@@ -1,6 +1,5 @@
private ["_messages","_timeout"]; private ["_messages","_timeout"];
if (isServer) exitWith {};
waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")}; waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")};
_messages = [ _messages = [

View File

@@ -138,7 +138,7 @@ if (!isDedicated) then {
([4654,9595,0] nearestObject 145260) setDamage 1; ([4654,9595,0] nearestObject 145260) setDamage 1;
}; };
if (dayz_enableRules) then { execVM "rules.sqf"; }; if (dayz_enableRules && (profileNamespace getVariable ["streamerMode",0] == 0)) then { dayz_rulesHandle = execVM "rules.sqf"; };
if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; };
execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf";
execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; execFSM "\z\addons\dayz_code\system\player_monitor.fsm";

View File

@@ -1,6 +1,5 @@
private ["_messages","_timeout"]; private ["_messages","_timeout"];
if (isServer) exitWith {};
waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")}; waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")};
_messages = [ _messages = [

View File

@@ -138,7 +138,7 @@ if (!isDedicated) then {
([4654,9595,0] nearestObject 145260) setDamage 1; ([4654,9595,0] nearestObject 145260) setDamage 1;
}; };
if (dayz_enableRules) then { execVM "rules.sqf"; }; if (dayz_enableRules && (profileNamespace getVariable ["streamerMode",0] == 0)) then { dayz_rulesHandle = execVM "rules.sqf"; };
if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; };
execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf";
execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; execFSM "\z\addons\dayz_code\system\player_monitor.fsm";

View File

@@ -1,6 +1,5 @@
private ["_messages","_timeout"]; private ["_messages","_timeout"];
if (isServer) exitWith {};
waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")}; waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")};
_messages = [ _messages = [

View File

@@ -138,7 +138,7 @@ if (!isDedicated) then {
([4654,9595,0] nearestObject 145260) setDamage 1; ([4654,9595,0] nearestObject 145260) setDamage 1;
}; };
if (dayz_enableRules) then { execVM "rules.sqf"; }; if (dayz_enableRules && (profileNamespace getVariable ["streamerMode",0] == 0)) then { dayz_rulesHandle = execVM "rules.sqf"; };
if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; };
execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf";
execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; execFSM "\z\addons\dayz_code\system\player_monitor.fsm";

View File

@@ -1,6 +1,5 @@
private ["_messages","_timeout"]; private ["_messages","_timeout"];
if (isServer) exitWith {};
waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")}; waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")};
_messages = [ _messages = [

View File

@@ -138,7 +138,7 @@ if (!isDedicated) then {
([4654,9595,0] nearestObject 145260) setDamage 1; ([4654,9595,0] nearestObject 145260) setDamage 1;
}; };
if (dayz_enableRules) then { execVM "rules.sqf"; }; if (dayz_enableRules && (profileNamespace getVariable ["streamerMode",0] == 0)) then { dayz_rulesHandle = execVM "rules.sqf"; };
if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; };
execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf";
execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; execFSM "\z\addons\dayz_code\system\player_monitor.fsm";

View File

@@ -1,6 +1,5 @@
private ["_messages","_timeout"]; private ["_messages","_timeout"];
if (isServer) exitWith {};
waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")}; waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")};
_messages = [ _messages = [

View File

@@ -138,7 +138,7 @@ if (!isDedicated) then {
([4654,9595,0] nearestObject 145260) setDamage 1; ([4654,9595,0] nearestObject 145260) setDamage 1;
}; };
if (dayz_enableRules) then { execVM "rules.sqf"; }; if (dayz_enableRules && (profileNamespace getVariable ["streamerMode",0] == 0)) then { dayz_rulesHandle = execVM "rules.sqf"; };
if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; };
execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf";
execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; execFSM "\z\addons\dayz_code\system\player_monitor.fsm";

View File

@@ -1,6 +1,5 @@
private ["_messages","_timeout"]; private ["_messages","_timeout"];
if (isServer) exitWith {};
waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")}; waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")};
_messages = [ _messages = [

View File

@@ -138,7 +138,7 @@ if (!isDedicated) then {
([4654,9595,0] nearestObject 145260) setDamage 1; ([4654,9595,0] nearestObject 145260) setDamage 1;
}; };
if (dayz_enableRules) then { execVM "rules.sqf"; }; if (dayz_enableRules && (profileNamespace getVariable ["streamerMode",0] == 0)) then { dayz_rulesHandle = execVM "rules.sqf"; };
if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; };
execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf";
execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; execFSM "\z\addons\dayz_code\system\player_monitor.fsm";

View File

@@ -1,6 +1,5 @@
private ["_messages","_timeout"]; private ["_messages","_timeout"];
if (isServer) exitWith {};
waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")}; waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")};
_messages = [ _messages = [

View File

@@ -138,7 +138,7 @@ if (!isDedicated) then {
([4654,9595,0] nearestObject 145260) setDamage 1; ([4654,9595,0] nearestObject 145260) setDamage 1;
}; };
if (dayz_enableRules) then { execVM "rules.sqf"; }; if (dayz_enableRules && (profileNamespace getVariable ["streamerMode",0] == 0)) then { dayz_rulesHandle = execVM "rules.sqf"; };
if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; };
execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf";
execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; execFSM "\z\addons\dayz_code\system\player_monitor.fsm";

View File

@@ -1,6 +1,5 @@
private ["_messages","_timeout"]; private ["_messages","_timeout"];
if (isServer) exitWith {};
waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")}; waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")};
_messages = [ _messages = [

View File

@@ -138,7 +138,7 @@ if (!isDedicated) then {
([4654,9595,0] nearestObject 145260) setDamage 1; ([4654,9595,0] nearestObject 145260) setDamage 1;
}; };
if (dayz_enableRules) then { execVM "rules.sqf"; }; if (dayz_enableRules && (profileNamespace getVariable ["streamerMode",0] == 0)) then { dayz_rulesHandle = execVM "rules.sqf"; };
if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; };
execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf";
execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; execFSM "\z\addons\dayz_code\system\player_monitor.fsm";

View File

@@ -1,6 +1,5 @@
private ["_messages","_timeout"]; private ["_messages","_timeout"];
if (isServer) exitWith {};
waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")}; waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")};
_messages = [ _messages = [

View File

@@ -138,7 +138,7 @@ if (!isDedicated) then {
([4654,9595,0] nearestObject 145260) setDamage 1; ([4654,9595,0] nearestObject 145260) setDamage 1;
}; };
if (dayz_enableRules) then { execVM "rules.sqf"; }; if (dayz_enableRules && (profileNamespace getVariable ["streamerMode",0] == 0)) then { dayz_rulesHandle = execVM "rules.sqf"; };
if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; };
execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf";
execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; execFSM "\z\addons\dayz_code\system\player_monitor.fsm";

View File

@@ -1,6 +1,5 @@
private ["_messages","_timeout"]; private ["_messages","_timeout"];
if (isServer) exitWith {};
waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")}; waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")};
_messages = [ _messages = [

View File

@@ -138,7 +138,7 @@ if (!isDedicated) then {
([4654,9595,0] nearestObject 145260) setDamage 1; ([4654,9595,0] nearestObject 145260) setDamage 1;
}; };
if (dayz_enableRules) then { execVM "rules.sqf"; }; if (dayz_enableRules && (profileNamespace getVariable ["streamerMode",0] == 0)) then { dayz_rulesHandle = execVM "rules.sqf"; };
if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; };
execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf";
execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; execFSM "\z\addons\dayz_code\system\player_monitor.fsm";

View File

@@ -1,6 +1,5 @@
private ["_messages","_timeout"]; private ["_messages","_timeout"];
if (isServer) exitWith {};
waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")}; waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")};
_messages = [ _messages = [

View File

@@ -139,7 +139,7 @@ if (!isDedicated) then {
([4654,9595,0] nearestObject 145260) setDamage 1; ([4654,9595,0] nearestObject 145260) setDamage 1;
}; };
if (dayz_enableRules) then { execVM "rules.sqf"; }; if (dayz_enableRules && (profileNamespace getVariable ["streamerMode",0] == 0)) then { dayz_rulesHandle = execVM "rules.sqf"; };
if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; };
execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf";
execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; execFSM "\z\addons\dayz_code\system\player_monitor.fsm";

View File

@@ -1,6 +1,5 @@
private ["_messages","_timeout"]; private ["_messages","_timeout"];
if (isServer) exitWith {};
waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")}; waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")};
_messages = [ _messages = [

View File

@@ -138,7 +138,7 @@ if (!isDedicated) then {
([4654,9595,0] nearestObject 145260) setDamage 1; ([4654,9595,0] nearestObject 145260) setDamage 1;
}; };
if (dayz_enableRules) then { execVM "rules.sqf"; }; if (dayz_enableRules && (profileNamespace getVariable ["streamerMode",0] == 0)) then { dayz_rulesHandle = execVM "rules.sqf"; };
if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; };
execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf";
execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; execFSM "\z\addons\dayz_code\system\player_monitor.fsm";

View File

@@ -1,6 +1,5 @@
private ["_messages","_timeout"]; private ["_messages","_timeout"];
if (isServer) exitWith {};
waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")}; waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")};
_messages = [ _messages = [

View File

@@ -138,7 +138,7 @@ if (!isDedicated) then {
([4654,9595,0] nearestObject 145260) setDamage 1; ([4654,9595,0] nearestObject 145260) setDamage 1;
}; };
if (dayz_enableRules) then { execVM "rules.sqf"; }; if (dayz_enableRules && (profileNamespace getVariable ["streamerMode",0] == 0)) then { dayz_rulesHandle = execVM "rules.sqf"; };
if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; };
execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf";
execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; execFSM "\z\addons\dayz_code\system\player_monitor.fsm";

View File

@@ -1,6 +1,5 @@
private ["_messages","_timeout"]; private ["_messages","_timeout"];
if (isServer) exitWith {};
waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")}; waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")};
_messages = [ _messages = [

View File

@@ -138,7 +138,7 @@ if (!isDedicated) then {
([4654,9595,0] nearestObject 145260) setDamage 1; ([4654,9595,0] nearestObject 145260) setDamage 1;
}; };
if (dayz_enableRules) then { execVM "rules.sqf"; }; if (dayz_enableRules && (profileNamespace getVariable ["streamerMode",0] == 0)) then { dayz_rulesHandle = execVM "rules.sqf"; };
if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; };
execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf";
execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; execFSM "\z\addons\dayz_code\system\player_monitor.fsm";

View File

@@ -1,6 +1,5 @@
private ["_messages","_timeout"]; private ["_messages","_timeout"];
if (isServer) exitWith {};
waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")}; waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")};
_messages = [ _messages = [

View File

@@ -138,7 +138,7 @@ if (!isDedicated) then {
([4654,9595,0] nearestObject 145260) setDamage 1; ([4654,9595,0] nearestObject 145260) setDamage 1;
}; };
if (dayz_enableRules) then { execVM "rules.sqf"; }; if (dayz_enableRules && (profileNamespace getVariable ["streamerMode",0] == 0)) then { dayz_rulesHandle = execVM "rules.sqf"; };
if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; };
execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf";
execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; execFSM "\z\addons\dayz_code\system\player_monitor.fsm";

View File

@@ -1,6 +1,5 @@
private ["_messages","_timeout"]; private ["_messages","_timeout"];
if (isServer) exitWith {};
waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")}; waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")};
_messages = [ _messages = [

View File

@@ -138,7 +138,7 @@ if (!isDedicated) then {
([4654,9595,0] nearestObject 145260) setDamage 1; ([4654,9595,0] nearestObject 145260) setDamage 1;
}; };
if (dayz_enableRules) then { execVM "rules.sqf"; }; if (dayz_enableRules && (profileNamespace getVariable ["streamerMode",0] == 0)) then { dayz_rulesHandle = execVM "rules.sqf"; };
if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; };
execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf";
execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; execFSM "\z\addons\dayz_code\system\player_monitor.fsm";

View File

@@ -1,6 +1,5 @@
private ["_messages","_timeout"]; private ["_messages","_timeout"];
if (isServer) exitWith {};
waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")}; waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")};
_messages = [ _messages = [

View File

@@ -138,7 +138,7 @@ if (!isDedicated) then {
([4654,9595,0] nearestObject 145260) setDamage 1; ([4654,9595,0] nearestObject 145260) setDamage 1;
}; };
if (dayz_enableRules) then { execVM "rules.sqf"; }; if (dayz_enableRules && (profileNamespace getVariable ["streamerMode",0] == 0)) then { dayz_rulesHandle = execVM "rules.sqf"; };
if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; };
execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf";
execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; execFSM "\z\addons\dayz_code\system\player_monitor.fsm";

View File

@@ -1,6 +1,5 @@
private ["_messages","_timeout"]; private ["_messages","_timeout"];
if (isServer) exitWith {};
waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")}; waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")};
_messages = [ _messages = [