Skip to content

Custom Characters

Mikolka edited this page Nov 6, 2024 · 1 revision

How to add custom characters

Playable character format

Format for the custom characters is the same as here with the following notes:

  • ownedChars isn't actually used by P-Slice (instead using freeplayCharacter value from metadata)
  • There is no character unlocking system, which means unlocked is also ignored.

Once you obtain this file, put it in mods/your-mod/registry/players/char-name.json

Freeplay style format

There's unfortunately no official documentation available, so feel free to use one of existing styles as a base for your new one.

Once done, put it in mods/your-mod/registry/ui/freeplay/styles/char-name.json

Adding songs for custom character

To add a song for your character, set it's name in the metadata file for that song. See here for more information about song's metadata.

Don't forget to add a pixel icon for your character

If everything was done correctly, there should be an arrow in the mod selector to go to your mod's character selection screen.

Clone this wiki locally