RimWorld

RimWorld

6,943 ratings
CM Color Coded Mood Bar [1.1+]
9
27
3
21
2
2
2
2
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6
File Size
Posted
Updated
6.255 MB
24 Feb, 2020 @ 1:04pm
12 Jul @ 7:45am
62 Change Notes ( view )

Subscribe to download
CM Color Coded Mood Bar [1.1+]

Description
CM Color Coded Mood Bar [1.1+]

Color code each pawn's mood bar within the colonist bar based on their current mood.
  • Red: extreme mental break threshold
  • Orange: major mental break threshold
  • Yellow: minor mental break threshold
  • Gray: neutral mood
  • Light Blue: content
  • Green: happy

Extra Features:
  • Custom Colors, the colors above can be fully customised, along with some of the icons below.

  • Break Box, an outline to highlight when the colonist is in a break mood, useful for "larger" colonists (default on). This can be drawn beneath or on top of the colonist to further highlight the colonist (default beneath).

  • Schedule Box, an outline to show the colonists current schedule (default off).

  • Illness Icon, an icon that is displayed when the colonist has an illness that requires immunity (default on).

  • Pregnancy Icon, an icon that is displayed when the colonist is pregnant (default on).

  • Bleeding Icon, an icon that is displayed when the colonist is bleeding with 4 different sizes based on bleed rate, large & flashing < 3 hours, large < 8 hours until death, medium < 24 hours, small > 24 hours (default on).

  • Thermal Icons, icons for when colonists are suffering hypothermia/heatstroke (minor and above).

  • Gender Icons, ability to display gender icons for your colonists, useful for gender based events.

  • Cryptosleep Icon, shows an icon of the cryptosleep casket when a colonist is in one.

  • Love Relation Icons, shows icons for colonists that are in love relationships (heart for lovers, rings for married couples).

  • Performance, this mod uses caching to improve performance and runs faster than the vanilla colonist bar that it replaces. (Note: This mod replaces a vanilla method, so if you are using Dubs Performance Analyser, Harmony Patches tab that is doesn't show how much time the mod is adding, instead compare the ColonistBarOnGUI with and without the mod for a fair comparison.)

  • Compatibility, the only compatibility issues this mod has is with other colonist bar mods that alter how the mood box is rendered, with the exception of Colony Groups which i made made this mod compatible with.
    I have also added compatibility for Pawn Badges and Job In Bar when used in combination with Colony Groups.

Updates:

PorqueNoLosDos:
24-09-2017: Removed unnecessary error log messages.
18-11-2017: Updated for RimWorld version 0.18.1722, and added content and happy mood colors.
04-05-2019: Updated for RimWorld version 1.0.2231.

CrashM:
24-02-2020: Updated for RimWorld version 1.1 (1.1 only, won't work on 1.0)
27-02-2020: Added outline box for break risks as previously extreme had such a small bar it was usually not visible.
29-02-2020: Added Mod Settings to allow changing the color of each threshold and disable the mental break outline box if needed.
01-03-2020: Fixed memory leak.
04-04-2020: Added option to put the break box on top of the colonist (default off) so it is more visible for the larger colonists.
15-06-2020: Added optional neutral break box (default off).
28-07-2020: Added Optional Schedule Box to show colonists current schedule.
04-09-2020: Added optional illness icon for illnesses that require immunity.
05-09-2020: Added optional bleeding icon with 3 sizes based on bleed rate.
15-09-2020: Performance updates and caching. I have improved performance by an average of 25% over the previous version (test has 20 colonists, same settings), I also removed the schedule box for when colonists are on the Anything schedule as this also helps performance. There is also a new Refresh Rate setting where you can decide how often the cache is refreshed (150ms seems more than enough for 20 colonists, 0 disables the cache). (Thanks to Vaeringjar
& Varicide for pointing out the performance issue)
23-09-2020: More performance improvements. Please note, the performance improvement has made the cache mandatory, if this causes problems please let me know.
27-09-2020: Bug Fix (error when enabling schedule box when in game), Added optional ability to hide portraits (helps performance).
27-09-2020: Bug Fix.
01-10-2020: Extended the allowed caching to 2s, and made the selection highlighting uncached.
24-10-2020: More performance improvements (removed some reflection).
25-10-2020: Bug Fix + Another performance improvement that make it faster than vanilla.
27-10-2020: Bug Fix + Minor performance improvements + the bleeding icon now flashes when lt 3 hours + the illness icon will flash when severity gt immunity and severity gt 80% + the illness icon will turn yellow when immunity gt severity + the illness icon will turn green when immunity gt %5 more than severity.
20-12-2020: Bug fix + An optional (disabled by default) alternative label that is faster but may have bugs + Thermal warning icons (colors customisable in the settings).
27-03-2021: Added proper tooltips to the settings.
06-04-2021: Additional Performance Improvment when enabling the Alternative Label in the settings.
09-04-2021: Bug Fix
23-04-2021: Added an option to force a portrait update when colonists drafted status changes (as requested by Deco)
05-07-2021: 1.3 Compatibility
07-07-2021: Fixed Problem with RW1.2 loading the 1.3 dll.
23-07-2021: Ideology Update
24-07-2021: Fixed Settings
28-07-2021: 1.3.3074.1: Added a Version Number to help prevent issues with old versions being used. It will be included in the initialisation message in the games log and the mod settings.
15-08-2021: 1.3.3087.1: Fixed compatibility issue with QEE by Mario55770.
18-08-2021: 1.3.3094.1: Added Compatability with Colony Groups, please note this is a work in progress so some things might be weird or broken.
20-08-2021: 1.3.3096.1: Bug Fix
25-08-2021: 1.3.3102.1: Fixed thermal icon still showing after death.
16-09-2021: 1.3.3117.1: Additional compatibility with Colony Groups (fixed issues with pawn/box sizes).
18-09-2021: 1.3.3117.2: Added optional Gender icon.
30-09-2021: 1.3.3136.1: Added optional Cryptosleep Icon.
18-07-2022: 1.3.3389.1: Added Compatibility for Pawn Badges and Job In Bar when used in combination with Colony Groups.
06-10-2022: 1.4.3509.1: Update for Rimworld 1.4.
11-10-2022: 1.4.3542.1: Fix Null Error.
25-11-2022: 1.4.3558.1: Added Love Relationship Icons (optional, enable in settings).
03-12-2022: 1.4.3566.1: Added Pregnancy Icon (enabled with Illness Icon setting).
04-12-2022: 1.4.3566.2: Disable mouse over on pregnancy icon.
04-12-2022: 1.4.3566.3: Fix Pregnancy icon remaining after birth.
04-12-2022: 1.4.3580.1: Additional null checks on relationship.
14-01-2023: 1.4.3607.1: Fixed compatability with latest version of Colony Groups.
15-01-2023: 1.4.3607.2: Fixed Relationship symbol not changing on marriage.
14-03-2024: 1.5.4034.1: Update to 1.5.
18-03-2024: 1.5.4038.1: Added support for vanilla mood "glow".
12-04-2024: 1.5.4062.1: Fixed colour picker in settings.
12-06-2025: 1.6.4488.1: Updated For 1.6.
12-07-2025: 1.6.4518.1: Fixed compat with ModularWeapons2.

Manual Install download and source code: www.crashm.co.uk/Home/CCMB
Popular Discussions View All (1)
130
12 Jul @ 8:52am
Bug Reports
CrashM
822 Comments
Shadowwake 19 hours ago 
@crash apologies mate, no offense or criticism was intended. This mod is wonderful and i use it all the time.
CrashM  [author] 21 Jul @ 1:06pm 
@Anne Flank are there any errors in the error log?
Anne Flank 21 Jul @ 12:19pm 
1.6 it causes the game to show bright red/green colors across the whole screen unless you pause, whole system is borked
CrashM  [author] 19 Jul @ 5:22am 
@Shadowwake This mod is a replace mod, not an additive mod, this means it is replacing part of the games code so just looking at what it shows in the harmony patches section of the performance analyser doesn't mean it is slowing the game down by that much. It might say, for example, that it is using 0.4ms, but it is replacing a bit of code that was taking 0.7ms that is not longer run. Please join the Dubs discord before jumping to conclusions.
Shadowwake 18 Jul @ 8:36pm 
Edit-edit, it does show a very small impact on that section, but still indicates it's chewing up Harmony time pretty significantly, sometimes.
Alu 18 Jul @ 7:59pm 
use dubs discord @shadowwake if you want to report tps impacts
you cant post images here but you can there and crashm IS there so more convenient to get help and report it
Shadowwake 18 Jul @ 7:49pm 
Edit: Just saw the reference to analyzer in the description, i'll take another look at it in that section.
Shadowwake 18 Jul @ 7:48pm 
Looking through my mod list to see what's causing my frames to chug (dubs performance analyzer) and i noticed that this mod was deep in the red for performance on the Harmony tab. I realize it does a lot of work to monitor the moods and update the frames and whatnot, but is that normal for author and everyone else? Or is it possibly conflicting with something else in my list and causing this mod to really burn update ticks way more than it's supposed to?

To be clear it isn't actually throwing any errors, just really heavily consuming processing ticks, unexpectedly much.
Mold 18 Jul @ 11:02am 
The author of Useful Marks just pushed an update a couple of hours ago that corrected the incompatibility issue, so it should be resolved at this time.
CrashM  [author] 17 Jul @ 11:41am 
@Auspician that's probably because the compatibility was made for 1.5 and 1.6's new threading model broke the patch.