R3vo/Sandbox – User
Jump to navigation
Jump to search
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 |
---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|