Skip to content

Wardrobe - Add more directional properties#11226

Merged
BrettMayson merged 27 commits intoacemod:masterfrom
OverlordZorn:wardrobe-add-direcitonal-attributes
Feb 8, 2026
Merged

Wardrobe - Add more directional properties#11226
BrettMayson merged 27 commits intoacemod:masterfrom
OverlordZorn:wardrobe-add-direcitonal-attributes

Conversation

@OverlordZorn
Copy link
Contributor

@OverlordZorn OverlordZorn commented Jan 11, 2026

This PR Does:

Add support for directional properties:

  • duration
  • gesture
  • sound
  • soundTiming

Renames existing properties while providing legacy support

  • sound_timing -> soundTiming
  • directionalActionName -> displayName
  • alternativeActionName -> displayName
  • alternativePicture -> icon

Furthermore

  • Adds directional displayNames to vanilla facewear
  • Adds checkForLegacy Properties on preStart

@OverlordZorn
Copy link
Contributor Author

@BrettMayson

OverlordZorn and others added 2 commits January 11, 2026 22:14
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
@OverlordZorn OverlordZorn marked this pull request as ready for review January 12, 2026 18:08
OverlordZorn added a commit to OverlordZorn/ACE3 that referenced this pull request Jan 12, 2026
OverlordZorn added a commit to OverlordZorn/ACE3 that referenced this pull request Jan 12, 2026
OverlordZorn added a commit to OverlordZorn/ACE3 that referenced this pull request Jan 12, 2026
@PabstMirror PabstMirror added this to the 3.20.3 milestone Jan 12, 2026
@PabstMirror PabstMirror added the kind/enhancement Release Notes: **IMPROVED:** label Jan 12, 2026
case (
isClass (configFile >> QUOTE(ADDON) >> _classOrigin >> "modifiableTo" >> _classTarget >> "directionalActionName")
): {
getText (configFile >> QUOTE(ADDON) >> _classOrigin >> "modifiableTo" >> _classTarget >> "directionalActionName")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is needed, but we could add warnings for old configs

Suggested change
getText (configFile >> QUOTE(ADDON) >> _classOrigin >> "modifiableTo" >> _classTarget >> "directionalActionName")
WARNING_2("using old directionalActionName instead of displayName on %1->%2",_classOrigin,_classTarget );
getText (configFile >> QUOTE(ADDON) >> _classOrigin >> "modifiableTo" >> _classTarget >> "directionalActionName")

Copy link
Contributor Author

@OverlordZorn OverlordZorn Jan 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The warning is a good idea, but maybe it should be script running on mission start / gamestart that checks all laoded configs and puts a list in the RPT?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added a warning on preStart which itterates over all classes and checks for depricated properties.

RPT output:

 3:17:03 [ACE] (wardrobe) WARNING: depricated property 'sound_timing'. use 'soundTiming' instead: 'G_Bandanna_aviator'
 3:17:03 [ACE] (wardrobe) WARNING: depricated property 'sound_timing'. use 'soundTiming' instead: 'G_EyeProtectors_F'
 3:17:03 [ACE] (wardrobe) WARNING: depricated property 'sound_timing'. use 'soundTiming' instead: 'G_EyeProtectors_Earpiece_F'
 3:17:03 [ACE] (wardrobe) WARNING: depricated property 'sound_timing'. use 'soundTiming' instead: 'G_WirelessEarpiece_F'
 3:17:03 [ACE] (wardrobe) WARNING: depricated property 'directionalActionName'. use 'displayName' instead: 'ace_wardrobe_base' >> 'modifiableTo' >> 'test1'
 3:17:03 [ACE] (wardrobe) WARNING: depricated property 'directionalActionName'. use 'displayName' instead: 'ace_wardrobe_base' >> 'modifiableTo' >> 'test2'
 3:17:03 [ACE] (wardrobe) WARNING: depricated property 'directionalActionName'. use 'displayName' instead: 'ace_wardrobe_base_U_sleeves_up' >> 'modifiableTo' >> 'test1'
 3:17:03 [ACE] (wardrobe) WARNING: depricated property 'directionalActionName'. use 'displayName' instead: 'ace_wardrobe_base_U_sleeves_up' >> 'modifiableTo' >> 'test2'

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@PabstMirror lmk if you#re happ with this solution or if you want me to make this dev script instead of a fnc.

@OverlordZorn
Copy link
Contributor Author

hurrdurr, not ready to merge. im checking properties with isClass and that doesnt work

PabstMirror pushed a commit that referenced this pull request Jan 17, 2026
* init

* Donate macros

* rm comment

* donate

* lower case include path

* apply ACEWARDROBE()

* -> displayName

#11226

* Revert "-> displayName"

This reverts commit ab2d3f3.
PabstMirror pushed a commit that referenced this pull request Jan 17, 2026
* init

* Donate macros

* rm comment

* init

* apply ACEWARDROBE()

* -> displayName

#11226

* Revert "-> displayName"

This reverts commit 08e994b.
PabstMirror pushed a commit that referenced this pull request Jan 17, 2026
* donate wardrobe vnx configs

* init

* Donate macros

* rm comment

* rm double ref of macro file

* apply ACEWARDROBE()

* -> displayName

#11226

* Revert "-> displayName"

This reverts commit 7b48ea0.
@BrettMayson BrettMayson merged commit d4414c2 into acemod:master Feb 8, 2026
3 checks passed
@OverlordZorn OverlordZorn deleted the wardrobe-add-direcitonal-attributes branch February 8, 2026 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/enhancement Release Notes: **IMPROVED:**

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants