vade_101 0 Posted May 4, 2004 I am having a few problems getting the "requiredaddons" part of the config to work correctly: at present the addon consists of three .pbos Units, Weapons, and one extra weapon. weapons: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> class CfgPatches  {  class ukf_ukweps {   units[] = {};  weapons[] = {ukf_sa80, ukf_sa801g36, ukf_lsw, ukf_gpmg, ukf_sa80_b, ukf_law80auncher, UKF_clansman};   requiredVersion = 1.90;  requiredAddons[] = {"BIS_Resistance","jam_magazines"}; };  };  Units <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> class CfgPatches { class ukf_infantry { requiredAddons[] = {"BIS_Resistance","ukf_ukweps","ukf_slmg","jam_magazines"}; units[] = {ukf_INfantrywb, ukf_infantryWBv, ukf_infantryWBr, ukf_infantry_officerWBb, ukf_infantry_lawWBb, ukf_infantry_rlgWBb, ukf_infantry_lswWBb, ukf_infantry_LMGWBb, ukf_infantry_gmpgaWBb, ukf_infantry_gmpgbWBb, ukf_infantry_radioWBb, ukf_medicWBb}; weapons[] = {}; requiredVersion = 1.90; }; }; Extra Weapon <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> class CfgPatches { class UKF_SLMG { units[] = {};  weapons[] = {"UKF_LMG"};     requiredaddons[] = {"BIS_Resistance", "jam_magazines"}; requiredVersion = 1.90; }; }; All seems to work fine in the editor etc. but when a mission is exported to single or multiplayer the error "cannot load mission. missing addon ukf_ukweps" appears. on a single computer you can just click OK and it carries on. but it doesn't seem to do dedicated servers any good. can anyone shed any light on this? Share this post Link to post Share on other sites
suma 8 Posted May 4, 2004 Having addon listed in requiedAddons of an addon is not enough. It nees to be listed in the addons section of the mission source as well. Share this post Link to post Share on other sites
killswitch 19 Posted May 5, 2004 ...and provided the addons have their dependencies set up alright, the problem of getting them listed in the mission source (mission.sqm) is solved by previewing the mission in the (SP) mission editor once, then saving it/exporting it. Previewing while editing in MP mode will not do this, unfortunately. If problems still remain after this, there are lingering dependencies hidden in either the three addons mentioned above or one of the others in the UKF addons set. Keep it up! It is solvable. Share this post Link to post Share on other sites