Face Wound Textures: Difference between revisions

From Bohemia Interactive Community
Category: Arma 2: Editing
m (Text replacement - "^ " to "")
m (Some wiki formatting)
 
Line 1: Line 1:
Add the actual name of the facetexture that is skinned on the model and its woundtexture name in pairs to config.cfgVehicles.MyMan.wounds[],
Add the actual name of the facetexture that is skinned on the model and its woundtexture name in pairs to <syntaxhighlight lang="cpp" inline>config.CfgVehicles.MyMan.wounds[]</syntaxhighlight>, e.g:
<syntaxhighlight lang="cpp">
wounds[] = {
// ...
"mareks_hh.pac", "baldhead_oholen_HI.pac",
// ...
};
</syntaxhighlight>
Add all faces with their wound replacement textures in pairs to core.woundsFace.hpp, e.g:
<syntaxhighlight lang="cpp">
"mareks_hh.pac", "baldhead_oholen_HI.pac",
"MarekTomas_HH.pac", "blackhair_shaved_HI.pac",
"Markus_hh.pac", "blackhair_beard_HI.pac"
</syntaxhighlight>


ie:  
{{Feature|informative|
      wounds[]={
There need to be always pairs of textures, but the formatting obviously does not matter; e.g:<syntaxhighlight lang="cpp">
                  ...,
"mareks_hh.pac", "baldhead_oholen_HI.pac",
          "mareks_hh.pac","baldhead_oholen_HI.pac"
"MarekTomas_HH.pac", "blackhair_shaved_HI.pac"
        };
</syntaxhighlight> is the same as <syntaxhighlight lang="cpp">
Add all face with their wound replacement textures in pairs to core.woundsFace.hpp,
"mareks_hh.pac","baldhead_oholen_HI.pac","MarekTomas_HH.pac","blackhair_shaved_HI.pac"
</syntaxhighlight>
}}


ie:
=== {{arma2}} ===
      mareks_hh.pac,baldhead_oholen_HI.pac,
      MarekTomas_HH.pac,blackhair_shaved_HI.pac,
      Markus_hh.pac,blackhair_beard_HI.pac


Note:  
Wounding by identity:
<syntaxhighlight lang="cpp">
class Wounds
{
tex[] = {};
mat[] = {
"ca\characters\heads\male\defaulthead\data\hhl.rvmat",
"ca\characters\heads\male\defaulthead\data\hhl_Wounds.rvmat",
"ca\characters\heads\male\defaulthead\data\hhl_Wounds2.rvmat",
};
};
</syntaxhighlight>


1."" for texture names are only required when an empty space is in the name like "My texture.pac".
2.There need to be always pairs of textures, but the formatting doesn't matter.
      mareks_hh.pac,baldhead_oholen_HI.pac,
      MarekTomas_HH.pac,blackhair_shaved_HI.pac
is the same as
      mareks_hh.pac,baldhead_oholen_HI.pac,MarekTomas_HH.pac,blackhair_shaved_HI.pac
=== ARMA 2 ===
wounding by identity
class Wounds
      {
        tex[]={};
        mat[]=
            {
              "ca\characters\heads\male\defaulthead\data\hhl.rvmat",
              "ca\characters\heads\male\defaulthead\data\hhl_Wounds.rvmat",
              "ca\characters\heads\male\defaulthead\data\hhl_Wounds2.rvmat",
      };
;


{{GameCategory|arma2|Editing}}
{{GameCategory|arma2|Editing}}

Latest revision as of 14:49, 12 March 2026

Add the actual name of the facetexture that is skinned on the model and its woundtexture name in pairs to config.CfgVehicles.MyMan.wounds[], e.g:

wounds[] = {
	// ...
	"mareks_hh.pac", "baldhead_oholen_HI.pac",
	// ...
};

Add all faces with their wound replacement textures in pairs to core.woundsFace.hpp, e.g:

"mareks_hh.pac", "baldhead_oholen_HI.pac",
"MarekTomas_HH.pac", "blackhair_shaved_HI.pac",
"Markus_hh.pac", "blackhair_beard_HI.pac"
There need to be always pairs of textures, but the formatting obviously does not matter; e.g:
"mareks_hh.pac", "baldhead_oholen_HI.pac",
"MarekTomas_HH.pac", "blackhair_shaved_HI.pac"
is the same as
"mareks_hh.pac","baldhead_oholen_HI.pac","MarekTomas_HH.pac","blackhair_shaved_HI.pac"

Arma 2

Wounding by identity:

class Wounds
{
	tex[] = {};
	mat[] = {
		"ca\characters\heads\male\defaulthead\data\hhl.rvmat",
		"ca\characters\heads\male\defaulthead\data\hhl_Wounds.rvmat",
		"ca\characters\heads\male\defaulthead\data\hhl_Wounds2.rvmat",
	};
};