R3vo/Sandbox – User
Jump to navigation
Jump to search
m (→Hidden Selections: Table is grouped by selection now) |
|||
Line 34: | Line 34: | ||
</sqf> | </sqf> | ||
=== Hidden Selections === | === Hidden Selections List === | ||
{{Feature|important|The following table was generated by script. Manual edits might get lost.}} | {{Feature|important|The following table was generated by script. Manual edits might get lost.}} | ||
{| class="wikitable sortable" | {| class="wikitable sortable" |
Revision as of 14:53, 16 December 2023
Retexturing Templates
The Spearhead 1944 development team has prepared texture templates for infantry gear such as backpacks, headgear, vests and uniforms. These can be modified with an image editing software and then be applied via config.
A tutorial on how to work with these templates can be viewed here:
Downloads
- Spearhead 1944 - Retexturing Templates - Vests (OneDrive)
- Spearhead 1944 - Retexturing Templates - Uniforms (OneDrive)
- Spearhead 1944 - Retexturing Templates - Headgear (OneDrive)
- Spearhead 1944 - Retexturing Templates - Backpacks (OneDrive)
Retexturing with Hidden Selections
Almost all assets come with predefined hidden selections. These selections can be retextured with the commands setObjectTexture and setObjectTextureGlobal during runtime.
//Apply random color to each available hidden selection
{
tank setObjectTexture
[
_forEachIndex,
format
[
"#(rgb,8,8,3)color(%1,%2,%3,1,CO)",
random 1,
random 1,
random 1
]
];
} forEach getArray (configFile >> "CfgVehicles" >> typeOf tank >> "hiddenSelections");;
Hidden Selections List
Class Name | Display Name | Hidden Selections |
---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|