"U_I_CombatUniform_shortsleeve" / "U_I_CombatUniform" / and "U_I_CombatUniform_Tshirt" can no longer be added to units as uniforms.
Description
Details
- Legacy ID
- 4133932682
- Severity
- None
- Resolution
- No Bug
- Reproducibility
- Always
- Category
- Visual-Characters
Event Timeline
https://community.bistudio.com/wiki/addUniform
"given uniform has to be supported by allowedUniforms list of target soldier"
You need to use forceAddUniform (https://community.bistudio.com/wiki/forceAddUniform) if you want to, for example, add a BLUFOR uniform to an independent unit.
What backwards compatibility is being broken? Nothing has changed, a new command has been added to offer more functionality.
The old command was able to give units uniform of a different faction. This is no longer possible and will break old missions relying on this feature/bug. As the "bug" isn't really a bug as it doesn't actually cause any problems in properly scripted missions, I don't see why it needs to be "fixed" forcing users to change missions to use the new command.
If it was necessary to force us to change to a new command to get some new functionality in then I would understand, but this is not the case here. Instead, the new command can be the command that behaves differently, while the old command could keep its old behavior for backward compatibility of missions relying on the old behavior.
@galzohar adduniform was always failing with restricted uniform in multiplayer. Lets say it was actually fixed by explicitly ignoring restricted uniforms now. This make it more consistent. New commands not just complete the change they also fix mp problem adduniform had.
Mass closing tickets marked as resolved more than 1 month ago.
If the issue is in fact not resolved, please create a new ticket referencing this one and ask for it to be re-opened.