FoxFort 341 Posted September 11, 2016 Hi I am a maker of FoxFort Camo Pack, since v1.60 update, my mod is for some reason creating a weapon, I have no idea why since it's only uniform retexture.As soon as you enter the game you get "No entry 'bin\config.bin/CfgWeapons/ItemInfo.scope'." With proper look at it you get this: 10:19:46 Warning Message: No entry 'bin\config.bin/CfgWeapons/ItemInfo.scope'. 10:19:46 Warning Message: '/' is not a value 10:19:46 Warning Message: Error: creating weapon ItemInfo with scope=private 10:19:46 Warning Message: No entry 'bin\config.bin/CfgWeapons/ItemInfo.displayName'. 10:19:46 Warning Message: '/' is not a value 10:19:46 Warning Message: No entry 'bin\config.bin/CfgWeapons/ItemInfo.nameSound'. 10:19:46 Warning Message: '/' is not a value 10:19:46 Warning Message: No entry 'bin\config.bin/CfgWeapons/ItemInfo.type'. 10:19:46 Warning Message: '/' is not a value 10:19:46 Warning Message: No entry 'bin\config.bin/CfgWeapons/ItemInfo.picture'. 10:19:46 Warning Message: '/' is not a value 10:19:46 Warning Message: No entry 'bin\config.bin/CfgWeapons/ItemInfo.Library'. 10:19:46 Warning Message: No entry '.libTextDesc'. 10:19:46 Warning Message: '/' is not a value 10:19:46 Warning Message: No entry 'bin\config.bin/CfgWeapons/ItemInfo.model'. 10:19:46 Warning Message: '/' is not a value 10:19:46 Warning Message: No entry 'bin\config.bin/CfgWeapons/ItemInfo.simulation'. 10:19:46 Warning Message: '/' is not a value 10:19:46 Warning Message: No entry 'bin\config.bin/CfgWeapons/ItemInfo.fireLightDuration'. 10:19:46 Warning Message: '/' is not a value 10:19:46 Warning Message: No entry 'bin\config.bin/CfgWeapons/ItemInfo.fireLightIntensity'. 10:19:46 Warning Message: '/' is not a value 10:19:46 Warning Message: No entry 'bin\config.bin/CfgWeapons/ItemInfo.fireLightDiffuse'. 10:19:46 Warning Message: Size: '/' not an array 10:19:46 Warning Message: Size: '/' not an array 10:19:46 Warning Message: No entry 'bin\config.bin/CfgWeapons/ItemInfo.fireLightAmbient'. 10:19:46 Warning Message: Size: '/' not an array 10:19:46 Warning Message: Size: '/' not an array 10:19:46 Warning Message: No entry 'bin\config.bin/CfgWeapons/ItemInfo.weaponLockDelay'. 10:19:46 Warning Message: '/' is not a value 10:19:46 Warning Message: No entry 'bin\config.bin/CfgWeapons/ItemInfo.weaponLockSystem'. 10:19:46 Warning Message: '/' is not a value 10:19:46 Warning Message: No entry 'bin\config.bin/CfgWeapons/ItemInfo.cmImmunity'. 10:19:46 Warning Message: '/' is not a value 10:19:46 Warning Message: No entry 'bin\config.bin/CfgWeapons/ItemInfo.weight'. 10:19:46 Warning Message: '/' is not a value 10:19:46 Warning Message: No entry 'bin\config.bin/CfgWeapons/ItemInfo.lockingTargetSound'. 10:19:46 Warning Message: Size: '/' not an array 10:19:46 Warning Message: No entry 'bin\config.bin/CfgWeapons/ItemInfo.lockedTargetSound'. 10:19:46 Warning Message: Size: '/' not an array 10:19:46 Warning Message: No entry 'bin\config.bin/CfgWeapons/ItemInfo.detectRange'. 10:19:46 Warning Message: '/' is not a value 10:19:46 Warning Message: No entry 'bin\config.bin/CfgWeapons/ItemInfo.muzzles'. 10:19:46 Warning Message: Size: '/' not an array I can't seem to find the reason why is it doing this I am hoping that someone can help me with this.My config files Share this post Link to post Share on other sites
Mickyleitor 183 Posted September 11, 2016 Easy, since 1.60 update you can't simply call the class ItemInfo; inside cfgweapons as a base class (at least from the first level of inherit stage).So take out all your callings of "class ItemInfo;" inside cfgweapons in your base classes, example:Your config: cfgweapons{ class ItemInfo; /// Problematic class class UniformItem; /// Base sub-class class Uniform_Base; /// Base class class you_Uniform : Uniform_Base { /// This inherit from his parent "Uniform_base /// stuff class ItemInfo : UniformItem {/// This inherit from his parent but in a sub-level, parent is "UniformItem". /// more stuff }; }; }; As you can see there is no need to call the ItemInfo as base class, because in fact you're not inheriting nothing from there.There is some classes you are inherting from the problematic class but I think there is a issue with the inherit concept, I'm speaking about the Helmet_SF_acu class. cfgweapons{ class ItemInfo; /// Problematic class class H_HelmetSpecB; /// Base class class Helmet_SF_acu: H_HelmetSpecB { /// This inherit from his parent "Base class" /// stuff class ItemInfo : ItemInfo {/// This inherit from the problematic class NOT from H_HelmetSpecB, which It's supposed to be. /// more stuff }; }; }; How to fix this? Well, take out the ItemInfo base class and fix those Inherit issues: cfgweapons{ ////// class ItemInfo; /// Removed class class Uniform_Base; /// Base class 1 class UniformItem; /// Base sub-class 1 class H_HelmetB_plain_mcamo; /// Base class 2 class H_HelmetSpecB : H_HelmetB_plain_mcamo { /// Base class 3, where we will inherit the ItemInfo class. class ItemInfo; /// Base sub-class 2. }; class you_Uniform : Uniform_Base { /// This inherit from his parent "Uniform_base", base class 1 /// stuff class ItemInfo : UniformItem { /// This inherit from his parent from the main-level, parent is "UniformItem", Base sub-class 1. /// more stuff }; }; class Helmet_SF_acu: H_HelmetSpecB { /// This inherit from his parent "H_HelmetSpecB", Base class 3. /// bunch of stuff class ItemInfo : ItemInfo {/// NOW this will inherit from his parent but in a sub-level way, parent is "H_HelmetSpecB", Base sub-class 2. /// a more bunch of stuff }; }; }; Greetings. 6 Share this post Link to post Share on other sites
FoxFort 341 Posted September 11, 2016 Thank you very much, this is very helpful. I haven't been following A3 updates, well shame on me. Thank you again :cheers: 1 Share this post Link to post Share on other sites