Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×

(GSG) Az

Member
  • Content Count

    1
  • Joined

  • Last visited

  • Medals

Everything posted by (GSG) Az

  1. Hey guys, I have had a search through the forum's and I am yet to see an actual answer why something like this would not work, so I thought I would overview what I am trying to achieve, how I have implemented it, and the issue I am facing. I'm trying to add custom inventory items (Inheriting CA_Magazine) via the mission file. I dont need to use new textures nor new models - I just need to modify the class name so it becomes a unique item. I have created the following file and imported it via description.ext: *cfgMagazines2.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"; }; }; This works all good and well with no errors until I spawn the item in (Problem isnt with this - I have spent hours trying every possible combination of "addMagazineCargo"). 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 And so on and so on. So I can establish that this is purely client side - as the server RPT doesnt log these errors. Is it a restriction of the engine that it will always search the config.bin for this information instead of where the class is actually declared? Is there no way to override this?
×