OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: SASeasy_tiger on 23 Oct 2002, 00:37:28
-
lo every1
everytime i add a new 1.85 weapon (e.g hunting rifle) i get a nice ' error bis_weaponpack not found' error. I experienced the same prob then resistance came out and remedied it by putting the weapons into ammo crates with the '(res)' extension. However whichever ammo crate i put the weapon into i still get the annoying msg.
any ideas?
p.s u can still use the weapons but that msg is soooo annoying especially in a MP game
-
I remember having this problem with the Uzi when Resistance came out. I'm no expert, but I think it happens when you're missing the appropriate addon declaration in the mission.sqm file. For example, the top of one of my mission.sqm files looks like this:
version=11;
class Mission
{
addOns[]=
{
"bis_resistance"
};
If the bis_resistance part is removed, I get the error you mentioned if I pick up an Uzi.
I believe that the official addons will be automatically added to your mission.sqm file if you preview your mission and grab the weapon during your preview. (Don't forget to save after you preview.)
-
ah ha thnx
the addon was defined as "BIS_weaponpack" instead of "bis_weaponpack", i thanged it to lowercase and everythings sorted :D