Sebas 4 Report post Posted January 25 Hello. I currently have EXAD on the server. I wanted Extra Earplug. So I buy XM8 infistar. But the XM8 Apps are not compatible with EXAD. Someone can tell me how to merge please. Thank you Share this post Link to post Share on other sites
0 MGTDB 956 Report post Posted January 26 https://discord.gg/H5KGQYc and create a ticket Share this post Link to post Share on other sites
0 Sebas 4 Report post Posted January 27 Hello, why Discord? I do not need it thanks. It is possible to have help here and it could serve other people. Share this post Link to post Share on other sites
0 MGTDB 956 Report post Posted January 27 Create a new app in the apps folder, call it fn_quiet.sqf if(isNil'QUIET_ID')then { 2 fadeSound 0.01; true call ExileClient_gui_hud_toggleEarplugsIcon; ['SuccessTitleOnly', ['Added extra quiet earplugs']] call ExileClient_gui_toaster_addTemplateToast; (_this select 0) ctrlSetStructuredText parseText '<t color="#FF0000">Extra quiet earplugs</t>'; QUIET_ID = true; } else { 2 fadeSound 1; false call ExileClient_gui_hud_toggleEarplugsIcon; ['ErrorTitleOnly', ['Removed extra quiet earplugs']] call ExileClient_gui_toaster_addTemplateToast; (_this select 0) ctrlSetStructuredText parseText '<t color="#44CD00">Extra quiet earplugs</t>'; QUIET_ID = nil; }; In app_defines.hpp add the following class customapp_13 {//change app number to suit your numbering scheme submenu = 0; toggleable = 1; text = "Extra quiet earplugs"; tooltip = "Better ear protection over standard earplugs"; fnc = "call apps_fnc_quiet;"; pic = "\exile_assets\texture\hud\hud_icon_earplugs_ca.paa"; }; In config.cpp add this in class apps class quiet {}; Pack up the pbo and it's done 1 Share this post Link to post Share on other sites
0 Kappa Slappa 43 Report post Posted January 27 Im so doing this XD Share this post Link to post Share on other sites
0 Sebas 4 Report post Posted January 27 This is for XM8 Infistar. I already have. I do not like XM8 Infistar. I would like to have it for EXAD please. Share this post Link to post Share on other sites
0 Sebas 4 Report post Posted January 27 On 1/26/2019 at 10:36 AM, MGTDB said: https://discord.gg/H5KGQYc and create a ticket the link does not work. Share this post Link to post Share on other sites
0 El Rabito 78 Report post Posted January 28 Not sure if this will work with Exad but i could get it to work without Infistar apps by doing this.Config.cpp class XM8_App08_Button: RscExileXM8AppButton1x1 { textureNoShortcut = "custom\XM8\Icons\EP.paa"; text = "Extra Quiet EarPlugs"; onButtonClick = "call fnc_Silence"; resource = ""; }; init.sqf //Extra quiet Earplugs fnc_Silence = compileFinal (preprocessFileLineNumbers "custom\Status_Interactions\fn_quiet.sqf"); fn_quiet.sqf [] spawn { if(isNil'QUIET_ID')then { 2 fadeSound 0.01; true call ExileClient_gui_hud_toggleEarplugsIcon; ['SuccessTitleOnly', ['Added extra quiet earplugs']] call ExileClient_gui_toaster_addTemplateToast; (_this select 0) ctrlSetStructuredText parseText '<t color="#FF0000">Extra quiet earplugs</t>'; QUIET_ID = true; } else { 2 fadeSound 1; false call ExileClient_gui_hud_toggleEarplugsIcon; ['ErrorTitleOnly', ['Removed extra quiet earplugs']] call ExileClient_gui_toaster_addTemplateToast; (_this select 0) ctrlSetStructuredText parseText '<t color="#44CD00">Extra quiet earplugs</t>'; QUIET_ID = nil; }; }; Share this post Link to post Share on other sites
0 Sebas 4 Report post Posted January 28 1 hour ago, El Rabito said: Not sure if this will work with Exad but i could get it to work without Infistar apps by doing this.Config.cpp class XM8_App08_Button: RscExileXM8AppButton1x1 { textureNoShortcut = "custom\XM8\Icons\EP.paa"; text = "Extra Quiet EarPlugs"; onButtonClick = "call fnc_Silence"; resource = ""; }; init.sqf //Extra quiet Earplugs fnc_Silence = compileFinal (preprocessFileLineNumbers "custom\Status_Interactions\fn_quiet.sqf"); fn_quiet.sqf [] spawn { if(isNil'QUIET_ID')then { 2 fadeSound 0.01; true call ExileClient_gui_hud_toggleEarplugsIcon; ['SuccessTitleOnly', ['Added extra quiet earplugs']] call ExileClient_gui_toaster_addTemplateToast; (_this select 0) ctrlSetStructuredText parseText '<t color="#FF0000">Extra quiet earplugs</t>'; QUIET_ID = true; } else { 2 fadeSound 1; false call ExileClient_gui_hud_toggleEarplugsIcon; ['ErrorTitleOnly', ['Removed extra quiet earplugs']] call ExileClient_gui_toaster_addTemplateToast; (_this select 0) ctrlSetStructuredText parseText '<t color="#44CD00">Extra quiet earplugs</t>'; QUIET_ID = nil; }; }; Thank you I will try this Share this post Link to post Share on other sites
0 Sebas 4 Report post Posted January 28 Work perfectly thx. RESOLVED Share this post Link to post Share on other sites
Share this post
Link to post
Share on other sites