I'm trying to set up the XM8 apps on my server; specifically the picture for the "Spawn Mosquito" app and the donation app. I have the infiSTAR custom apps installed.
I've changed the requirements for spawning a mossie or quadbike and they work fine, but the icon for the mossie can't be found. I've converted a 512x512 jpg of one into a .paa file using the Arma 3 Tools and placed it in the exile_assets.pbo (full path in the pbo is exile_assets\texture\vehicle\mosquito_XM8_edit.paa), repacked and it comes up with an error in game as can't be found (photo attached). It won't let me attach the .paa photo as well but I can provide this if needed.
I'm also trying to configure the donation part of the XM8. So far, I've made an HTML page with my donation link on it, like infiSTAR has on as default, but I'm not sure how to call it so it shows up in the XM8.
This is my app_defines.hpp file:
Spoiler
/*
max 10 customapps! (not more slots on the app page lol)
in the function part you could also just call your custom function or BIS_FNC_XXX e.g.:
class customapp_0 {
submenu = 0;
toggleable = 0;
text = "Open BIS Arsenal";
tooltip = "Open BIS Arsenal - Gear yourself up!";
fnc = "if(isNil'infiSTAR_ADMINS')then{['ErrorTitleOnly', ['Only infiSTAR admins can use this!']] call ExileClient_gui_toaster_addTemplateToast;}else{['Open',true] call BIS_fnc_arsenal;};";
pic = "a3\ui_f\data\gui\Rsc\RscDisplayArsenal\uniform_ca.paa";
};
*/
class customapp_0 {
submenu = 0;
toggleable = 0;
text = "Priv. Chat";
tooltip = "Priv. Chat";
fnc = "if(isNil'fnc_chat_send')then{['ErrorTitleOnly', ['This app needs infiSTAR.de AntiHack and AdminTools..!']] call ExileClient_gui_toaster_addTemplateToast;}else{if(isNull (findDisplay -1340))then{createdialog 'infiSTAR_CHAT';};};";
pic = "\A3\Weapons_F\Data\UI\gear_item_radio_ca.paa";
};
class customapp_1 {
submenu = 1;
toggleable = 0;
text = "ViewDistance\nTerrain Grid";
tooltip = "ViewDistance\nTerrain Grid";
fnc = "true call apps_fnc_change_viewdistance;"; // true/false to toggle the terrain grid change option
pic = "\A3\Weapons_F\Data\UI\gear_binoculars_CA.paa";
};
class customapp_2 {
submenu = 0;
toggleable = 0;
text = "Player Scan";
tooltip = "Player Scan";
fnc = "call apps_fnc_scan;";
pic = "\A3\Weapons_F\Data\UI\gear_item_gps_CA.paa";
};
class customapp_3 {
submenu = 1;
toggleable = 0;
text = "Remote CCTV";
tooltip = "Remote CCTV";
fnc = "call apps_fnc_initremotecctv;";
pic = "\exile_assets\texture\item\Exile_Item_Laptop.paa";
};
class customapp_4 {
submenu = 0;
toggleable = 1;
text = "Vehicle HP Bars";
tooltip = "Vehicle HP Bars";
fnc = "_this call apps_fnc_vehicle_hp_bars;";
pic = "\exile_assets\texture\item\Exile_Item_DuctTape.paa";
};
class customapp_5 {
submenu = 1;
toggleable = 0;
text = "BRAma Cookbook";
tooltip = "BRAma Cookbook updated by infiSTAR.de";
fnc = "_this call apps_fnc_Cookbook;";
pic = "\exile_assets\texture\marker\concrete_mixer_ca.paa";
};
class customapp_6 {
submenu = 0;
toggleable = 0;
text = "Deploy Mosquito";
tooltip = "Deploys a Mosquito right infront of you!";
fnc = "['RwG_Mozzie_Carl_Green', 'Exile_Item_DuctTape', 0, 0, false, true, false] call apps_fnc_deploy;"; // [class, itemcost (empty '' - no item cost), poptabs from bank, respect, has to be bambi, can repack, once per life?]
pic = "\exile_assets\texture\vehicle\mosquito_XM8_edit.paa";
};
class customapp_7 {
submenu = 0;
toggleable = 0;
text = "Deploy Quad";
tooltip = "Deploys a Quad right infront of you!";
fnc = "[['Exile_Bike_QuadBike_Black','Exile_Bike_QuadBike_Blue','Exile_Bike_QuadBike_Red','Exile_Bike_QuadBike_White','Exile_Bike_QuadBike_Nato','Exile_Bike_QuadBike_Csat','Exile_Bike_QuadBike_Fia','Exile_Bike_QuadBike_Guerilla01','Exile_Bike_QuadBike_Guerilla02'],'Exile_Item_DuctTape',0,0,false,true,false] call apps_fnc_deploy;";
pic = "\A3\Soft_F\Quadbike_01\Data\UI\Quadbike_01_CA.paa";
};
class customapp_8 {
submenu = 1;
toggleable = 0;
text = "Donate";
tooltip = "Donate to keep this server running!";
fnc = "call apps_fnc_donate;";
pic = "\exile_assets\texture\item\Exile_Item_XmasPresent.paa";
};
Hi,
I'm trying to set up the XM8 apps on my server; specifically the picture for the "Spawn Mosquito" app and the donation app. I have the infiSTAR custom apps installed.
I've changed the requirements for spawning a mossie or quadbike and they work fine, but the icon for the mossie can't be found. I've converted a 512x512 jpg of one into a .paa file using the Arma 3 Tools and placed it in the exile_assets.pbo (full path in the pbo is exile_assets\texture\vehicle\mosquito_XM8_edit.paa), repacked and it comes up with an error in game as can't be found (photo attached). It won't let me attach the .paa photo as well but I can provide this if needed.
I'm also trying to configure the donation part of the XM8. So far, I've made an HTML page with my donation link on it, like infiSTAR has on as default, but I'm not sure how to call it so it shows up in the XM8.
This is my app_defines.hpp file:
/*
max 10 customapps! (not more slots on the app page lol)
in the function part you could also just call your custom function or BIS_FNC_XXX e.g.:
class customapp_0 {
submenu = 0;
toggleable = 0;
text = "Open BIS Arsenal";
tooltip = "Open BIS Arsenal - Gear yourself up!";
fnc = "if(isNil'infiSTAR_ADMINS')then{['ErrorTitleOnly', ['Only infiSTAR admins can use this!']] call ExileClient_gui_toaster_addTemplateToast;}else{['Open',true] call BIS_fnc_arsenal;};";
pic = "a3\ui_f\data\gui\Rsc\RscDisplayArsenal\uniform_ca.paa";
};
*/
class customapp_0 {
submenu = 0;
toggleable = 0;
text = "Priv. Chat";
tooltip = "Priv. Chat";
fnc = "if(isNil'fnc_chat_send')then{['ErrorTitleOnly', ['This app needs infiSTAR.de AntiHack and AdminTools..!']] call ExileClient_gui_toaster_addTemplateToast;}else{if(isNull (findDisplay -1340))then{createdialog 'infiSTAR_CHAT';};};";
pic = "\A3\Weapons_F\Data\UI\gear_item_radio_ca.paa";
};
class customapp_1 {
submenu = 1;
toggleable = 0;
text = "ViewDistance\nTerrain Grid";
tooltip = "ViewDistance\nTerrain Grid";
fnc = "true call apps_fnc_change_viewdistance;"; // true/false to toggle the terrain grid change option
pic = "\A3\Weapons_F\Data\UI\gear_binoculars_CA.paa";
};
class customapp_2 {
submenu = 0;
toggleable = 0;
text = "Player Scan";
tooltip = "Player Scan";
fnc = "call apps_fnc_scan;";
pic = "\A3\Weapons_F\Data\UI\gear_item_gps_CA.paa";
};
class customapp_3 {
submenu = 1;
toggleable = 0;
text = "Remote CCTV";
tooltip = "Remote CCTV";
fnc = "call apps_fnc_initremotecctv;";
pic = "\exile_assets\texture\item\Exile_Item_Laptop.paa";
};
class customapp_4 {
submenu = 0;
toggleable = 1;
text = "Vehicle HP Bars";
tooltip = "Vehicle HP Bars";
fnc = "_this call apps_fnc_vehicle_hp_bars;";
pic = "\exile_assets\texture\item\Exile_Item_DuctTape.paa";
};
class customapp_5 {
submenu = 1;
toggleable = 0;
text = "BRAma Cookbook";
tooltip = "BRAma Cookbook updated by infiSTAR.de";
fnc = "_this call apps_fnc_Cookbook;";
pic = "\exile_assets\texture\marker\concrete_mixer_ca.paa";
};
class customapp_6 {
submenu = 0;
toggleable = 0;
text = "Deploy Mosquito";
tooltip = "Deploys a Mosquito right infront of you!";
fnc = "['RwG_Mozzie_Carl_Green', 'Exile_Item_DuctTape', 0, 0, false, true, false] call apps_fnc_deploy;"; // [class, itemcost (empty '' - no item cost), poptabs from bank, respect, has to be bambi, can repack, once per life?]
pic = "\exile_assets\texture\vehicle\mosquito_XM8_edit.paa";
};
class customapp_7 {
submenu = 0;
toggleable = 0;
text = "Deploy Quad";
tooltip = "Deploys a Quad right infront of you!";
fnc = "[['Exile_Bike_QuadBike_Black','Exile_Bike_QuadBike_Blue','Exile_Bike_QuadBike_Red','Exile_Bike_QuadBike_White','Exile_Bike_QuadBike_Nato','Exile_Bike_QuadBike_Csat','Exile_Bike_QuadBike_Fia','Exile_Bike_QuadBike_Guerilla01','Exile_Bike_QuadBike_Guerilla02'],'Exile_Item_DuctTape',0,0,false,true,false] call apps_fnc_deploy;";
pic = "\A3\Soft_F\Quadbike_01\Data\UI\Quadbike_01_CA.paa";
};
class customapp_8 {
submenu = 1;
toggleable = 0;
text = "Donate";
tooltip = "Donate to keep this server running!";
fnc = "call apps_fnc_donate;";
pic = "\exile_assets\texture\item\Exile_Item_XmasPresent.paa";
};
Cheers for your help,
Mark
Share this post
Link to post
Share on other sites