ok I made eyeglasses that are 3d model AND
i want to use them in game
I know im able to do it by using it as NVgoogles
,i also know that the NV is a CFGweapon class
my object's name is "LRD_glasses3d"
and optika "LRD_GLASSopt"
WHAT must i write in config cpp to mnake them work ?
#define TEast 0
#define TWest 1
#define TGuerrila 2
#define TCivilian 3
#define TSideUnknown 4
#define TEnemy 5
#define TFriendly 6
#define TLogic 7
#define true 1
#define false 0
#define private 0
#define protected 1
#define public 2
class CfgPatches
{
class lrd_glass3d
{
units[] = {lrd_glass3d};
weapons[] = {};
requiredVersion = 1.85;
};
};
this part is good i suppose
class CfgWeapons
{ ? I DONT KNOW ANYTHNG ABOUT THIS ONE - help }class lrd_glass3d : Binocular - iss this good ?
{
displayName = lrd_glass3d;
showEmpty = false;
valueWeapon = 5;
opticsZoomMin=1.0;
opticsZoomMax=1.0;
modelOptics="/lrd_glass3d/lrd_GLASSopt";
model="/lrd_glass3d/lrd_glass3d";
};
};
HHHHEEEEEEEEEEEEEELP