From d77ebfdde7b7c718b565d28ff575c82221d2ba9d Mon Sep 17 00:00:00 2001 From: clarky Date: Fri, 10 Feb 2017 19:55:59 +0000 Subject: [PATCH 1/3] Fixed blank messages onLoad.sqf Fixed blank messages onLoad.sqf --- BaseMarker_ExAd/BaseMarker/onLoad.sqf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BaseMarker_ExAd/BaseMarker/onLoad.sqf b/BaseMarker_ExAd/BaseMarker/onLoad.sqf index 385cb89..c3b88df 100644 --- a/BaseMarker_ExAd/BaseMarker/onLoad.sqf +++ b/BaseMarker_ExAd/BaseMarker/onLoad.sqf @@ -47,7 +47,7 @@ fnc_markerOn = { }; } forEach (allMissionObjects "Exile_Construction_Flag_Static"); - ["Success",["Base Markers toggled on."]] call BIS_fnc_showNotification; + ["SuccessTitleAndText",["Base Markers toggled on."]] call ExileClient_gui_toaster_addTemplateToast; }; fnc_markerOff = { @@ -65,5 +65,5 @@ fnc_markerOff = { }; } forEach (allMissionObjects "Exile_Construction_Flag_Static"); - ["Whoops",["Base Markers toggled off."]] call BIS_fnc_showNotification; -}; \ No newline at end of file + ["SuccessTitleAndText",["Base Markers toggled off."]] call ExileClient_gui_toaster_addTemplateToast; +}; From 44f604a45c397576d02ed903f57101d6838ac449 Mon Sep 17 00:00:00 2001 From: clarky Date: Fri, 10 Feb 2017 23:27:56 +0000 Subject: [PATCH 2/3] fix#2 for 'blank notification' Another update on the fix for 'blank notification' --- BaseMarker_ExAd/BaseMarker/onLoad.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BaseMarker_ExAd/BaseMarker/onLoad.sqf b/BaseMarker_ExAd/BaseMarker/onLoad.sqf index c3b88df..5ceec2c 100644 --- a/BaseMarker_ExAd/BaseMarker/onLoad.sqf +++ b/BaseMarker_ExAd/BaseMarker/onLoad.sqf @@ -65,5 +65,5 @@ fnc_markerOff = { }; } forEach (allMissionObjects "Exile_Construction_Flag_Static"); - ["SuccessTitleAndText",["Base Markers toggled off."]] call ExileClient_gui_toaster_addTemplateToast; + ["ErrorTitleAndText",["Base Markers toggled off."]] call ExileClient_gui_toaster_addTemplateToast; }; From e6e993d29a145c0e21ad730e7523028a5671943c Mon Sep 17 00:00:00 2001 From: clarky Date: Fri, 10 Feb 2017 23:31:48 +0000 Subject: [PATCH 3/3] Update README.md Added instructions on the readme. --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.md b/README.md index 732d99b..0f200de 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,22 @@ # BaseMarkers_ExAd BaseMarkers_ExAd + +# Installation + +Add BaseMarker folder to your ExAd XM8 Apps folder +Exile.Mission > ExAdClient > XM8 > Apps > Place_Folder + +Open your config.cpp file +Locate class CfgXM8 +Add "BaseMarker" to the extraApps line +Add the folowing line in the CfgXM8 class + +class BaseMarker + { + controlID = 50500; + title = "Base Marker"; + logo = "ExAdClient\XM8\Apps\BaseMarker\BaseMarker.paa"; + onLoad = "ExAdClient\XM8\Apps\BaseMarker\onLoad.sqf"; + }; + +You're Done!