Hey guys...
I want to add a custom item to the game, so I prepared a .paa and .p3d file and put it in my mission.pbo.
In order to setup the new item, I included the item.hpp (located in my mission.pbo) to the description.etx
As it is supposed to be handled like a trash-item, I put the following code in the item.hpp...
Ingame-Error: no entry 'bin\config.bin/CfgMagazines.ItemAwesome'
What am I missing?!
I want to add a custom item to the game, so I prepared a .paa and .p3d file and put it in my mission.pbo.
In order to setup the new item, I included the item.hpp (located in my mission.pbo) to the description.etx
Code:
#include "path\to\my\item.hpp"
As it is supposed to be handled like a trash-item, I put the following code in the item.hpp...
Code:
class CfgMagazines {
class TrashTinCan;
class ItemAwesome : TrashTinCan {
scope = public;
count = 1;
displayName = "Itemname";
descriptionShort = "Long description";
model = "path\to\my\item.p3d";
picture = "path\to\my\item.paa";
type = 256;
};
};
Ingame-Error: no entry 'bin\config.bin/CfgMagazines.ItemAwesome'
What am I missing?!