Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - gaberad

#1
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.
#2
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.
#3
Releases / Re: [1.0] Don't Shave Your Head! - v1.0.0
January 17, 2021, 03:24:55 AM
I've uploaded a new version: 1.2.1 https://github.com/gaberad/DontShaveYourHead/releases/latest

This includes Naiyasfury's textures (thanks!), and I decided I'd make some minor changes to the code while I was at it.

It worked as expected in my limited testing, but as always let me know if you run into any issues.

Just a reminder to check the mod settings and make sure that Use Fallback Texture is turned on. Otherwise, if the hair doesn't have a custom texture, that hair style will just default back to how rimworld normally works.
#4
Releases / Re: [1.0] Don't Shave Your Head! - v1.0.0
January 16, 2021, 05:17:03 PM
@Naiyasfury
Ah ok I see what happened. There was a git merge issue last time, and I uploaded a fixed file, but didn't create a new release. So the release you downloaded was still referencing the old file, and why you had the corrupted LoadFolders.xml file.

That won't effect your save file. All the LoadFolders.xml file does is tell the mod where to look for certain files. So yeah, what you did by deleting the <<<HEAD line was the correct fix.
#5
Releases / Re: [1.0] Don't Shave Your Head! - v1.0.0
January 16, 2021, 07:02:54 AM
I just checked and those "<<<<HEAD" lines are git merge markings, something must have messed up when I merged last time. I'll look through and clean up the files. It shouldn't screw anything up with your save file.

I'll look into the other issues from "recent" posts. I'll update everything (harmony etc) and see if it's still working on my end.

I might actually see if Kiame wants to try and merge this into their 'Show Hair with Hats' mod. Like I mentioned last time, I'm not really playing rimworld anymore, so it might be better if someone more active looks after this mod.
#6
Releases / Re: [1.0] Don't Shave Your Head! - v1.0.0
October 02, 2020, 07:55:10 PM
that error should be fixed now.

I'm not really playing rimworld anymore, so if I ever pick it up again I'll add Naiyasfury's hair in an update, but it's easy enough to add them manually yourself.
#7
Releases / Re: [1.0] Don't Shave Your Head! - v1.0.0
September 26, 2020, 12:19:08 AM
1.2 update
https://github.com/gaberad/DontShaveYourHead

doesn't include Naiyasfury's hair, but I can put out another update later.

let me know if you run into any issues.
#8
Releases / Re: [1.0] Don't Shave Your Head! - v1.0.0
September 23, 2020, 05:25:22 AM
I'm in the process of updating this for 1.2, hopefully will have an update in the next couple of days.

@Naiyasfury, I can include your textures in the update, if you're ok with that?

@Tenshi~Akari, it was a while ago, but I see that error now. I'll try and figure out what's going on.
#9
Releases / Re: [1.0] Don't Shave Your Head! - v1.0.0
April 06, 2020, 04:59:33 AM
I've pushed out an update that's added some options/settings:

Use Fallback Texture: if you want to use the fallback textures or not

Log Fallback: logs when a fallback texture is used to the debug log


@Ilya can you update, turn on both options, then copy/paste the debug log messages (they should start with "DSYH"), as well as the name of the pawns with the unloaded texture?


https://github.com/gaberad/DontShaveYourHead/tree/fallback-texture
#10
Releases / Re: [1.0] Don't Shave Your Head! - v1.0.0
April 05, 2020, 05:41:00 AM
Hmm, it looks like it's trying to load a hair texture that doesn't exist.

If they're still hanging around your colony (or you've got a save with them still there), can you open up debug mode and recruit them, then take off their helmet? I need to see what hairstyle it is underneath.

Otherwise, I'll look at making an update which logs some stuff so I can figure out what's going on.
#11
Releases / Re: [1.0] Don't Shave Your Head! - v1.0.0
March 30, 2020, 06:58:27 PM
It will be possible but needs a small update to Gradient Hair's api. I've asked the author for the update, so if/when they do it i can make this compatible.
#12
Releases / Re: [1.0] Don't Shave Your Head! - v1.0.0
March 29, 2020, 02:23:33 AM
I'll do some tests and see if it's possible.
#13
Releases / Re: [1.0] Don't Shave Your Head! - v1.0.0
March 27, 2020, 04:06:56 AM
Ok, so, the experimental branch didn't work out, hair styles are too varied to get it working consistently.

So instead I decided to go for a 'fallback texture', where if the current hair style doesn't have a custom texture, it will choose a semi-random default custom texture, based on it's hair length (so short hair chooses a short custom texture etc).

It figures out the length of hair based on the lowest pixel. Hair styles with built-in beards probably won't work so well.

for both 1.0 and 1.1

https://github.com/gaberad/DontShaveYourHead/tree/fallback-texture
#14
Releases / Re: [1.0] Don't Shave Your Head! - v1.0.0
March 21, 2020, 05:11:54 AM
I've pushed out the update for the 1.0 fix, and made the mod into one of those combined 1.0/1.1 mods.

#15
Releases / Re: [1.0] Don't Shave Your Head! - v1.0.0
March 19, 2020, 02:20:14 AM
yeah I'll take a look at 1.0 this weekend.