Hi all,
I'm attempting to add some custom items mission file side.
I've tried creating my own cfgMagazines.hpp and creating the classes and I can get the items to show ingame. The issue I am having is that the engine gives me an error. I'm pretty sure its to do with some base classes not being defined for the client but I'm a tad stuck for time and can't afford to sit back and debug until I can come up with a solution - So I thought I might ask here and see if any of you had encountered this before.
The error:
Warning Message: No entry 'bin\config.bin/CfgMagazines.WM_Master'. Warning Message: No entry '.picture'. Warning Message: '/' is not a value Warning Message: No entry '.scope'. Warning Message: '/' is not a value Warning Message: Error: creating magazine WM_Master with scope=private
This is logged purely in the clients RPT, not in the servers RPT. It was my thinking that although I have added the config via the mission file, it wasn't updating the base class on the client side?
Heres a snippet of the cfgMagazines.hpp:
class CfgMagazines { class CA_Magazine; // External class reference class WM_Master : CA_Magazine { scope = public; count = 1; type = 256; displayName = "Generic"; descriptionShort = "Generic"; model = "\dayz_equip\models\cloth_parcel.p3d"; picture = "\dayz_equip\textures\equip_cloth_parcel_ca.paa"; }; };
Any ideas?
EDIT:
I'm completely willing to settle for simply having a UNIQUE classname (So my SQF can check if the item is that item).