Wuzzy/Repixture
6
33
Fork
You've already forked Repixture
10

More skin colors (different hue?) #183

Closed
opened 2024年05月25日 16:59:57 +02:00 by Wuzzy · 3 comments
Owner
Copy link

The current skins colors only differ in brightness but not hue.
One player has complained about that the current colors do not represent them.

I wonder how to add more skin colors without bloating the UI.

The current skins colors only differ in brightness but not hue. One player has complained about that the current colors do not represent them. I wonder how to add more skin colors without bloating the UI.
Wuzzy changed title from (削除) More skin colors (different hue) (削除ここまで) to More skin colors (different hue?) 2024年05月27日 13:04:14 +02:00
Author
Owner
Copy link

shaft wrote:

https://en.wikipedia.org/wiki/Von_Luschan's_chromatic_scale#/media/File:Imprecise-Biasutti-map.jpg

https://upload.wikimedia.org/wikipedia/commons/3/3c/Felix_von_Luschan_Skin_Color_chart.svg

Here's a reference of skin color distribution. As you can see most countries' native skin colors in Europe and Asia are below 14 on the scale. Just pick some (10 like you already have is probably enough, just take every fifth) and use an imagebutton and [fill:

Bumping from 10 to 14 skins sounds OK. I wonder if I could get away by just adding a few lighter levels than the current brightest one without changing the hue in order to keep the symmetry. Another option would be to change the hue of ALL skins. Meh.

[fill won't work, all the skin colors are stored textures and NOT auto-generated (this is by design as this allows maximum freedom for texture pack authors). But drawing new textures is easy. The hard part is picking good colors.

Currently, the 10 skin colors have been carefully chosen to have an equal "brightness" difference from each other (I don't remember how exactly I did it). I do not wish to break the symmetry.

shaft wrote: > https://en.wikipedia.org/wiki/Von_Luschan's_chromatic_scale#/media/File:Imprecise-Biasutti-map.jpg > > https://upload.wikimedia.org/wikipedia/commons/3/3c/Felix_von_Luschan_Skin_Color_chart.svg > > Here's a reference of skin color distribution. As you can see most countries' native skin colors in Europe and Asia are below 14 on the scale. Just pick some (10 like you already have is probably enough, just take every fifth) and use an imagebutton and [fill: Bumping from 10 to 14 skins sounds OK. I wonder if I could get away by just adding a few lighter levels than the current brightest one without changing the hue in order to keep the symmetry. Another option would be to change the hue of ALL skins. Meh. `[fill` won't work, all the skin colors are stored textures and NOT auto-generated (this is by design as this allows maximum freedom for texture pack authors). But drawing new textures is easy. The hard part is picking good colors. Currently, the 10 skin colors have been carefully chosen to have an equal "brightness" difference from each other (I don't remember how exactly I did it). I do not wish to break the symmetry.
Wuzzy added this to the 3.20.0 milestone 2026年05月20日 21:49:57 +02:00
Author
Owner
Copy link

This issue is now mostly completed. Two new hues and three new lightness levels have been added.

There is now a total of 42 skin colors.

The new skin colors need to be applied to villagers as well.

This issue is now mostly completed. Two new hues and three new lightness levels have been added. There is now a total of 42 skin colors. The new skin colors need to be applied to villagers as well.
Author
Owner
Copy link

Done! Newly spawned villagers will now use rp_player_skins to grab a base skin at random. Villagers now support all skin colors, hairs, eyes and beards that players also have.

Closing.

Done! Newly spawned villagers will now use `rp_player_skins` to grab a base skin at random. Villagers now support all skin colors, hairs, eyes and beards that players also have. Closing.
Sign in to join this conversation.
No Branch/Tag specified
master
new_weather_types
clock
sponge
cushion
vase
pages
giant_crops
duckweed
new_hairs_new_skin_selection
new_hairs
multi_flower_2
dirt_redo
craft_compat
gold_coin_upgrade
gold_coin
new_traders
item_frame_flat
silktouch_paint
silktouch
newtrees
new_weather
creative_per_player
scrollbar_style
village_nextgen_thread
village_nextgen
new_website
tnt_faster
fixbrush
roots
amber_slime
fir
path_fixes
villager_pathfind_cost
fence_gate
slab_up
biome_skies
pencil_showlabel
moonflower_seed
unicode_signs_refactor_newsigns_sideways
unicode_signs
spyglass
craftcolor
villager_pathfind
mobs_new2
paint_book
moon_phases
newmusic
weblate_test
paint4dir
whistle
buoy
pot
4x4grass
village_vmanip
seagrass
3.20.0
3.19.0
3.18.2
3.18.1
3.18.0
3.17.3
3.17.2
3.17.1
3.17.0
3.16.0
3.15.1
3.15.0
3.14.0
3.13.1
3.13.0
3.12.1
3.12.0
3.11.0
3.10.0
3.9.0
3.8.0
3.7.0
3.6.3
3.6.2
3.6.1
3.6.0
3.5.0
3.4.1
3.4.0
3.3.0
3.2.1
3.2.0
3.1.1
3.1.0
3.0.1
3.0.0
2.1.0
2.0.0
1.5.3
1.5.2
1.5.1
1.5.0
1.4.2
1.4.1
1.4.0
v1.3.6
v1.3.5
v1.3.4
v1.3.3
v1.3.2
v1.3.1
v1.3.0
v1.2.0
v1.1.3
v1.1.2
v1.1.1
v1.1.0
v1.0.0
v0.6.0
v0.5.0
v0.4.4
v0.4.3
v0.4.2
v0.4.1
v0.4.0
v0.3.2
v0.3.1
v0.3.0
v0.2.0
v0.1.1
v0.1.0
Labels
Clear labels
Category: Discussion
For discussions about the game
Category: Entities
About entities or objects (including player)
Category: Gameplay
About gameplay mechanics in general
Category: Graphics
About graphics
Category: GUI and HUD
Anything related to the graphical user interface or heads-up display
Category: Items and Tools
About items or tools, but not nodes
Category: Mapgen
About the map generator
Category: Nodes
About nodes
Category: Sounds
About sounds
Category: Translation
About translations
Category: Website
Related to the Repixture website
Kind
Balancing
About game balance
Kind
Bug
When something doesn't work right
Kind
Documentation
About documentation, both for devs and players
Kind
Feature
Ideas, feature requests, enhancements, etc.
Kind
Maintenance
Code quality, technical improvements, refactoring, etc.
Kind
Performance
About making the game run fast
Priority
CRITICAL
Highest priority level. For crashes, major data loss, etc.
Priority
High
The priority is high
Priority
Low
The priority is low
Priority
Medium
The priority is medium
Reviewed
Decision needed
When the issue still needs a decision on what to do
Reviewed
Duplicate
When the issue existed already
Reviewed
Invalid
When the issue was not valid
Reviewed
Rejected
When something that was proposed was rejected
Status
Needs engine change
When it can only be solved after a Luanti bugfix/improvement
Status
Needs testing
If the task is believed to be done, but needs testing
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Wuzzy/Repixture#183
Reference in a new issue
Wuzzy/Repixture
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?