Moved E-Pad / Connect UAV pic to Clientfiles

This commit is contained in:
He-Man 2018-12-22 21:49:45 +01:00
parent 17f905f045
commit ce78cab29e
20 changed files with 10 additions and 1110 deletions

View File

@ -273,7 +273,6 @@ class Epad
{ {
condition = "EPOCH_EpadButtonOn"; condition = "EPOCH_EpadButtonOn";
action = "if (isnull (finddisplay 9898)) then {createdialog 'epoch_tablet_gui';};"; action = "if (isnull (finddisplay 9898)) then {createdialog 'epoch_tablet_gui';};";
icon = "epoch_code\customs\images\Epad.paa"; icon = "x\addons\a3_epoch_code\Data\UI\buttons\Epad.paa";
// icon = "x\addons\a3_epoch_code\Data\UI\buttons\Epad.paa";
tooltip = "E-Pad"; tooltip = "E-Pad";
}; };

View File

@ -590,8 +590,7 @@ class ConnectUAV
{ {
condition = "dyna_cursorTarget iskindof 'UAV_01_base_F' || dyna_cursorTarget iskindof 'UAV_06_base_F'"; condition = "dyna_cursorTarget iskindof 'UAV_01_base_F' || dyna_cursorTarget iskindof 'UAV_06_base_F'";
action = "if ({_x in (assigneditems player)} count ['B_UavTerminal','O_UavTerminal','I_UavTerminal','C_UavTerminal'] > 0) then {dyna_cursorTarget spawn {_unit = _this;if (isnull (driver _unit)) then {_plyr = player;_grp = createGroup side _plyr;_driver = _grp createUnit[""I_UAV_AI"", position _unit, [], 0, ""CAN_COLLIDE""];_driver moveInAny _unit;uisleep 0.5;};player action [""SwitchToUAVDriver"", _unit];};}else {['You need an UAV-Terminal to connect',5] call epoch_message;};"; action = "if ({_x in (assigneditems player)} count ['B_UavTerminal','O_UavTerminal','I_UavTerminal','C_UavTerminal'] > 0) then {dyna_cursorTarget spawn {_unit = _this;if (isnull (driver _unit)) then {_plyr = player;_grp = createGroup side _plyr;_driver = _grp createUnit[""I_UAV_AI"", position _unit, [], 0, ""CAN_COLLIDE""];_driver moveInAny _unit;uisleep 0.5;};player action [""SwitchToUAVDriver"", _unit];};}else {['You need an UAV-Terminal to connect',5] call epoch_message;};";
icon = "epoch_code\customs\images\epoch_UAV.paa"; icon = "x\addons\a3_epoch_code\Data\UI\buttons\epoch_UAV.paa";
// icon = "x\addons\a3_epoch_code\Data\UI\buttons\epoch_UAV.paa"; <--- Change to Client Update
tooltip = "Connect to UAV"; tooltip = "Connect to UAV";
}; };

View File

@ -35,8 +35,7 @@ class e_pad_config
{ {
ButtonText = ""; ButtonText = "";
Description = "Settings"; Description = "Settings";
Icon = "epoch_code\customs\images\settings_ca.paa"; icon = "x\addons\a3_epoch_code\Data\UI\epad\settings_ca.paa";
// icon = "x\addons\a3_epoch_code\Data\UI\epad\settings_ca.paa";
color[] = {1,1,0,1}; color[] = {1,1,0,1};
colortoggled[] = {0,1,0,1}; colortoggled[] = {0,1,0,1};
action = ""; action = "";
@ -46,8 +45,7 @@ class e_pad_config
class EpadButton { class EpadButton {
ButtonText = ""; ButtonText = "";
Description = "Epad Dyna"; Description = "Epad Dyna";
Icon = "epoch_code\customs\images\epoch_tablet_back.paa"; icon = "x\addons\a3_epoch_code\Data\UI\epad\epoch_tablet_back.paa";
// icon = "x\addons\a3_epoch_code\Data\UI\epad\epoch_tablet_back.paa";
color[] = {1,0,0,1}; color[] = {1,0,0,1};
colortoggled[] = {0,1,0,1}; colortoggled[] = {0,1,0,1};
action = ""; action = "";
@ -70,8 +68,7 @@ class e_pad_config
{ {
ButtonText = ""; ButtonText = "";
Description = "Playermarker"; Description = "Playermarker";
icon = "epoch_code\customs\images\gps.paa"; icon = "x\addons\a3_epoch_code\Data\UI\epad\gps.paa";
// icon = "x\addons\a3_epoch_code\Data\UI\epad\gps.paa";
color[] = {1,0,0,1}; color[] = {1,0,0,1};
colortoggled[] = {0,1,0,1}; colortoggled[] = {0,1,0,1};
action = "if (!EPOCH_PlayerMarkerOn) then {if !('ItemGPS' in (assignedItems player)) then {['You need a GPS to see your Position',5] call epoch_message}}"; action = "if (!EPOCH_PlayerMarkerOn) then {if !('ItemGPS' in (assignedItems player)) then {['You need a GPS to see your Position',5] call epoch_message}}";
@ -83,8 +80,7 @@ class e_pad_config
{ {
ButtonText = ""; ButtonText = "";
Description = "DeathMarker"; Description = "DeathMarker";
icon = "epoch_code\customs\images\skull.paa"; icon = "x\addons\a3_epoch_code\Data\UI\epad\skull.paa";
// icon = "x\addons\a3_epoch_code\Data\UI\epad\skull.paa";
color[] = {1,0,0,1}; color[] = {1,0,0,1};
colortoggled[] = {0,1,0,1}; colortoggled[] = {0,1,0,1};
action = "if (!EPOCH_DeathMarkerOn) then {if ((profileNameSpace getVariable ['EPOCHLastKnownDeath',[]]) isequalto []) then {['You had no GPS on last death',5] call epoch_message}}"; action = "if (!EPOCH_DeathMarkerOn) then {if ((profileNameSpace getVariable ['EPOCHLastKnownDeath',[]]) isequalto []) then {['You had no GPS on last death',5] call epoch_message}}";
@ -95,8 +91,7 @@ class e_pad_config
class Earplug { class Earplug {
ButtonText = ""; ButtonText = "";
Description = "Auto-Earplugs"; Description = "Auto-Earplugs";
icon = "epoch_code\customs\images\Earplugs.paa"; icon = "x\addons\a3_epoch_code\Data\UI\epad\Earplugs.paa";
// icon = "x\addons\a3_epoch_code\Data\UI\epad\Earplugs.paa";
color[] = {1,0,0,1}; color[] = {1,0,0,1};
colortoggled[] = {0,1,0,1}; colortoggled[] = {0,1,0,1};
action = ""; action = "";
@ -131,8 +126,7 @@ class e_pad_config
{ {
ButtonText = ""; ButtonText = "";
Description = "Server Info"; Description = "Server Info";
Icon = "epoch_code\customs\images\server_info_icon_ca.paa"; icon = "x\addons\a3_epoch_code\Data\UI\epad\server_info_icon_ca.paa";
// icon = "x\addons\a3_epoch_code\Data\UI\epad\server_info_icon_ca.paa";
color[] = {1,1,1,1}; color[] = {1,1,1,1};
colortoggled[] = {0,1,0,1}; colortoggled[] = {0,1,0,1};
action = "createDialog 'server_info_picture'"; action = "createDialog 'server_info_picture'";
@ -144,8 +138,7 @@ class e_pad_config
{ {
ButtonText = ""; ButtonText = "";
Description = "Debug"; Description = "Debug";
Icon = "epoch_code\customs\images\debug_ca.paa"; icon = "x\addons\a3_epoch_code\Data\UI\epad\debug_ca.paa";
// icon = "x\addons\a3_epoch_code\Data\UI\epad\debug_ca.paa";
color[] = {1,0,0,1}; color[] = {1,0,0,1};
colortoggled[] = {0,1,0,1}; colortoggled[] = {0,1,0,1};
action = "if !(EPOCH_debugMode) then {['Debug Mode Enabled', 5,[[0,0,0,0.5],[1,1,0,1]]] call Epoch_message;} else {['Debug Mode Disabled', 5,[[0,0,0,0.5],[1,1,0,1]]] call Epoch_message;hintSilent ''};"; action = "if !(EPOCH_debugMode) then {['Debug Mode Enabled', 5,[[0,0,0,0.5],[1,1,0,1]]] call Epoch_message;} else {['Debug Mode Disabled', 5,[[0,0,0,0.5],[1,1,0,1]]] call Epoch_message;hintSilent ''};";
@ -157,8 +150,7 @@ class e_pad_config
{ {
ButtonText = ""; ButtonText = "";
Description = "Reviveable?"; Description = "Reviveable?";
Icon = "epoch_code\customs\images\Reviveable.paa"; icon = "x\addons\a3_epoch_code\Data\UI\epad\Reviveable.paa";
// icon = "x\addons\a3_epoch_code\Data\UI\epad\Reviveable.paa";
color[] = {1,0,0,1}; color[] = {1,0,0,1};
colortoggled[] = {0,1,0,1}; colortoggled[] = {0,1,0,1};
action = ""; action = "";

File diff suppressed because it is too large Load Diff

View File

@ -73,7 +73,6 @@ showHUD[] =
#include "Configs\cfgPricing.hpp" #include "Configs\cfgPricing.hpp"
#include "Configs\CfgDynamicHUD.hpp" #include "Configs\CfgDynamicHUD.hpp"
#include "Configs\CfgEPad.hpp" #include "Configs\CfgEPad.hpp"
#include "Configs\CfgEPad_dialogs.hpp" // Do be moved to client files on update
#include "Configs\CfgEpochClient.hpp" #include "Configs\CfgEpochClient.hpp"