OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: Baphomet on 20 Jun 2003, 16:00:03
-
Are there any common criteria as to why an addon even though in your addons folder would show up as being not there when you run a mission that's supposed to use it?
I will note that I manually added the name of the pbo files to the addons section of a particular mission.sqm and when I fired it up in the editor it says "addons missing"
-
What addon is it? or is it lots of addons
-
Well... actually it's my own addon, er addons :D
However it's sort of modular in design... that is to say I did everything in individual PBO files. One for the weapon one for the unit... and the unit uses other customs as well... I will note that I probably didn't do the cfgpatches delcaration properly so that might be the issue. Secondly. Since they use all the existing BIS models I pretty much made them inherit the traits of their parent class but with small modifications to the variables as I saw fit. So again that might be a problem.
I'm honestly not sure but it's kind of annoying. I've not come up to this problem before with my addons.
-
Aah... my old arch enemy - the missing requiredAddons specification in the config.cpp ;D
Bap, have a look at this:
Suma's post on requiredAddons (http://www.flashpoint1985.com/cgi-bin/ikonboard311/ikonboard.cgi?s=c3e3bf03ecf7a8a3882f0aa6c1d4e007;act=ST;f=51;t=28056;hl=requiredaddons)
Basically: you have to specify, in each addon, what other addons they depend on. Actually, I think you have to specify the whole dependency chain of addons. Example:
if A requires B and B requires C, then, in A:s config.cpp, one must have
requiredAddons[] = {B, C};
Greets!