Hi all, we are putting together a mod and have run into a weapon config error that we cann't seem to solve.
basically when the weapons folder is bined it throws no errors. however in the editor when we place one of our units depending on the weapon we get this error:
(our unit has a M16a1 20rnd mag)
"no entry'bin\config.bin/cfgweapon.uns_M16a1_20
now when we place a BI unit and remove his weapon and add one of ours we get:
"no entry'bin\config.bin/CfgPatches/The_Unsung.units.'
class CfgPatches
{
class The_Unsung
{
weapons[] =
{
"uns_m1911","uns_makarov","uns_tokarev",
"uns_m1897","uns_m1897riot","uns_m870",
"uns_m14","uns_sks","uns_sksbayo",
"uns_ak47","uns_ak47bayo","uns_car15e1_20","uns_car15e2_20","uns_car15e2_30","uns_ct56","uns_ct56bayo","uns_m16a1_20","uns_m16a1_30",
"uns_m79",
"uns_m60","uns_rpd","uns_rpk",
"uns_handgrenade","uns_throw","uns_mk3a2gren","uns_m61gren","uns_m67gren","uns_m68gren","uns_f1gren","rg42gren","uns_rgd33gren","uns_rgd5gren","uns_rpg43gren","uns_rpg6gren","uns_m8smoke","uns_m18red","uns_m18green","uns_m18yellow","uns_m18purple",
"uns_m72law","uns_m72used","uns_rpg2",
"uns_sa7",
"uns_dshkaa","uns_dshkhmg","uns_m2hb",
"uns_anpvs2",
"uns_50calammobox","uns_50calammoboxempty",
"uns_AmmoBoxUS","uns_WeaponBoxUS",
"uns_AmmoBoxNVA","uns_WeaponBoxNVA"
};
requiredAddons[] = {};
requiredVersion = 1.14;
};
the order we've done the config.cpp for the weapons is:
definitions,
cfgpatches,
vehicleclasses,
skletons,
cfgmodels,
cfgammo,
cfgmagazines,
cfgweapons,
cfgsounds,
cfgvehicles
any ideas? any help would be great as this looks like the last thing holding up our mod.
Cheers