Here i will show you how to create your object in blender, texture your object and write the code for your config file.
Config.cpp
class CfgPatches
{
class DZLObjects
{
units[]={"DZL"};
weapons[]={};
requiredVersion= 1.03;
version= 1.14;
fileName = "DZLObjects.pbo";
author = "[TBI] Liam";
};
};
class CfgMagazines
{
class CA_Magazine;
class MetalPipeSquare: CA_Magazine
{
displayName="Square Metal Pipe";
scope=2;
mass=5;
author="[TBI] Liam";
picture="\DZLObjects\icons\MetalPipe.paa";
model="\DZLObjects\objects\MetalPipeSquare.p3d";
descriptionShort="A 4x4 inch square metal pipe";
};
class MetalPole: CA_Magazine
{
displayName="Metal Pole";
scope=2;
mass=5;
author="[TBI] Liam";
picture="\DZLObjects\icons\MetalPoleIcon.paa";
model="\DZLObjects\objects\MetalPole.p3d";
descriptionShort="A Metal Pole";
};
};