mirror of
https://github.com/Bjanski/ExAd.git
synced 2024-08-30 16:52:14 +00:00
e72a9bbba3
Introduced a new XM8 Apps Introduced a new version of the VG App, compatible with the new system.
90 lines
2.0 KiB
C++
90 lines
2.0 KiB
C++
class CfgXM8
|
|
{
|
|
extraApps[] = {"ExAd_VG"};
|
|
|
|
class ExAd_VG
|
|
{
|
|
title = "Virtual Garage";
|
|
controlID = 50000; //IDC:50000 -> 50014
|
|
onLoad = "ExAdClient\XM8\Apps\VG\onLoad.sqf";
|
|
onOpen = "ExAdClient\XM8\Apps\VG\onOpen.sqf";
|
|
onClose = "ExAdClient\XM8\Apps\VG\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";
|
|
};
|
|
};
|
|
};
|
|
}; |