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 - SonicTHI

#1
Wanted something like this for quite some time and with recently spending a lot of time adding features to Save our Ship this isnt hard to do at all:
https://www.nexusmods.com/rimworld/mods/350

I think this is a good middle ground between the current vanilla and just outright removing the values. It brings down replacing parts value by about that of a normal body part.
Let me know if you find any bugs or have some constructive feedback on this.
#2
Releases / Re: [1.1] [KV] Change Mirror [ModSync RW]
March 20, 2020, 03:01:13 PM
So about a year ago i posted on this mods github, havent really played since then but got back into it now and since you havent checked that i thought i d try here.
There is an issue with share hair styles option - even with it enabled, a female pawn with mop hair (tagged MaleUsually) will get her hair reset to the first female hair in the menu. Most likely a problem within SelectionWidgetDTO.

The second thing i wanted is to have another row of presets. Since your code is very clear this is real easy to do.
Just up the ColorPresetsDTO.ColorPresets to 10 and make some changes in WidgetUtil:


            if (presetsDto != null)
            {
                GUI.BeginGroup(new Rect(5, colorPickerRect.yMax, (ColorPreset.width + 4) * presetsDto.Count, 2*ColorPreset.height + 10));
                float l = 0;
                float k = 0;
                for (int i = 0; i < presetsDto.Count; ++i)
                {
                    GUI.color = presetsDto[i];

                    l += ColorPreset.width + 4;
                    //NewRow
                    if (i == 5)
                    {
                        k = ColorPreset.height + 5;
                        l = ColorPreset.width + 4;
                    }

                    Rect presetRect = new Rect(l, k, ColorPreset.width, ColorPreset.height);

Could also do it with mod or div if you ever want to add a rows option.