RimWorld

RimWorld

[NL] Dynamic Portraits
101 Comments
F3iT Jul 13 @ 3:43pm 
It doesn't change the portrait itself, only adds dynamic elements alongside. So if a pawn is downed you'll see her laying down like in vanilla.
Futstub Jul 13 @ 2:24am 
It's been a while since I tried this mod last. WIll it now show when a pawn is downed, or is that still only on color coded mood bars?
Birdinmotion Jun 26 @ 1:03am 
I'm gonna paste this from the facial animations mod page


SerenityBun 3 hours ago
the developer is alive, but guys... seriously. stop begging for 1.6 that hard.
this is not the typical "i'll just have a few small things" mod. this mod is much more complicated and even for the anomaly update, took 1-2 weeks after anomaly release to actually function, even longer than that to not have the FPS issues it had back then.
cut the dev some slack and just be patient.
F3iT May 13 @ 7:23am 
Hello i have a little problem while using your mod alongside Color Coded Mood Bars. Everything is working great, but your status bars won't show up, even if enabled in options.
* No bars at all if i load Color Coded Mood Bars (mood, hunger, sleep)
* No mood bar if I load your mods first
Everything works fine in your mods if i disable Color Coded Mood Bars

Problem is I use Custom portraits in a way I can't see Color Coded Mood Bars inner mood bar, so I have no more mood indicator, but I want their great icons along with full size portraits and your mood bar :)

I'll cross post this on Color Coded Mood Bars workshop as I don't know where the problem sits
Head May 4 @ 6:33am 
Please add support to increase colonist bar size!
FlareFluffsune Apr 20 @ 8:14am 
i would love a way to increaSE the size of the colonist bar icons like Colonist Bar KF, and maybe limit the amount of icons.
[RTB] Sarianos Feb 22 @ 6:30am 
@Nals would it be possible to get a toggle to always show weapons?
While I love the style and function of this mod and appreciate the effort this must take, it's pretty much the only feature that I really miss from other colonist bar mods I've tried.
Mutley Jan 12 @ 6:36am 
If it showed a disease and pregnancy icon it would be perfect.
The Bard of Hearts Sep 18, 2024 @ 12:50am 
Would it be possible to add an option to limit how many colonists show on a single row? Larger colony plus a ton of guests makes the bar really small. Would love to be able to add a second line instead.
Pos 4/5 Aug 4, 2024 @ 9:38pm 
Just to add some more context: I just finished analyzing the three fleshmass nucleus, and right clicked on the fleshmass heart, and that's when the bug was triggerred. My UI is gone, the portraits were renderred to the pawn who did the right click. After waiting for the pawn has finished the progress, the UI is back.

From the error log and disassembly of the dll, I think it's referring to RenderColonist.DrawWorkItems, the line where there are two floats are computing:

float num2 = Mathf.Clamp(item.def.graphicData.drawSize.x, 0f, 4f);

I've set a null condition check for item.def.graphicData in the decompiled code, and after resolving disassembly errors and recompiling the binary, this fixed the issue.
Pos 4/5 Aug 4, 2024 @ 8:42pm 
Hi Nals! I love this mod but I encountered a bug: https://gist.github.com/lisanhu/f14418d7cc72f797764a12d7c65adf42

Do you mind taking a look at it when you have time? Thank you so much!!
Futstub Apr 15, 2024 @ 7:46am 
Any chance you can add an icon when a pawn is bleeding out (like Color Coded Mood Bar has)?
Otherwise great mod!
Arganot Apr 2, 2024 @ 3:51pm 
How hard would it be to add and icon for Role Cooldown and one for disease?
Kyrox Mar 26, 2024 @ 7:22am 
@Monkey Magic
I would look into LTO Colony Bars. Tons of features with bars. All resize-able and customizable.
Monkey Magic Mar 2, 2024 @ 7:24pm 
Does this have the features of yout other mod "Custom Portrait" built it; and if not are they at least compatible with each other? I've used the later for ages, but I am interested in the bars this one offers
googooman Feb 18, 2024 @ 3:20am 
A wonderful mod, thanks. Could you get color in mood bar when it changes?
c0de Dec 12, 2023 @ 8:16pm 
do you have a way to move the portraits?
lol Nov 9, 2023 @ 12:53am 
Suggestion: give option to move mood/food/sleep bars
I_forgotit Aug 5, 2023 @ 5:26am 
The little symbol that goes from red to green for the "colonist has an infection" dose not show up after installing this mod. Is there a patch to get it back? Or is there a mod setting i am missing?
paranoiasavedthecat Apr 14, 2023 @ 2:42pm 
@vardath

should be a vanilla feature of the game. right-click+drag.
Vardath Jan 23, 2023 @ 2:37am 
Would love to be able to drag to reorder the colonists
Stellar Harbour Dec 14, 2022 @ 12:58pm 
Can you add sort by age? I want filter this kids that gets oneshots from fights :X
pear Aug 4, 2022 @ 10:53pm 
From my experience when using this with colony groups the CG ui overrides this
Nova Apr 10, 2022 @ 10:28am 
I love this MOD!:steamhappy:
ELLIOTTCABLE on Discord Mar 4, 2022 @ 6:47pm 
Went back to the comments, and doesn't look like there's been an answer yet - so :+1: @eternal_constant, is this designed to work seamlessly with [LTO] Colony Groups ?
永恒常量 Nov 28, 2021 @ 6:40am 
compatible with colony groups?
popumu Oct 17, 2021 @ 1:09am 
素晴らしいMOD、病気の進行度も表示できるともっと良い
Nals  [author] Sep 24, 2021 @ 9:20am 
@Owlchemist san,
Thank you for your advice. But I don't plan to post my code to Github now, because I'm not very good at Github.
However, if my code is making the game extremely slow, I would like to improve it. I'd appreciate it if you could tell me how to improve it in a thread or something instead of a comment.
I have only one question. I think that you are not able to play the game if the game slowed down by 450ms.
I am not very good at English, so I could be mistaken.
Ali50 Sep 23, 2021 @ 5:20pm 
@Nals They are working together well as far as I can see. Just put it in my list again and tried.
It's just the color coded mood bars mod did something with the last update and is now bloating my log which is why I am glad that I can deactivate it without loosing functionality thanks to your mod. ^^
Nals  [author] Sep 22, 2021 @ 10:41pm 
@Ali50 I have updated this mods. I tried to improve compatibility with other mood bar mods. However, some features in my mod will not work fine with them. Please try to check it.
Ali50 Sep 19, 2021 @ 6:00pm 
@Nals well ... it somehow worked well together (at least not producing errors) till the CCMB update on saturday ^^ But I'm always ok with removing mods from my list as I currently have 824 active. Can I also disable Show Draftees Weapons if it is fully implemented on your end too?
Nals  [author] Sep 19, 2021 @ 5:55pm 
Hi, Ali50-san,
Thank you using my mods. "Incompatible Mods" is no not new, I wrote it when this mod was released. At that time, there were many "Mood Bar" Mods which makes mood bars colored released by different authors. and I thought that I could not make compatible to them. So, I was a little surprised to see your comments.
Ali50 Sep 19, 2021 @ 3:26pm 
Ah just noticed the *Incompatible Mods* - Color Coded Mood Bar part. Is that one new? I use both of them together since somewhere 1.2. I always thought I had to run CCMB and Show Draftees Weapon together with Dynamic Portraits for those things to work ...
Ali50 Sep 19, 2021 @ 3:19pm 
@Nals Since the update today I get hundreds of Log Messages about ColorCodedMoodBar in my log reaching the max message count very soon after clearing the log. They all are called either "[CMColorCodedMoodBar] 1" or "[CMColorCodedMoodBar] 2".

Example:
[CMColorCodedMoodBar] 1
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Message (string)
ColoredMoodBar13.Main:LogMessage (string,ColoredMoodBar13.MessageType)
ColoredMoodBar13.MoodCache:GetPawnTextureRectCG (UnityEngine.Vector2)
ColoredMoodBar13.MoodCache:Update (UnityEngine.Rect&,Verse.Pawn,Verse.Map,bool&,RimWorld.ColonistBar,object)
ColoredMoodBar13.MoodPatch:DrawColonist
...
Corbloc Jul 29, 2021 @ 10:34pm 
Hallo, i use Show Draftees Weapon and Job In Bar all three mods are compatible with each other. You can safely add them to the list.

I have a small issue with your mod however, same as @veiimas. The name of Pawns draws over the work items and you cant really see them. If you could add a slider to manipulate the potions of the Pawn names/work items or a setting to disable pawn names all together, that would be great.

@veiimas suggestion would make both mods mentioned above incompatible with yours, as they use the potions below the pawn names.
KimK Jul 27, 2021 @ 3:35pm 
This is by far my favorite portrait mod! I have a question though, would it be possible to get rid of the new icon that Ideology places over the portraits of the pawns that have the leader or moral guide role? They really disturb the clean graphics your hud provides and bug me more then they should ^^
Also the mod works totally fine, anyone having the hud disappear probably has some mod conflict.
veiimas Jul 27, 2021 @ 2:24pm 
Would you consider changing the position of the job graphic and the weapon graphic to be below the colonist portrait like on show draftee weapons? I don't like the way it overlaps, makes it very hard to see what's what.
Undeadbanana Jul 27, 2021 @ 8:30am 
For those that have the entire HUD disappearing, are you using RimThreaded?

I was having the same issue randomly until I went ahead and just removed RimThreaded.
Errantem Jul 22, 2021 @ 7:29am 
Even with a big stack of mods on top of it, it works for me. I suggest anyone still having problems goes through their mods and make sure they've been updated.
xFizzle Jul 22, 2021 @ 6:17am 
i believe it still removes the UI if you use another mod like RimHUD.
Nals  [author] Jul 22, 2021 @ 5:39am 
I've tested it with ver.1.3 Rimworld, Harmony, Core, and Royalty and this mod, but I haven't had any problems. This mod works fine at my PC. Please let me know whether the issue occurs when you use only this mod. And, please tell me your rimworld version.
❂Jamie❂ Jul 22, 2021 @ 3:25am 
Definitely not fixed. Had to remove temporarily as it removes the entire HUD and makes the game physically unplayable. Hope it's fixed soon, one of my core mods for Rimworld :(
Crow Jul 21, 2021 @ 11:22pm 
Can sadly confirm that this is, in fact, not fixed. Tried unsub and re-subbing, and having it at the bottom of my mod list, and it still causes the missing UI. A shame, because I really do like this mod! Although also, would be nice to move the bars to the same side of the portrait.
Nals  [author] Jul 21, 2021 @ 6:55pm 
@Gota-san,@Rngl-san,@era-san,
Thanks for your reports. Maybe, I have fixed it.
era Jul 21, 2021 @ 4:06pm 
Yep, seems like the latest hotfix broke this one.
Rngl Jul 21, 2021 @ 3:51pm 
Got the following error on 1.3:

Root level exception in OnGUI(): System.MissingMethodException: UnityEngine.RenderTexture RimWorld.PortraitsCache.Get(Verse.Pawn,UnityEngine.Vector2,Verse.Rot4,UnityEngine.Vector3,single,bool,bool,bool,bool,System.Collections.Generic.Dictionary`2<RimWorld.Apparel, UnityEngine.Color>,bool)
at (wrapper dynamic-method) RimWorld.ColonistBarColonistDrawer.RimWorld.ColonistBarColonistDrawer.DrawColonist_Patch2(RimWorld.ColonistBarColonistDrawer,UnityEngine.Rect,Verse.Pawn,Verse.Map,bool,bool)
at RimWorld.ColonistBar.ColonistBarOnGUI () [0x0012f] in <42407eb24a9d4d5ea4f2744625360de3>:0
at (wrapper dynamic-method)
Gota Jul 21, 2021 @ 3:46pm 
It looks like the new hotfix broke mods like this, leading to a missing GUI
Sal Jul 18, 2021 @ 2:03pm 
really cool colonist bar , i like it a lot , tho imo would be way better if we could customize size , space and position of the bar , or is that already possible ? ( didnt saw in the settings )
1337 Kiwi Jul 17, 2021 @ 10:31pm 
Thanks really appreciate it.
1337 Kiwi Jul 15, 2021 @ 9:30pm 
Please update to 1.3, I consider this mod to be essential. Thanks.