Face Wound Textures: Difference between revisions
Category: Arma 2: Editing
m (Text replace - "{{enHeader}}" to "") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
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> | |||
{{Feature|informative| | |||
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", | |||
"MarekTomas_HH.pac", "blackhair_shaved_HI.pac" | |||
</syntaxhighlight> is the same as <syntaxhighlight lang="cpp"> | |||
"mareks_hh.pac","baldhead_oholen_HI.pac","MarekTomas_HH.pac","blackhair_shaved_HI.pac" | |||
</syntaxhighlight> | |||
}} | |||
=== {{arma2}} === | |||
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> | |||
{{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"
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",
};
};