Skip to content

Comments

UI/castle/feature/avatar features#1288

Open
tomipir wants to merge 49 commits intomainfrom
UI/Castle/feature/AvatarFeatures
Open

UI/castle/feature/avatar features#1288
tomipir wants to merge 49 commits intomainfrom
UI/Castle/feature/AvatarFeatures

Conversation

@tomipir
Copy link
Contributor

@tomipir tomipir commented Feb 10, 2026

Updated castle to load avatars and their features and colors from the players clan.

  • Added features in AvatarPartReference to sprite library AvatarSpriteLibrary
  • Added bones for every feature except hair in AvatarPartReference
  • Separated some eye sprites to make eyes and eyebrows work correctly
  • Added shader for spriterenderers in castle that works with existing mask images
  • Updated Avatar_Character_TEST.prefab
    • Added AvatarPartResolver script for each part
    • Added AvatarRig script for getting AvatarPartResolvers of each part
    • Added sprite resolver and library for each part
    • Changed part materials to FeatureMaterial_SR for shader to work
  • Moved texture caches and functions to its own script AvatarMaskUtility
  • Added event for saving avatar
  • Added enum for parts used in avatar rig
  • Added ClanPlayerFetcher to get playerdata of each player in a clan
  • Updated soulhomeload to work with these changes
    • It should reload correctly when relogging or modifying avatar

Issues

  • Animations for some features look questionable
  • Only skin color is saved to server at the moment, other colors should work when they are added to it
  • Hair is missing from Avatar_Character_TEST

- Castle avatars have 2 possible body sprites chosen randomly
- Fixed prefab references
- changed part renderer getter to part resolver getter
- updated clanplayerfetcher
- Now loads the avatarparts from each member of the clan
- Fixed leg sprite
-Updated slice positions for the repositioned sprites in main
- Colors now work in castle, excluding head color
- Moved mask functions and caches to its own script
@tomipir tomipir requested a review from BillTheBeast February 11, 2026 09:40
@tomipir tomipir marked this pull request as ready for review February 11, 2026 09:40
- now just reloads the local players avatar every time you open castle
Nose should now always be skincolor
@BillTheBeast BillTheBeast moved this to Tarkistuksessa in KÄYTTÖLIITTYMÄ Feb 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Tarkistuksessa

Development

Successfully merging this pull request may close these issues.

1 participant