RimWorld

RimWorld

37 ratings
Outfitted - Alternative Apparel Scoring
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.2, 1.3, 1.4
File Size
Posted
Updated
1.314 MB
Oct 18, 2020 @ 10:14am
May 8, 2023 @ 9:14am
12 Change Notes ( view )

Subscribe to download
Outfitted - Alternative Apparel Scoring

In 1 collection by Michieru
Michieru's RimWorld mods
4 items
Description
Differently Outfitted

This mod changes the stat scoring algorithm used in 'Outfitted' by Charlotte.

There are several key differences:
  • Normalized stat scoring based on stat ranges of all encountered apparels.
  • Normalized stat scoring based on current work type priorities of a pawn.
  • Stat scoring offsets for gender-specific apparels.
  • Stat scoring offsets based on royal title requirements of a pawn.
  • Stat scoring offsets based on ideology requirements of a pawn.

Known Issues
Mod Manager incorrectly displays an error about 'Outfitted' dependency. Nothing I can do on my side about it, except for removing dependency, which I won't. The error can be safely ignored.

License
This mod is under CC BY-NC-ND 4.0[creativecommons.org].

Thanks
  • Charlotte aka notfood

Source code is available on GitHub[github.com].
35 Comments
Artilleryfire Dec 18, 2023 @ 5:06am 
(2/2)
It turned out to be pretty straightforward. The base game sets the default value for the mass stat to 1, which this mod then uses as a baseline to compare all item stats to. This leads it to treating items between 0 and 1 kg as effectively having negative mass, in turn leading the mass stat being normalized between [-1, 1] instead of [0, 1]. I was able to fix this pretty easily with a very simple XML patch to set defaultBaseValue for Mass to 0. I haven't tested extensively, but this hasn't seemed to cause any other issues. One important thing to note is that Differently Outfitted saves stat value ranges in your save file, so to make this fix work on an existing save I needed to edit the save file and remove the section
<li Class="DifferentlyOutfitted.StatRangesWorldComponent"> ... </li>
Artilleryfire Dec 18, 2023 @ 5:06am 
(1/2)
This and Outfitted are really cool mods! I like the idea of pawns being able to choose outfits on their own, while still having some level of fine tuning control.

I want to make a note here of an unusual behavior that I noticed, looked into, and was able to resolve. I wanted to give a negative weight to item mass; essentially to be able to discourage pawns from equipping gear (especially heavy gear), unless they actually need it. However, when I did this, what ended up happening was very high positive weights were assigned to light gear, which was not what I wanted (I only wanted to discourage heavy gear, not have them equip random gear just because it's light). Since I am a C# programmer, I decided to take a look and the source code and see if I could figure out why this was.
lol Nov 30, 2022 @ 3:38am 
Hello, thank you for the mod! Would it be difficult to add outfits sorting by name?
KurtsCorbenik Nov 28, 2022 @ 8:04pm 
Main mod is not working for infused items, and this is not helping either.
Michieru  [author] Nov 3, 2022 @ 11:32am 
@Victor
It does but additional calculations are trivial, so perfomance impact should not be noticeable.
Victor Nov 3, 2022 @ 7:27am 
I assume this mod affects performance more than just Outfitted?
Mox Sep 18, 2022 @ 4:27pm 
Removing this mod allows me to make the number go positive, which is confusing.
Mox Sep 18, 2022 @ 4:19pm 
Also, despite the normalised values I still don't seem able to have my hunter (another guy) prefer to put on VAE's Military Uniform, when pushing it to the max? The value never becomes positive even at 2.5?
Mox Sep 18, 2022 @ 4:06pm 
How does Automatic Work Priorities work? I have a dude wearing a VAE's Military Uniform, and when viewing the score for a VAE's Gambeson, without Automatic Work Priorities, the default score (just accounting for Automatic Temperature Range) is -0.4. But with Automatic Work Priorities it's 1.6, 2 points higher? Why? The gambeson provides no benefits to anything he's assigned to.
Stark Sep 2, 2021 @ 2:28pm 
@Michieru. Cheers. \o