Ludeon Forums

RimWorld => Mods => Releases => Topic started by: Kiame on June 13, 2017, 03:20:24 AM

Title: [1.3] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: Kiame on June 13, 2017, 03:20:24 AM
Show hair for all hats.

Select which hats do hide hair from Mod Settings.

Hide All Hats from Mod Settings

Will work with mods that add new hats

Supports current saves and can be removed without breaking saves

Direct Download:
1.3 (https://github.com/KiameV/rimworld-showhair/releases/download/1.3/ShowHair.zip)

A17 (https://github.com/KiameV/rimworld-showhair/releases/download/20170702/ShowHair.zip)
B18 (https://github.com/KiameV/rimworld-showhair/releases/download/A18/ShowHair.zip)
B19 (https://github.com/KiameV/rimworld-showhair/releases/download/B19/ShowHair.zip)
1.0 (https://github.com/KiameV/rimworld-showhair/releases/download/1.0/ShowHair.zip)
1.2 (https://github.com/KiameV/rimworld-showhair/releases/download/1.2/ShowHair.zip)

Use ModSync RW (https://ludeon.com/forums/index.php?topic=41634.0) to know if/when there's an update


Steam (http://steamcommunity.com/sharedfiles/filedetails/?id=1180826364)

GitHub: https://github.com/KiameV/rimworld-showhair

When changing whether a hat hides hair, if a pawn is wearing that hat their portrait will not update until they change something (like remove/put back on the hat).

Works with these mods:
Apparello - https://ludeon.com/forums/index.php?topic=5085.0
Huminoid Alien Races

Might work?
Children and Pregnancy - uses Detours

Translators:
- Proxyer - Japanese

Code Support:
- LockdownX7

Like my mods? Consider supporting me!
(http://www.travistygames.com/private/kofi3.png) (https://ko-fi.com/kiamev)


(https://steamuserimages-a.akamaihd.net/ugc/868493592236560469/A31D7B8CF6E82F0AD7EBB21A620F2BFD8005CFC0/)

Thanks:
Thanks to "YouAllJilao" for creating "Headgear Frame" and "Vaniat" for supporting it. That mod gave me the idea to do this mod.
Thank you Diana Winters for the Orassans (https://ludeon.com/forums/index.php?topic=22336.0) which is the 'cat' pawn in the screen shot.
Thank you NoImageAvailable and Dark_Inquisitor for the Don't Shave Your Head code
Title: Re: [A17] Show Hair with Per-Hat Toggle
Post by: SpaceDorf on June 13, 2017, 07:05:56 AM
Thank you, Kiame.
Title: Re: [A17] Show Hair with Per-Hat Toggle
Post by: koni on June 13, 2017, 08:00:50 AM
Nice. Is it tested with Alien Races?
Title: Re: [A17] Show Hair with Per-Hat Toggle
Post by: Shinzy on June 13, 2017, 08:44:06 AM
Ooh! this is really neat!
and it works somewhat fantastic with my Apparello too, until you start to equip more than one apparel on your head ;D

(http://i.imgur.com/9FpIgVg.png)
See the moment I equip the hat and scarf it'll only show the latest one anymore
just letting you know incase this is something you're able to fix without too much hassle! ;D
Title: Re: [A17] Show Hair with Per-Hat Toggle
Post by: SpaceDorf on June 13, 2017, 09:00:31 AM


if (ap.def.apparel.LastLayer == ApparelLayer.Overhead)
                        {
                            drawHair = !SettingsController.HatsThatHideHair.Contains(ap.def);
                            if (drawHair)
                                hatLoc.y += 0.0328125022f;
                 //               break; ( remove this line )
}
}
Title: Re: [A17] Show Hair with Per-Hat Toggle
Post by: Kiame on June 13, 2017, 03:37:21 PM
Quote from: SpaceDorf on June 13, 2017, 09:00:31 AM


if (ap.def.apparel.LastLayer == ApparelLayer.Overhead)
                        {
                            drawHair = !SettingsController.HatsThatHideHair.Contains(ap.def);
                            if (drawHair)
                                hatLoc.y += 0.0328125022f;
                 //               break; ( remove this line )
}
}


And here i was trying to be a little more efficient with code execution  :P

I'll remove the breaks from the 2 other loops too tonight and get another version up. I'll post to this thread again when it's up
Title: Re: [A17] Show Hair with Per-Hat Toggle
Post by: Kiame on June 13, 2017, 03:38:08 PM
Quote from: koni on June 13, 2017, 08:00:50 AM
Nice. Is it tested with Alien Races?

I have not tested it with alien races. Please let me know if there's any odd behaviors with it and I'll get alien races downloaded and test it out.

This mod does not modify anything in the saves to it's safe to add/remove whenever.
Title: Re: [A17] Show Hair with Per-Hat Toggle
Post by: Kiame on June 13, 2017, 04:05:57 PM
Just uploaded a fix for the "multiple apparel items on head not showing up issue"

Please let me know if it works now!

Both steam and direct download have been updated
Title: Re: [A17] Show Hair with Per-Hat Toggle
Post by: Shinzy on June 13, 2017, 08:25:21 PM
Quote from: Kiame on June 13, 2017, 04:05:57 PM
Just uploaded a fix for the "multiple apparel items on head not showing up issue"

Please let me know if it works now!

Both steam and direct download have been updated

it's working like a charm! now if you could also get the hair not being shown toggled automatically for full-head helmets it would require almost no finetuning of your own in the options ;D

but this is really well made!
Thank!
Title: Re: [A17] Show Hair with Per-Hat Toggle
Post by: Rimrue on June 13, 2017, 10:35:36 PM
Does this work with the Children mod? The other similar mod I tried (HeadFrame?) drew double hats on all the kids. :/
Title: Re: [A17] Show Hair with Per-Hat Toggle
Post by: SpaceDorf on June 14, 2017, 02:38:12 AM
Quote from: Kiame on June 13, 2017, 03:37:21 PM
Quote from: SpaceDorf on June 13, 2017, 09:00:31 AM


if (ap.def.apparel.LastLayer == ApparelLayer.Overhead)
                        {
                            drawHair = !SettingsController.HatsThatHideHair.Contains(ap.def);
                            if (drawHair)
                                hatLoc.y += 0.0328125022f;
                 //               break; ( remove this line )
}
}


And here i was trying to be a little more efficient with code execution  :P

I'll remove the breaks from the 2 other loops too tonight and get another version up. I'll post to this thread again when it's up

Well you where .. If Pawns would only use one Headgear
Blame Shinzy !
Title: Re: [A17] Show Hair with Per-Hat Toggle
Post by: Hadley on June 14, 2017, 03:15:41 AM
Somehow I can't get it to work. Its last in my Loadorder but it does not work no matter what Helm I try, no matter if modded or vanilla. Is it not compatible with modded Hair?

€dit: Apparently its the Child and Pregnancy Mod ._.
Title: Re: [A17] Show Hair with Per-Hat Toggle
Post by: Kiame on June 14, 2017, 12:44:10 PM
Quote from: Hadley on June 14, 2017, 03:15:41 AM
Somehow I can't get it to work. Its last in my Loadorder but it does not work no matter what Helm I try, no matter if modded or vanilla. Is it not compatible with modded Hair?

€dit: Apparently its the Child and Pregnancy Mod ._.

Looks like it's because Child/Preg mod detours PawnRenderer.RenderPawnInternal

The author of that mod does include Harmony in their mod but they're in no way using it. Instead they're using detours which will prevent any other mods from working. So sadly this mod cannot work with that mod
Title: Re: [A17] Show Hair with Per-Hat Toggle
Post by: Kiame on June 14, 2017, 11:13:38 PM
Update:
-Translation support (the labels in Mod Settings)
-Hide All Hats option in Mod Settings
Title: Re: [A17] Show Hair with Hats or Hide All Hats
Post by: delheit on June 15, 2017, 01:27:41 AM
Stean Page and Git Hug...

On purpose or typo?
Title: Re: [A17] Show Hair with Hats or Hide All Hats
Post by: Kiame on June 15, 2017, 02:37:03 AM
Quote from: delheit on June 15, 2017, 01:27:41 AM
Stean Page and Git Hug...

On purpose or typo?

LOL typos  :D
Title: Re: [A17] Show Hair with Hats or Hide All Hats
Post by: Kiame on June 17, 2017, 03:24:49 PM
Fixing an issue where hair that should be hidden was being displayed after a saved game was loaded.

Steam and direct download have been updated
Title: Re: [A17] Show Hair with Hats or Hide All Hats
Post by: rambo on June 24, 2017, 09:46:28 PM
the option for hiding hair for the hood isn't there (Apparello) plz help
Title: Re: [A17] Show Hair with Hats or Hide All Hats
Post by: Kiame on June 24, 2017, 11:44:07 PM
Quote from: rambo on June 24, 2017, 09:46:28 PM
the option for hiding hair for the hood isn't there (Apparello) plz help

It was there but not visible because the bottom of the scroll view was cut off  :'(

It's fixed now. Hood was third from the bottom for me with the fix. Updated both the direct download and steam
Title: Re: [A17] Show Hair with Hats or Hide All Hats
Post by: rambo on June 25, 2017, 12:13:27 AM
The mod settings that can hide hair is broken
Title: Re: [A17] Show Hair with Hats or Hide All Hats
Post by: rambo on June 25, 2017, 05:43:18 AM
thanks
Title: Re: [A17] Show Hair with Hats or Hide All Hats
Post by: Kiame on June 25, 2017, 04:18:48 PM
Just to check Rambo, the update fixed the problem you were having?
Title: Re: [A17] Show Hair with Hats or Hide All Hats
Post by: rambo on June 25, 2017, 09:58:27 PM
Yes it did
Title: Re: [A17] Show Hair with Hats or Hide All Hats
Post by: rambo on June 28, 2017, 12:56:48 AM
What would make this mod great is in the mod setting you can also chose which type of hair will be hidden or not
Title: Re: [A17] Show Hair with Hats or Hide All Hats
Post by: Kiame on July 02, 2017, 11:50:40 PM
Fixed a compatibilty problem with Hand 'n' Footwear Mod - https://ludeon.com/forums/index.php?topic=32255.0

Both steam and direct download have been updated

Direct Download: https://github.com/KiameV/rimworld-showhair/releases/download/20170702/ShowHair.zip
Title: Re: [A18] Show Hair with Hats or Hide All Hats
Post by: Kiame on October 25, 2017, 07:17:38 PM
Updated for A18. See first post for links
Title: Re: [A17] Show Hair with Per-Hat Toggle
Post by: Roskii Heiral on October 25, 2017, 11:33:27 PM
Quote from: Kiame on June 13, 2017, 03:38:08 PM
Quote from: koni on June 13, 2017, 08:00:50 AM
Nice. Is it tested with Alien Races?

I have not tested it with alien races. Please let me know if there's any odd behaviors with it and I'll get alien races downloaded and test it out.

This mod does not modify anything in the saves to it's safe to add/remove whenever.

I love your mod, but it does have a small issue with alien races. It clips the tails off of them. It has something to do with the way you both adjust pawn rendering. If it wouldn't be too much trouble, I'd love to be able to use them both together.

I'm also trying to learn C# in the next few weeks, so I may be able to make some kind of patch myself
Title: Re: [A18] Show Hair with Hats or Hide All Hats
Post by: Kiame on October 26, 2017, 01:50:17 AM
The problem with alien races and pregnancy mods is that this and those mods are all trying to override the pawn renderer. It's unlikely these mods can be compatible. I can take a look at the alien races mod and if it's a small difference i may be able to finesse it in.

At this point i'm going to wait for alien races to get upgraded to A18. I'm stopping updates on the A17 versions of my mods unless there's something truly game breaking.

Edit: I see AlienRaces does have an A18 version up
Title: Re: [A18] Show Hair with Hats or Hide All Hats
Post by: Kiame on October 26, 2017, 02:32:27 AM
Decided to give it a try to get some AlienRace support. If my idea works, Alien Races will be rendered as if this mod was not on - hats will hide hair - but human pawns will adhere to this mod.

I tested it with Orassians (who i htought had tails) but when I had this mod enabled and disabled no tails. Need sleep at this point though i will try testing again tomorrow. If you want to give it a spin and get back to me please feel free. I made a separate zip for it here: https://github.com/KiameV/rimworld-showhair/releases/download/20171025/ShowHairAlienRaceTry.zip
Title: Re: [A18] Show Hair with Hats or Hide All Hats
Post by: Roskii Heiral on October 26, 2017, 05:26:17 PM
Unfortunately, that won't help with my purposes. My main draw to your mod is that you can wear things like sunglasses without your hair disappearing. In my own race mod, I plan on adding a few goggles and gas mask type  headgear. I do really appreciate you looking into it though and hope a solution is found.
Title: Re: [A18] Show Hair with Hats or Hide All Hats
Post by: Kiame on November 01, 2017, 10:56:07 PM
Quote from: Roskii Heiral on October 26, 2017, 05:26:17 PM
Unfortunately, that won't help with my purposes. My main draw to your mod is that you can wear things like sunglasses without your hair disappearing. In my own race mod, I plan on adding a few goggles and gas mask type  headgear. I do really appreciate you looking into it though and hope a solution is found.

I have it working with AlienRaces now.
A18 version: https://github.com/KiameV/rimworld-showhair/releases/download/A18/ShowHair.zip

A17 will be some work... I'll see if i can get it to work but this may be an A18 thing only

[attachment deleted by admin: too old]
Title: Re: [A18] Show Hair with Hats or Hide All Hats
Post by: Diana Winters on November 02, 2017, 12:07:39 AM
Quote from: Kiame on November 01, 2017, 10:56:07 PM
<snip>

I have it working with AlienRaces now.
A18 version: https://github.com/KiameV/rimworld-showhair/releases/download/20171025/ShowHairAlienRacesSupport.zip

A17 will be some work... I'll see if i can get it to work but this may be an A18 thing only

Damn, she looks baddass  8)
Title: Re: [A18] Show Hair with Hats or Hide All Hats
Post by: Canute on November 02, 2017, 04:30:17 AM
QuoteDamn, she looks baddass  8)

Thats the drama between fashion and safty on the battlefield.
The Orassan maybe looks better, but after a each battle he would need new ear implants, not to speak about brain damage because the hole for the ear is a hole for the bullet too.
Title: Re: [A18] Show Hair with Hats or Hide All Hats
Post by: Diana Winters on November 02, 2017, 04:24:58 PM
Quote from: Canute on November 02, 2017, 04:30:17 AM
QuoteDamn, she looks baddass  8)

Thats the drama between fashion and safty on the battlefield.
The Orassan maybe looks better, but after a each battle he would need new ear implants, not to speak about brain damage because the hole for the ear is a hole for the bullet too.

To be fair, I don't think cramming her ears under the cowboy hat would protect them much :p
Title: Re: [A18] Show Hair with Hats or Hide All Hats
Post by: Nightinggale on November 02, 2017, 04:40:23 PM
Quote from: Canute on November 02, 2017, 04:30:17 AM
QuoteDamn, she looks baddass  8)

Thats the drama between fashion and safty on the battlefield.
The Orassan maybe looks better, but after a each battle he would need new ear implants, not to speak about brain damage because the hole for the ear is a hole for the bullet too.
Do not overthink small details like that. If you look at some of the games coming out of Japan, the best armor for females usually looks more like a metal bikini than armor, yet it protects better than platemail. Sometimes you just have to enjoy the graphics and not think too much about realism. In this case I actually like the ears because the alternative is hiding them. Add the mod, which adds face protection too and you can no longer tell the race of the pawn. I prefer easy telling of such details over ultra realistic graphics. The screenshot clearly tells me what I want to know while at the same time makes it look good.
Title: Re: [A18] Show Hair with Hats (AlienRaces now supported)
Post by: Kiame on November 03, 2017, 02:45:08 PM
Checkout "Don't Shave Your Head!" - https://ludeon.com/forums/index.php?topic=36597.0

It's a different approach to what this mod doe. Where this mod will support all hairs/hats DSYH will need to add hair style mods to its supported list for no clipping. It's a larger package for a cleaner approach.

I do plan to continue supporting this. I prefer the hair showing up  :D
Title: Re: [A18] Show Hair with Hats (AlienRaces now supported)
Post by: Nightinggale on November 03, 2017, 03:57:26 PM
Quote from: Kiame on November 03, 2017, 02:45:08 PMI do plan to continue supporting this. I prefer the hair showing up  :D
Sounds good. It's not easy to say which mod is best. DSYH looks better if it has the needed files, I'm quite sure it will never get 100% support for all hairstyles in all mods. This mod on the other hand will support all hairstyles, but it might not look as good.

There is also the argument that some people prefer the very same hair at all time, even if it doesn't look perfect. Say you have a woman with long braids and that's how you recognize her. If that's the case, you want the braids clearly visible even if she is wearing a full helmet. It's kind of like the Greek goddess Athene. She is always wearing a helmet and she is the only woman to do so. Often she is wearing one too small, which she has on top of her head like a crown. It's silly and nobody will ever wear a helmet like that, but it serves the purpose just fine, which is to make the viewer instantly aware of who it is.

So yeah, the best mod is.. well it depends on....  ;)
Title: Re: [A18] Show Hair with Hats (AlienRaces now supported)
Post by: Dark_Inquisitor on November 03, 2017, 06:51:27 PM
Quote from: Kiame on November 03, 2017, 02:45:08 PM
Checkout "Don't Shave Your Head!" - https://ludeon.com/forums/index.php?topic=34958.0 (https://ludeon.com/forums/index.php?topic=34958.0)

It's a different approach to what this mod doe. Where this mod will support all hairs/hats DSYH will need to add hair style mods to its supported list for no clipping. It's a larger package for a cleaner approach.

I do plan to continue supporting this. I prefer the hair showing up  :D

Many thanks for recogniton!
Also yeah, you should continue supporting your mod. I think that both mods have slightly different approach to the topic of disappearing hair, and more options is better for everyone, right? :)

Quote from: Nightinggale on November 03, 2017, 03:57:26 PM
I'm quite sure it will never get 100% support for all hairstyles in all mods.

Oh, you think so? Hold my beer! :D
(Honestly though, it's true.)
Title: Re: [A18] Show Hair with Hats (AlienRaces now supported)
Post by: Kiame on November 18, 2017, 12:25:55 AM
Update:
(A18) Fixing a bug where selected hats to hide hair were not being loaded at game start.
Title: Re: [A18] Show Hair with Hats (AlienRaces now supported)
Post by: Critical on December 03, 2017, 07:29:11 AM
Is there a reason why this mod doesn't seem to work with FashionRIMsta? The items added by that mod appear in the exclusion menus in Show Hair but checking/unchecking them doesn't do anything.
Title: Re: [B18] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync]
Post by: Kiame on December 03, 2017, 07:51:48 PM
Adding ModSync.ninja (http://www.modsync.ninja/) support
Title: Re: [B18] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync]
Post by: Kiame on June 28, 2018, 10:58:00 PM
Update for 1.0: https://github.com/KiameV/rimworld-showhair/releases/download/1.0/ShowHair.zip

Use ModSync RW (https://ludeon.com/forums/index.php?topic=41634.0) to know if/when there's an update
Title: Re: [1.0] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: Syrchalis on June 29, 2018, 12:03:16 PM
Thanks, playing 1.0 with every colonist having helmets on is killing me. I actually can tolerate the helmets if you can see the hair, wondering if I'll disable all hats once again or stick with the hat+hair style.
Title: Re: [1.0] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: Bones on June 29, 2018, 01:09:06 PM
Quote from: Syrchalis on June 29, 2018, 12:03:16 PM
Thanks, playing 1.0 with every colonist having helmets on is killing me. I actually can tolerate the helmets if you can see the hair, wondering if I'll disable all hats once again or stick with the hat+hair style.

Hmm.. a mod that makes helmet (excluding hats) appear only when drafted maybe could help..
Title: Re: [1.0] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: Kiame on June 29, 2018, 01:26:31 PM
Hmm i could see if i can add it so helmets are only visible when drafted
Title: Re: [1.0] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: Lucky_D20 on June 29, 2018, 01:36:10 PM
Quote from: tiagocc0 on June 29, 2018, 01:09:06 PM
Quote from: Syrchalis on June 29, 2018, 12:03:16 PM
Thanks, playing 1.0 with every colonist having helmets on is killing me. I actually can tolerate the helmets if you can see the hair, wondering if I'll disable all hats once again or stick with the hat+hair style.

Hmm.. a mod that makes helmet (excluding hats) appear only when drafted maybe could help..
it's called gear up and go. You also have shange dresser doing the same thing.
Title: Re: [1.0] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: Bones on June 29, 2018, 02:58:23 PM
Quote from: Lucky_D20 on June 29, 2018, 01:36:10 PMit's called gear up and go. You also have shange dresser doing the same thing.

Gear up and go makes you actually equip the helmet, I don't use change dresser but I will assume it's the same.
I'm talking about a cosmetic change, non-drafted pawns will remove the helmet graphic.
Title: Re: [1.0] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: Kiame on June 29, 2018, 02:59:07 PM
[1.0] Update:
Added a mod setting to "Show Hats Only When Drafted"

The setting will only be available if "Hide all Hats" is disabled.
Title: Re: [1.0] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: Bones on June 29, 2018, 03:02:40 PM
Quote from: Kiame on June 29, 2018, 01:26:31 PM
Hmm i could see if i can add it so helmets are only visible when drafted

Quote from: Kiame on June 29, 2018, 02:59:07 PM
[1.0] Update:
Added a mod setting to "Show Hats Only When Drafted"

The setting will only be available if "Hide all Hats" is disabled.

Thanks Kiame!!
Title: Re: [1.0] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: Syrchalis on July 07, 2018, 01:03:54 PM
Haha! I found a bug. When using Orassans mod the race has a smaller body size so their bodies are also displayed smaller. The "additional" hair this mod here adds overlaps with their real hair and they have two hairs on top of each other.
(https://i.imgur.com/FCAyfjc.jpg)

I'm rather sure this is related to Alien Races Framework and not Orassans directly, but the value 0.7 for their size is what causes the issue. There is a variable

<alienRace>
  <generalSettings>
    <alienPartGenerator>
      ...
      <customDrawSize>(0.7, 0.7)</customDrawSize>
      <customPortraitDrawSize>( .7,  .7)</customPortraitDrawSize>
    </alienPartGenerator>

which you can probably use if you want to add this compatibility to your mod.

However for me you don't have to add it, I modified the hell out of Orassans anyway, including this custom size BS-ery (I dislike it, not just because of this bug).
Title: Re: [1.0] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: Kiame on July 07, 2018, 03:40:04 PM
Hmm that could be tricky as I'm not an expert in the transpiler area (which is where i think this will need to go) and very well could be a bug with Alien Framework. Have you tried disabling this mod and seeing if the scaling is still off?

I'll have this as something to look into but it will be a low priority tbh
Title: Re: [1.0] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: Syrchalis on July 07, 2018, 04:15:36 PM
As I said, it is low priority. I modified the values anyway so my Orassans are normal scale and then there is no bug of course.
Title: Re: [1.0] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: Syrchalis on July 27, 2018, 08:26:34 AM
I think the latest update broke the mod. Getting a "no target method found" error on startup if I load the mod early in the order. Otherwise I don't get an error but it doesn't work.
Title: Re: [1.0] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: Kiame on July 27, 2018, 01:24:08 PM
Ill take a look tonight
Title: Re: [1.0] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: Kiame on July 28, 2018, 02:53:50 AM
1.0 Update
Works with latest unstable build
Title: Re: [1.0] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: carnifex2005 on July 28, 2018, 03:47:45 AM
Thanks! Confirmed that it works for me.
Title: Re: [1.0] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: whitebunny on July 28, 2018, 08:02:59 PM
Thanks for keeping your mods up to date through all the 1.0 changes, they really make the game much more enjoyable.
Title: Re: [1.0] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: mrbekirr on July 31, 2018, 08:29:05 AM
Dude, the mod is great but there is a bug. When my colonist sleeps, or using the "bed" like medical bed, their hair texture doesnt fit with their head. I hope u get what i said and hope that u can fix it. Have a great day!

Title: Re: [1.0] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: Kiame on July 31, 2018, 09:24:46 AM
I'll take a look tonight
Title: Re: [B19] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: Kiame on August 29, 2018, 10:46:44 PM
B19 Update:

Direct Download: https://github.com/KiameV/rimworld-showhair/releases/download/B19/ShowHair.zip

Steam: http://steamcommunity.com/sharedfiles/filedetails/?id=1180826364
Title: Re: [B19] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: ADastina on August 31, 2018, 12:37:00 AM
Quote from: Kiame on August 29, 2018, 10:46:44 PM
B19 Update:

Direct Download: https://github.com/KiameV/rimworld-showhair/releases/download/B19/ShowHair.zip (https://github.com/KiameV/rimworld-showhair/releases/download/B19/ShowHair.zip)

Steam: http://steamcommunity.com/sharedfiles/filedetails/?id=1180826364 (http://steamcommunity.com/sharedfiles/filedetails/?id=1180826364)

I dont know why but for the moment i can't download it.
Title: Re: [B19] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: Kiame on August 31, 2018, 12:42:34 AM
Looks like github is having difficulties... Should be available again shortly

Edit: Yeah looks like some problems. I was able to get it to dl once then it stopped responding again

Edit 2: Seems to be working again
Title: Re: [B19] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: ADastina on August 31, 2018, 02:37:43 AM
Thanks for the notification :) !
Title: Re: [B19] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: Kiame on October 09, 2018, 02:18:37 AM
For 1.0 there will be a new setting that will hide selected hair styles when there is a hat. This is along side the original hats that hide hair setting. (I want to put it through some more testing)

For anyone that wants to try it out it's available for download here: https://github.com/KiameV/rimworld-showhair/releases/download/1.0/ShowHair.zip -- This is for B19 even though the link says 1.0. This is the link for when 1.0 happens  ;D
Title: Re: [1.0] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: Kiame on October 18, 2018, 12:21:25 AM
Updated for 1.0
https://github.com/KiameV/rimworld-showhair/releases/download/1.0/ShowHair.zip
Title: Re: [1.0] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: Kiame on December 11, 2018, 11:03:53 PM
Update:
Properly scales Childrens' hair from mod Children, school and learning - https://ludeon.com/forums/index.php?topic=16424.0
Title: Re: [1.0] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: Kori on December 12, 2018, 06:23:43 AM
Thank you for the update! :)
Title: Re: [1.0] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: Kiame on December 12, 2018, 09:29:22 PM
Update:
Child hair is now positioned right on their head
Title: Re: [1.0] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: Boxmanbr on February 17, 2019, 12:24:56 AM
This mod has compatibility issues with Children and Pregnancy (https://ludeon.com/forums/index.php?topic=28747.0) mod.

Children wearing hats (hats are only shown when drafted):
(https://vgy.me/HI4x20.png)
(https://vgy.me/ofMfZh.png)

Children with no hats:
(https://vgy.me/5qYAXQ.png)
Title: update the Japanese translation
Post by: Proxyer on July 16, 2019, 10:04:14 AM
Hello, author Kiame Vivacity.
I update the Japanese translation for "Show Hair With Hats or Hide All Hats".  So I sent Pull request from GitHub. Please confirm and merge. Thank you.

- add ShowHair.SelectHairThatWillBeHidden in ShowHair.xml.
Title: Re: [1.0] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: Elldar on November 30, 2019, 05:05:31 AM
This always been one of my favorite mods, sadly doesn't work with Combat Extended or Facial Stuff
Title: Re: [1.0] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: Kiame on December 01, 2019, 12:00:10 AM
Works with CE for me, at least it did a month ago. Facial hair is not and will not be supported.
Title: Re: [1.0] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: Kori on December 05, 2019, 10:29:33 AM
With CE's 1.6 update they have made changes to the headgear layer to allow multiple headgear items and SHWH is only partially working now.
Sometimes the hair is visible and sometimes it's not. :(
Title: Re: [1.0] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: Kiame on December 05, 2019, 09:28:41 PM
Update:
Thanks to LockdownX7 for adding code to hopefully support extra headgear layers. Let's see if this fixes it.

Steam and download (https://github.com/KiameV/rimworld-showhair/releases/download/1.0/ShowHair.zip) have been updated.
Title: Re: [1.0] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: Kori on December 07, 2019, 06:55:26 AM
Thank you for the fix!
Title: Re: [1.1] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: Kiame on March 02, 2020, 01:06:42 AM
Updated for 1.1 - https://github.com/KiameV/rimworld-showhair/releases/download/1.1/ShowHair.zip
Title: Re: [1.1] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: sirdave79 on April 17, 2020, 04:52:58 PM
Hello Kiame good sir.

I use several of your mods, so thanks for all of them.

I've been playing with this mod for months and my most recent playthrough ive been using children school and learning.

I've currently got a fort with 40 adults and 40 kids in it, and I've just noticed that all of my children have beards. I think a game year ago when I started birthing my children they didn't have beards but I didn't keep a save from that point in my game and all my saves now appear to have bearded children (boys and girls).

I don't have many pawn appearance modifying mods, vanilla hair expanded, show pants, this mod. Im using apparello 2 and vanilla armour and apparel expanded but all my pawns are currently wearing cowboy hats which I think are vanilla items. (I haven't seen a duplicate listed in the crafting bills or stockpiles).

In an effort to get rid of the bearded baby girls I removed this mod as a step, not thinking it would make any difference. When I remove this mod from my list all my children don't have beards. When I throw the mod back in the beards come back. Ive had a look in your change dresser and cant find an option. Ive jiggled the settings of this mod and the children school and learning mod and cant get things to work properly.

I've redownloaded the latest release from GitHub again just in case but I think I had the latest version anyway. Im running on rimworld 1.1.

In game whilst writing this I have removed the cowboy hat and ballistic goggles (vanilla apparel/armour) and his colonist icon and picture in rpg inventory gear screen no longer has the beard (when all head gear gone). When I replaced his cowboy hat the beard came back immediately.

Any ideas on what my problem might be ?

I'll probably post over on the children school and learning thread too.

Many thanks
Title: Re: [1.1] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: Kiame on June 24, 2020, 01:53:41 AM
Update:
Added setting to toggle "Only Apply to Colonists"
Title: Re: [1.1] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: Piratax10 on July 01, 2020, 09:37:07 AM
i have a suggestion to the mod that would make it a lot better!

A small preview of the hair on the mod settings next to each hair should be available, some of us have way too many hair mods and it can take a long time to find that single hair that didn't look good with a hat...

Is this suggestion possible?
Title: Re: [1.2] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: Kiame on August 24, 2020, 02:40:55 AM
Update:
Added an mod option to "Hide Hats Indoors"
This will only be shown if "Show Hats Only When Drafted" is disabled. It'll be some extra work for me to get all the corner cases so both can work together.

In addition I've added a secondary option "Update Portrait"
This is a secondary option because it adds some additional computation. The code is efficeint and I'm not that concerned but I'd prefer to play it safe  :)
Title: Re: [1.2] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: RoboGerbil on August 25, 2020, 07:05:05 PM
Ive been having this problem for a while now, and since the update ive finally had a small enough modlist to finally find the problem source. Whenever a pawns body size is less than 1.0, the hairstyles double. One at the 1.0 size and one at the pawns body size. The smaller the pawn, the more noticeable the problem.

(https://i.ibb.co/JkxGwXv/hair-bug1.png)

Here are two examples, the kurin at body size 0.9, and the avali at body size 0.55.
Title: Re: [1.2] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: Kiame on August 26, 2020, 02:15:02 PM
Quote from: RoboGerbil on August 25, 2020, 07:05:05 PM
Ive been having this problem for a while now, and since the update ive finally had a small enough modlist to finally find the problem source. Whenever a pawns body size is less than 1.0, the hairstyles double. One at the 1.0 size and one at the pawns body size. The smaller the pawn, the more noticeable the problem.

Here are two examples, the kurin at body size 0.9, and the avali at body size 0.55.

Looking into this now
Title: Re: [1.2] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: Kiame on August 26, 2020, 04:29:40 PM
Update:

While a game is running, when the options are open, a pawn will be displayed where different hair styles can be viewed while selecting which hairs to hide. (version 1.2.0.2)

Fixing a scaling issue with Huminoid Alien Races (version 1.2.0.3)

Also includes updated Japanese translation. Thanks Proxyer! (version 1.2.0.2)
Title: Re: [1.2] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: Kiame on August 28, 2020, 01:21:58 AM
v1.2.0.4 Update:

Hats can now be put on the pawn in the mod's options. In addition the color of the pawn's hair can be changed to White, Yellow, and Green to allow a better contrast in case the hair color is black.

Fixed an issue where the selected pawn could be downed.

Noticed i did not have Harmony as a dependency defined in About.xml, that's been added.
Title: Re: [1.2] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: gaberad on February 07, 2021, 03:14:18 AM
Hi Kiame, so I've been maintaining the Don't Shave Your Head mod, which is similar to this mod. The thing is, I don't really play Rimworld anymore, so was looking for someone to take over.

I was wondering that since this mod of yours was already doing something similar, that we could merge the mods, and have your mod be the defacto 'show hair with headgear' mod, if you're ok with that?

If you're not familiar with Don't Shave Your Head, instead of just displaying the original hair under the headgear (which sometimes clips through the headgear), Don't Shave Your Head replaces the hair with a custom texture made to fit within the outline of the headgear.

I've already done a proof of concept/test merge, and didn't run into any issues from my tests. I've uploaded the test merge here:

https://github.com/gaberad/rimworld-showhair/tree/no-clip-mode

I've called the new feature 'No Clip Mode', and have put the c# files in their own subfolder. I've added an option to enable/disable it in the Settings. There are only a handful of places where I've touched your existing code, and has been commented with a "//gaberad:...".

Hopefully there are enough comments in there to explain what's going on.

Let me know if you're interested.
Title: Re: [1.2] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: Kiame on February 19, 2021, 12:21:36 AM
Update:
Fixing an issue where the last item in Hide Hats and Hair were cut off
Title: Re: [1.2] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: Alenerel on February 19, 2021, 12:35:37 AM
That was a pretty straightforward indirect...

I have used both mods and I think the dont shave your head is superior since it only hides the hair that makes sense.
Title: Re: [1.2] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: Kiame on February 20, 2021, 05:20:01 PM
It's different approaches. This mod works with all hair mods. Don't Shave Your Head requires work to support any hair mod.
Title: Re: [1.2] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: gaberad on February 20, 2021, 07:55:01 PM
Quote from: Kiame on February 20, 2021, 05:20:01 PM
It's different approaches. This mod works with all hair mods. Don't Shave Your Head requires work to support any hair mod.

yes and no. I have updated it to work with any hair mod (somewhat). If a hair mod isn't explicitly supported, it will choose an appropriate fallback hair to show under the head gear.
Title: Re: [1.3] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: Kiame on July 10, 2021, 06:51:48 PM
Update for 1.3 - Direct Download (https://github.com/KiameV/rimworld-showhair/releases/download/1.3/ShowHair.zip)
Now supports selecting "Hats to Hide" from the mod options
Title: Re: [1.3] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: Kiame on July 15, 2021, 08:15:10 PM
Update: v1.3.0.1 (https://github.com/KiameV/rimworld-showhair/releases/download/1.3/ShowHair.zip)
Fixing an issue where pawns would be not have any hair with Hide All Hats setting enabled.
Title: Re: [1.3] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: Kiame on August 10, 2021, 09:14:53 PM
Update: 1.3.2.0 (https://github.com/KiameV/rimworld-showhair/releases/download/1.3/ShowHair.zip)

Now includes hairs from "Don't Shave Your Head" - https://ludeon.com/forums/index.php?topic=36597.0

A new setting has been added to enable "Don't Shave Your Head" (DSYH) hairs. It is enabled by default.

When enabled, If a hair override is found and is applicable in DSYH then that hair will be used. If no hair is found, the original hair model is used.
Title: Re: [1.3] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: Kiame on September 07, 2021, 11:55:21 AM
Update: 1.3.2.5 (https://github.com/KiameV/rimworld-showhair/releases/download/1.3/ShowHair.zip)
Added a "Set All" and "Set Filtered" option for helmet hide behavior
Title: Re: [1.3] [KV] Show Hair with Hats (AlienRaces now supported) [ModSync RW]
Post by: Alenerel on September 08, 2021, 12:32:01 PM
damn, tynon still hasnt fixed this? tynon wut r u doing