From c9258d4e0ed1862b8378de6e122663b2cdd2c35b Mon Sep 17 00:00:00 2001 From: He-Man Date: Tue, 15 Jan 2019 17:19:03 +0100 Subject: [PATCH] E-Pad Buttons --- .../E_Pad/{E_Pad.html => ServerContacts.html} | 6 +---- Sources/epoch_config/Configs/CfgEPad.hpp | 23 +++++++++++++++---- 2 files changed, 19 insertions(+), 10 deletions(-) rename Sources/epoch_code/customs/E_Pad/{E_Pad.html => ServerContacts.html} (85%) diff --git a/Sources/epoch_code/customs/E_Pad/E_Pad.html b/Sources/epoch_code/customs/E_Pad/ServerContacts.html similarity index 85% rename from Sources/epoch_code/customs/E_Pad/E_Pad.html rename to Sources/epoch_code/customs/E_Pad/ServerContacts.html index dff57c8a..840250f0 100644 --- a/Sources/epoch_code/customs/E_Pad/E_Pad.html +++ b/Sources/epoch_code/customs/E_Pad/ServerContacts.html @@ -27,14 +27,10 @@ a:visited {

-Our Servers:
+Server Contacts:
Homepage: EpochMod.com
Discord: EpochMod Discord
FaceBook: https://www.facebook.com/EpochMod/

-

-News
-- Added E-Pad
-

diff --git a/Sources/epoch_config/Configs/CfgEPad.hpp b/Sources/epoch_config/Configs/CfgEPad.hpp index 24f564c6..ecbb9cdf 100644 --- a/Sources/epoch_config/Configs/CfgEPad.hpp +++ b/Sources/epoch_config/Configs/CfgEPad.hpp @@ -148,11 +148,24 @@ class e_pad_config Tooltip = "Info-Menu"; ToggleVar = ""; ToggleAble = "false"; + class contact + { + ButtonText = ""; + Description = "Contact"; + icon = "x\addons\a3_epoch_code\Data\UI\epad\Contact1.paa"; + color[] = {1,1,1,1}; + colortoggled[] = {0,1,0,1}; + html = "epoch_code\customs\E_Pad\ServerContacts.html"; + action = ""; + Tooltip = "COntact us"; + ToggleVar = ""; + ToggleAble = "false"; + }; class serverinfo { ButtonText = ""; Description = "Server Info"; - icon = "x\addons\a3_epoch_code\Data\UI\epad\server_info_icon_ca.paa"; + icon = "x\addons\a3_epoch_code\Data\UI\epad\info.paa"; color[] = {1,1,1,1}; colortoggled[] = {0,1,0,1}; html = "epoch_code\customs\E_Pad\ServerInfos.html"; @@ -164,7 +177,7 @@ class e_pad_config class serversettings { ButtonText = ""; - Description = "Server Rules"; + Description = "Server Settings"; icon = "x\addons\a3_epoch_code\Data\UI\epad\server_info_icon_ca.paa"; color[] = {1,1,1,1}; colortoggled[] = {0,1,0,1}; @@ -178,7 +191,7 @@ class e_pad_config { ButtonText = ""; Description = "Server Rules"; - icon = "x\addons\a3_epoch_code\Data\UI\epad\server_info_icon_ca.paa"; + icon = "x\addons\a3_epoch_code\Data\UI\epad\Rules.paa"; color[] = {1,1,1,1}; colortoggled[] = {0,1,0,1}; html = "epoch_code\customs\E_Pad\ServerRules.html"; @@ -250,9 +263,9 @@ class e_pad_config }; class suicide { - ButtonText = "KILL"; + ButtonText = ""; Description = "Kill yourself"; - Icon = ""; + icon = "x\addons\a3_epoch_code\Data\UI\epad\suicide.paa"; color[] = {1,1,1,1}; colortoggled[] = {0,1,0,1}; action = "[] spawn {_confirm = ['Are you sure to kill yourself?','Suicide!',true,true] call BIS_fnc_guiMessage;if (_confirm) then {while {dialog} do {closedialog 0};disableUserInput true;Player playAction 'GestureSuicide';uisleep 3;Player setdamage 1;disableUserInput false;};};";