Jump to content
Sign in to follow this  
Divinitize

Need help with eyewear config

Recommended Posts

I'm a complete noob with configs, i know i have what i need in the following config, but it's mixed in with a headgear config, could somone point out which part needs deleting/adding my eyewear are called crg_goggles

enum {
DESTRUCTENGINE = 2,
DESTRUCTDEFAULT = 6,
DESTRUCTWRECK = 7,
DESTRUCTTREE = 3,
DESTRUCTTENT = 4,
STABILIZEDINAXISX = 1,
STABILIZEDINAXESXYZ = 4,
STABILIZEDINAXISY = 2,
STABILIZEDINAXESBOTH = 3,
DESTRUCTNO = 0,
STABILIZEDINAXESNONE = 0,
DESTRUCTMAN = 5,
DESTRUCTBUILDING = 1,
};

class CfgPatches {
class crg_goggles {
units[] = {};
weapons[] = {};
requiredVersion = 0.1;
requiredAddons[] = {};
};
};

class cfgWeapons {
class ItemCore;	// External class reference
class InventoryItem_Base_F;	// External class reference
class HeadgearItem;

class crg_goggles : ItemCore {
scope = 2;
weaponPoolAvailable = 1;
displayName = "crg_goggles";
picture = "\ccrg_goggles\UI\gear_crg_goggles_x_ca.paa";
model = "\crg_goggles\crg_goggles.p3d";

class ItemInfo : HeadgearItem {
mass = 100;
uniformModel = "\crg_goggles\crg_goggles.p3d";
modelSides[] = {3, 1};
armor = 3*0.5;
passThrough = 0.8;

class CfgGlasses
{
   class None;    // External class reference

   class crg_goggles: None
   {
       displayname = "crg_goggles";
       model = "\crg_goggles\crg_goggles.p3d";
       picture = "\crg_goggles\UI\gear_crg_goggles_x_ca.paa";
       identityTypes[] = {"NoGlasses",0,"G_NATO_default",0,"G_NATO_casual",0,"G_NATO_pilot",0,"G_NATO_recon",0,"G_NATO_SF",0,"G_NATO_sniper",0,"G_NATO_diver",0,"G_IRAN_default",0,"G_IRAN_diver",0,"G_GUERIL_default",0,"G_HAF_default",0,"G_CIVIL_female",0,"G_CIVIL_male",0};
   };
};

};
};
};

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×