class CfgXM8 { extraApps[] = {"ExAd_VG","ExAd_Info","ExAd_CHVD","ExAd_Journal","ExAd_Bike","ExAd_Quad","ExAd_SB"}; 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 -> 50102 || 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 ExAd_Journal { title = "Journal"; controlID = 50300; //IDC:50300 -> 50305 || These need to be unique and out of range from each other config = "ExadClient\XM8\Apps\Journal\config.sqf"; logo = "ExadClient\XM8\Apps\Journal\Icon_Journal.paa"; onLoad = "ExAdClient\XM8\Apps\Journal\onLoad.sqf"; onOpen = "ExAdClient\XM8\Apps\Journal\onOpen.sqf"; onClose = "ExAdClient\XM8\Apps\Journal\onClose.sqf"; }; class ExAd_Bike { title = "Deploy Bike"; config = "ExadClient\XM8\Apps\DeployVehicle\config.sqf"; bambiState = 0; //Set to 1 to only allow players to deploy as a bambi. blockInSafezone = 0; //Set to 1 to prevent players deploying said vehicle inside of safezones. vehicleClass = "Exile_Bike_MountainBike"; recipe[] = {{"Exile_Item_ExtensionCord",-1}}; packable = 1; autoCleanUp = 1; quickFunction = "['ExAd_Bike'] call ExAd_XM8_DV_fnc_spawnVehicle"; }; class ExAd_Quad { title = "Deploy Quad"; bambiState = 0; blockInSafezone = 0; vehicleClass = "Exile_Bike_QuadBike_Fia"; recipe[] = {{"Exile_Item_ExtensionCord",1}}; packable = 1; quickFunction = "['ExAd_Quad'] call ExAd_XM8_DV_fnc_spawnVehicle"; }; class ExAd_SB { title = "Statsbar Settings"; controlID = 50400; //IDC:50400 -> 50475 || These need to be unique and out of range from each other logo = "ExadClient\XM8\Apps\SB_Settings\Icon_SB.paa"; onLoad = "ExAdClient\XM8\Apps\SB_Settings\onLoad.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 Car { targetType = 2; target = "Car"; class Actions { class PackDeployedVehicle: ExileAbstractAction { title = "Pack Vehicle"; condition = "call ExAd_XM8_DV_fnc_canPack"; action = "call ExAd_XM8_DV_fnc_pack"; }; class ExAdSalvage: ExileAbstractAction { title = "ExAd Salvage Aircraft"; condition = "(!(alive (ExileClientInteractionObject)))"; action = "_this call ExAd_fnc_vehicleSalvage"; }; }; }; class Bikes { targetType = 2; target = "Bicycle"; class Actions { class PackDeployedVehicle: ExileAbstractAction { title = "Pack Bike"; condition = "call ExAd_XM8_DV_fnc_canPack"; action = "call ExAd_XM8_DV_fnc_pack"; }; }; }; 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"; }; }; }; };