Skip to content

Custom Stickers

SA64 edited this page May 3, 2025 · 4 revisions

Custom stickers

P-Slice similarly to V-Slice has support for transition stickers. Those will appear under one of those condition:

  • Exiting a song
  • Ending a song with botplay
  • Ending a song without getting a highscore
  • Using sticker tester

Sticker packs

There are two editable parameters determinating what stickers will be displayed:

  • STICKER_SET determinating which folder/set to use
  • STICKER_PACK determinating which packed defined by the sticker set above

The path to the sticker set is

(/asstes/shared/ or /mods/MOD_NAME/) images/transitionSwag/STICKER_SET In it there should be:

  • stickers.json file
  • sticker images: *.png

Using custom stickers

setPropertyFromClass("mikolka.vslice.StickerSubState", "STICKER_SET", "sticker-set-1")

sets "STICKER_SET"

setPropertyFromClass("mikolka.vslice.StickerSubState", "STICKER_PACK", "all")

Sets "STICKER_PACK"

changeTransStickers("sticker-set-1","all")

Sets both "STICKER_SET" and "STICKER_PACK". Can set either value to "null" to not change the value.

Examples

STICKER_SET

"all" "parents"

STICKER_PACK

"sticker-set-1" Invalid pack

stickers.json format

{
  // Name of this SET. I recommend to name it the same as the directory this file is in
  "name": "stickers-set-1", 
  // Not used, but here's the free clout field
  "artist": "PhantomArcade3K",
  //The list of sticker groups. This helps to better organise your stickers (ex. assigning to 'bf' sticker images 'bfSticker1.png','bfSticker2.png','bfSticker3.png')
  "stickers": {
    "bf": ["bfSticker1", "bfSticker2", "bfSticker3"],
    "dad": ["dadSticker1", "dadSticker2", "dadSticker3"],
    "pico": ["picoSticker1", "picoSticker2", "picoSticker3"],
    "mom": ["momSticker1", "momSticker2", "momSticker3"],
    "monster": ["monsterSticker1", "monsterSticker2", "monsterSticker3"],
    "gf": ["gfSticker1", "gfSticker2", "gfSticker3"]
  },
  // The list of STICKER_PACKs. Here you can group characters to create a PACK to be used on a sticker transition.
  "stickerPacks": {
    "bf-gf": ["bf", "gf"],
    "parents": ["dad", "mom"],
    "all": ["bf", "gf", "dad", "mom", "monster", "pico"]
  }
}

Clone this wiki locally