User Tools

Site Tools


arma2:texturing:hiddenselectionstextures

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
arma2:texturing:hiddenselectionstextures [2011/07/01 13:11] – created hiddenselectionstextures initial page. snakemanarma2:texturing:hiddenselectionstextures [2024/08/02 10:31] (current) – links added. snakeman
Line 1: Line 1:
-====== hiddenSelectionsTextures ======+====== ArmA 2 hiddenSelectionsTextures ====== 
 + 
 +[[https://www.pmctactical.org/forum/viewforum.php?f=50|ArmA 2 Forum]], [[:arma2|ArmA 2 Home]], [[arma2:config|ArmA 2 Config]], [[arma2:file_formats|ArmA 2 File Formats]], [[arma2:missions|ArmA 2 Missions]], [[arma2:modeling|ArmA 2 3D Modeling]], [[arma2:scripting|ArmA 2 Scripting]], [[arma2:terrain|ArmA 2 Terrain]], [[arma2:texturing|ArmA 2 Texturing]], [[arma2:tools|ArmA 2 Tools]]
  
 See also [[arma:texturing:custom_texture|ArmA custom texture]] and [[arma2:texturing:setobjecttexture|setObjectTexture]]. See also [[arma:texturing:custom_texture|ArmA custom texture]] and [[arma2:texturing:setobjecttexture|setObjectTexture]].
Line 89: Line 91:
  
 Empty quotes ("") can be used to hide the selection entirely. Each "sub" array of random textures can have a different number of different textures. Empty quotes ("") can be used to hide the selection entirely. Each "sub" array of random textures can have a different number of different textures.
 +
 +
 +====== Soldier hiddenSelections ======
 +
 +<code cpp>
 +hiddenSelectionsTextures[] =
 +{
 + "\CA\characters_E\civil\Tak_civil01\Data\Tak_civil01_1_co.paa"
 +};
 +
 +class EventHandlers: EventHandlers
 +{
 + init = "(_this select 0) setObjectTexture
 + [
 + 0,
 + [
 + ""\CA\characters_E\civil\Tak_civil01\Data\Tak_civil01_1_co.paa"",
 + ""\CA\characters_E\civil\Tak_civil01\Data\Tak_civil01_2_co.paa"",
 + ""\CA\characters_E\civil\Tak_civil01\Data\Tak_civil01_3_co.paa"",
 + ""\CA\characters_E\civil\Tak_civil01\Data\Tak_civil01_4_co.paa"",
 + ""\CA\characters_E\civil\Tak_civil01\Data\Tak_civil01_5_co.paa""
 + ]
 + select floor random 5
 + ]";
 +};
 +</code>
 +
arma2/texturing/hiddenselectionstextures.1309525896.txt.gz · Last modified: 2011/07/01 13:11 by snakeman

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

All PMC web site download services are temporarily suspended until web site yearly fees have been recovered, want to download addons/mods? Then Support PMC.

If you are grateful for all the work PMC has done in the past 25 years, use Support PMC page.