mirror of
https://github.com/Bjanski/ExAd.git
synced 2024-08-30 16:52:14 +00:00
110 lines
2.9 KiB
C++
110 lines
2.9 KiB
C++
class CfgXM8
|
|
{
|
|
extraApps[] = {"ExAd_VG","ExAd_Info","ExAd_CHVD"};
|
|
|
|
class ExAd_VG
|
|
{
|
|
title = "Virtual Garage";
|
|
controlID = 50000; //IDC:50000 -> 50015 || These need to be unique and out of range from each other
|
|
logo = "ExadClient\XM8\Apps\VG\Icon_VG.paa";
|
|
onLoad = "ExAdClient\XM8\Apps\VG\onLoad.sqf";
|
|
onOpen = "ExAdClient\XM8\Apps\VG\onOpen.sqf";
|
|
onClose = "ExAdClient\XM8\Apps\VG\onClose.sqf";
|
|
};
|
|
class ExAd_Info
|
|
{
|
|
title = "Server Info";
|
|
controlID = 50100; //IDC:50100 -> 50102 || These need to be unique and out of range from each other
|
|
logo = "ExadClient\XM8\Apps\Info\Icon_SI.paa";
|
|
onLoad = "ExAdClient\XM8\Apps\Info\onLoad.sqf";
|
|
onOpen = "ExAdClient\XM8\Apps\Info\onOpen.sqf";
|
|
onClose = "ExAdClient\XM8\Apps\Info\onClose.sqf";
|
|
};
|
|
class ExAd_CHVD
|
|
{
|
|
title = "View Distance Settings";
|
|
controlID = 50200; //IDC:50200 -> 50250 || These need to be unique and out of range from each other
|
|
config = "ExadClient\XM8\Apps\CHVD\config.sqf";
|
|
logo = "ExadClient\XM8\Apps\CHVD\Icon_CHVD.paa";
|
|
onLoad = "ExAdClient\XM8\Apps\CHVD\onLoad.sqf";
|
|
onOpen = "ExAdClient\XM8\Apps\CHVD\onOpen.sqf";
|
|
onClose = "ExAdClient\XM8\Apps\CHVD\onClose.sqf";
|
|
};
|
|
};
|
|
|
|
class CfgExileCustomCode
|
|
{
|
|
ExileServer_system_territory_database_load = "ExAdClient\VirtualGarage\CustomCode\ExileServer_system_territory_database_load.sqf";
|
|
ExileClient_gui_xm8_slide = "ExAdClient\XM8\CustomCode\ExileClient_gui_xm8_slide.sqf";
|
|
ExileClient_gui_xm8_show = "ExAdClient\XM8\CustomCode\ExileClient_gui_xm8_show.sqf";
|
|
};
|
|
|
|
class CfgInteractionMenus
|
|
{
|
|
class Flag
|
|
{
|
|
targetType = 2;
|
|
target = "Exile_Construction_Flag_Static";
|
|
class Actions
|
|
{
|
|
class HackVG : ExileAbstractAction
|
|
{
|
|
title = "Hack Virtual Garage";
|
|
condition = "call ExAd_fnc_canHackVG";
|
|
action = "_this spawn ExAd_fnc_startHack";
|
|
};
|
|
};
|
|
};
|
|
class Construction
|
|
{
|
|
targetType = 2;
|
|
target = "Exile_Construction_Abstract_Static";
|
|
|
|
class Actions
|
|
{
|
|
class Grind : ExileAbstractAction
|
|
{
|
|
title = "Grind Lock";
|
|
condition = "call ExAd_fnc_canGrindLock";
|
|
action = "_this spawn ExAd_fnc_grindLock";
|
|
};
|
|
|
|
class RestoreLock : ExileAbstractAction
|
|
{
|
|
title = "Restore Lock";
|
|
condition = "_object call ExAd_fnc_canRestoreLock";
|
|
action = "_this spawn ExAd_fnc_restoreLock";
|
|
};
|
|
};
|
|
};
|
|
class Safe
|
|
{
|
|
targetType = 2;
|
|
target = "Exile_Container_Safe";
|
|
|
|
class Actions
|
|
{
|
|
class HackSafe : ExileAbstractAction
|
|
{
|
|
title = "Hack Safe";
|
|
condition = "call ExAd_fnc_canHackSafe";
|
|
action = "_this spawn ExAd_fnc_startHack";
|
|
};
|
|
};
|
|
};
|
|
class Laptop
|
|
{
|
|
targetType = 2;
|
|
target = "Exile_Construction_Laptop_Static";
|
|
|
|
class Actions
|
|
{
|
|
class StopHack: ExileAbstractAction
|
|
{
|
|
title = "Interupt Hack";
|
|
condition = "(ExileClientInteractionObject getVariable ['ExAd_HACKING_IN_PROGRESS', false])";
|
|
action = "_this spawn ExAd_fnc_stopHack";
|
|
};
|
|
};
|
|
};
|
|
}; |