Jump to content
Sign in to follow this  
slatts

how do i make new glasses (config)

Recommended Posts

so ive got a set of ESS goggles and im trying to make them into a set of glasses you pick on the player profile menu

anyone got a config to do this?

Share this post


Link to post
Share on other sites

Bump

would also like to know this :)

btw @the blink

what LOD's do you have for your glasses?

Share this post


Link to post
Share on other sites
Bump

would also like to know this :)

btw @the blink

what LOD's do you have for your glasses?

so far just the 1.00 lod

im guessing i need more but i dont know which

Share this post


Link to post
Share on other sites

The following should work for your config.cpp

class CfgPatches 
{
class BLINK_ESS_Glasses
{
	units[] = {};
	weapons[] = {};
	requiredVersion = 0.01;
	requiredAddons[] = {"CAData", "CACharacters", "CAWeapons", "CA_Heads"};
};
};
class CfgGlasses 
{
class BLINK_ESS_Glasses
{
	scope = 2;
	name = "BLINK's ESS Glasses";
	model = "\PBONAME\MODELNAME.p3d";
	identityTypes[] = {};
};
};

And the model itself should have the following LODs (minimum):

0.0000 Resoluton LOD

(You can add more resolution lods with lower detail, but I don't think its entirely necessary).

The glasses themselves should be part of the "Head" named selection.

Share this post


Link to post
Share on other sites

@jackal..thanks.

this is the template I use for the config:

I'll explain some things

class CfgPatches {

class myhelmet {
units[] = {};
weapons[] = {};
requiredVersion = 0.100000;
requiredAddons[] = {};
};
};
class CfgGlasses {

class myhelmet {                  
scope = 2;
name = "yourname";                               \\name that appears in the list
model = "\helm\model\helm.p3d";               \\location of your model
identityTypes[] = {"myhelmet", 1};
disabled = 0;
};
};

For the location of your model..try to use the P drive

Share this post


Link to post
Share on other sites

nice one lads cheers

EDIT: i got them in game but they are way above his head even though in o2 they are placed to be over his eyes

any hints?

Edited by Slatts

Share this post


Link to post
Share on other sites

Model positioning in terms of glasses, is not the same as it is in terms of unit models. Allow me to clarify:

glassespos1.jpg

Note the overall position of the glasses.

glassespos2.jpg

Note the overall position of the unit.

Your best bet is to download the BIS released sample model for ArmA2, which comes complete with a head model, and position your glasses/helmet whatever in relation to that.

Share this post


Link to post
Share on other sites

Hello world :D

Have a look at this addon: glasses

Mondkalb gave as a great template where you can have a look for the position, the material, the config and much more.

It´s really simple when you know how.

Share this post


Link to post
Share on other sites

cheers lads got her working

note: the arma2 sample head doesnt really work for me, i placed the glass along the redline etc. and the arma2 head is a good bit above the line

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  

×