Page MenuHomeFeedback Tracker

setObjectTexture(global) no longer working on uniforms
Reviewed, NormalPublic

Description

Re: https://forums.bohemia.net/forums/topic/180646-list-of-all-hidden-texture-inits/

Mission makers have been using the various available Vanilla texture options to add some sauce to their units. Since 1.84 there has been an issue with re-texturing the uniforms of AI's in MP/Dedi. Only in Eden/SP/preview the new texture is displayed. In MP/Dedi the textures are no longer displayed.

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Multiplayer
Steps To Reproduce

0. Place a player unit on the map.

  1. Place 1 blufor rifleman non-playable unit on the map. Init:
	this setObjectTexture [0, "\a3\characters_f\BLUFOR\Data\clothing_wdl_co.paa"]; // Woodland uniform texture
  1. Place 1 blufor rifleman non-playable unit on the map. Init:
	if isServer then {this setObjectTextureGlobal [0, "\a3\characters_f\BLUFOR\Data\clothing_wdl_co.paa"]};
  1. Save as mutiplayer mission
  2. Start dedicated server
  3. Test the mission
Additional Information

Tried many variations/options with scripted units:

if !isServer exitWith {};
_u setObjectTextureGlobal [0, "\a3\characters_f\BLUFOR\Data\clothing_wdl_co.paa"];
if !isServer exitWith {};
{_u setObjectTexture [0, "\a3\characters_f\BLUFOR\Data\clothing_wdl_co.paa"]} remoteExecCall ["bis_fnc_call", 0, true];
if !isServer exitWith {};
{
	_u setObjectMaterial [0, "\a3\data_f\default.rvmat"]; 
	_u setObjectTexture [0, "\a3\characters_f\BLUFOR\Data\clothing_wdl_co.paa"];
} remoteExecCall ["bis_fnc_call", 0, true];

Eden placed units, scripted units, none of them get the new uniform texture applied.

I have tested with the following uniform textures (none of them display correctly):

  • "\a3\characters_f\OPFOR\Data\clothing_rus_co.paa"
  • "\a3\characters_f\BLUFOR\Data\clothing_sage_co.paa"
  • "\a3\characters_f\BLUFOR\Data\clothing_wdl_co.paa"
  • "\A3\characters_f\common\data\coveralls_grey_co.paa"

Event Timeline

whiztler created this task.Sep 22 2018, 5:02 AM
Wulf changed the task status from New to Reviewed.Sep 24 2018, 6:03 PM
Wulf added a subscriber: Wulf.

Hello.

Thank you for the report. We will have a look at it and see what can be done.