Page MenuHomeFeedback Tracker

Independent uniforms can't be added on Dev build
Closed, ResolvedPublic

Description

"U_I_CombatUniform_shortsleeve" / "U_I_CombatUniform" / and "U_I_CombatUniform_Tshirt" can no longer be added to units as uniforms.

Details

Legacy ID
4133932682
Severity
None
Resolution
No Bug
Reproducibility
Always
Category
Visual-Characters

Event Timeline

Bohemia edited Steps To Reproduce. (Show Details)May 27 2014, 4:22 PM
Bohemia edited Additional Information. (Show Details)
Bohemia set Category to Visual-Characters.
Bohemia set Reproducibility to Always.
Bohemia set Severity to None.
Bohemia set Resolution to No Bug.
Bohemia set Legacy ID to 4133932682.May 7 2016, 6:40 PM
AD2001 added a subscriber: AD2001.May 7 2016, 6:40 PM

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.

Bohemia added a subscriber: Bohemia.May 7 2016, 6:40 PM

Thanks, AD2001, just read the sitrep! :)

I don't understand the need to break backwards compatibility on this.

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.

MadDogX added a subscriber: MadDogX.May 7 2016, 6:40 PM

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.