OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: Serial Killer on 25 May 2005, 19:52:49
-
How can I add more than one face to an unit? When I finished my addon and tested it, I only saw "face1" on their faces.
-
ok man,.... i bet you don't have an 'osobnost'-selection. make the whole head this selection and afterwards it will swapp faces as wild like you can't imagine right now ;)
(sorry, coming bac from a night out right now)
-
Not working.
Btw, the hidden selections aren't working either (?)
-
then it's config related. you need a cfgmodels section like this:
class CfgModels
{
class Default
{
sections[]={};
sectionsInherit="";
};
class Man: Default {};
class name_of_your_p3d: man
{
sections[] = {"selection1", "selection2", "selection_n"};
sectionsInherit= "Head";
};
};sectionsinherit="head" makes your model class inherit the head class which contains the osobnost-selection
for hiddenselections you have to put in your cfgvehicles a line like this:
hiddenselections[]={"selection1", "selection2", "selection_n"};NB: hiddenselections must be defined as selections in the cfgmodel class before.
ok, to selection1 you refer by this setobjecttexture [0,"nameoftexture.pac"]
to sel.2 you refer by ... [1,"nameoftexture.pac"] etc.
the order is that of the hiddenselections array, not the selectionsarray in the cfgmodels section.
hope that helps ;)
//edit: btw, do you use llauma's head? that would make things a little different