OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: bedges on 01 Dec 2005, 10:37:45

Title: dead faces in the water mister frodo!
Post by: bedges on 01 Dec 2005, 10:37:45
i have made a few custom faces and they work fine, but i notice when a loon suffers a headshot, the face behind the blood reverts to a normal BIS face.

this does not happen with victor troska in the resistance campaign. his face comes up with a nicely rendered bullethole through his forehead and a big ole patch of blood, but it's still victor troska - it's not the same headshot face as the rest.

is there a "death mode" for faces which i've missed?
Title: Re:dead faces in the water mister frodo!
Post by: vektorboson on 01 Dec 2005, 11:28:10
It's the wounds[] array in the Men-class; every face-texture is assigned a injured face-texture. But mostly it's the same injured face textures (of course a black soldier gets a black injured face); Troska indeed gets his own damage texture.
Title: Re:dead faces in the water mister frodo!
Post by: bedges on 01 Dec 2005, 11:39:07
hmmm, so i take it that's in the main config? any way of incorporating that into the config for a facepack addon?

which sort of makes this an addon question.... quick, answer this before bedges moves it! ;)
Title: Re:dead faces in the water mister frodo!
Post by: supershooter on 02 Dec 2005, 20:54:30
i dont unserstand the title of this posts. Dead faces in water?
Title: Re:dead faces in the water mister frodo!
Post by: macguba on 02 Dec 2005, 22:04:56
It is a reference to the most excellent book "Lord of the Rings" by JRR Tolkein.    
Title: Re:dead faces
Post by: bedges on 10 Dec 2005, 12:56:54
bumperoonie.

does anyone have the answer to this? can i incorporate a 'wounds[] array in the Men-class' which vektorboson mentioned into a face addon config?
Title: Re:dead faces in the water mister frodo!
Post by: Planck on 10 Dec 2005, 13:15:21
You might want to try CfgFaceWounds.

Something like this:

Code: [Select]
class CfgFaceWounds
   {
   access=1;
   wounds[]={"\mypbo\myfacetexture.paa","\mypbo\myfacewoundtexture.paa".....etc....etc};
         };

I think.............

Planck