Page MenuHomeFeedback Tracker

Not possible to use setObjectTexture/hiddenselectionstextures on AAF Officer (I_officer_F)
New, NormalPublic

Description

It is currently not possible to switch uniform textures for the AAF officer (neither via setting hiddenselectionstextures[] in config, nor via setObjectTexture in-game), because it seems hiddenselections[] is not set correctly:

hiddenSelections[] = {"Camo","insignia"};

It works when you define a new class which inherits from I_officer_F and set hiddenSelections[] to:

hiddenSelections[] = {"Camo1","Camo2","insignia"};

Details

Severity
Trivial
Resolution
Open
Reproducibility
Always
Operating System
Windows 10
Category
Visual-Characters
Steps To Reproduce

Spawn I_officer_F (AAF Officer) in editor, set a new texture via setObjectTexture[0, "texname"].

Event Timeline

quarren created this task.Nov 26 2020, 4:28 PM
quarren changed Severity from Tweak to Trivial.Nov 26 2020, 4:34 PM
quarren changed Reproducibility from N/A to Always.
quarren changed Category from Units to Visual-Characters.Nov 26 2020, 4:39 PM