Resource icon

[Open Assets] Appearance 1.1

What permissions do you give others to modify and/or maintain your submission?
Modify: YES - Maintain: YES - I give permission for my entire submission to be modified by others or used in their own work. I give permission for my entire submission to be maintained by others as well.
Important notice: sprite for sonic 3 in KL_Sonic3Appearance is taken from Tweechie's character pack (see https://mb.srb2.org/addons/tweechies-unrelated-characters-pack-newcomers-s3-k-sonic-2-0.3884/), i received permission to use it. So, while KL_Appearance is reusable, KL_Sonic3Appearance is not. It is just an example

This script allows adding multiple sprite variants for single skin, without taking skin slots. It only changes player sprite, but stats and voice stay same (for adding different voice, you could use the dub script :shitsfree:).

For adding appearance you'll need sprite that has exactly same number of frames as SPR_PLAY sprite of original skin. It is usually same but some characters that have custom animations may need extra frames, otherwise you'll have the "error" sprite. Once you have your sprites done, you can add appearance through lua, it is done in one line of code: APPEAR_AddAppearance("skin", "appearance", "sprt")
Where "skin" - skin name (for example, "sonic"), "appearance" - appearance name, and "sprt" - sprite name. You don't need to freeslot anything, it is done automatically in KL_Appearance. Note that skin name and appearance name are converted to lower case, and sprite name converted to upper case and gets "SPR_" prefix prepended automatically.
See KL_Sonic3Appearance if you need example.

Commands:
appear <skin> [name] - change skin appearance. Use without name argument for list of available appearances, or use "default" as name to return to default appearance.

Idea - legion
Sprites for sonic3 example appearance - tweechie
  • kart0025.gif
    kart0025.gif
    4.1 MB · Views: 709
Author
indev
Downloads
402
Views
2,608
First release
Last update

More resources from indev

Share this resource

Latest updates

  1. Version 1.1

    Signposts now change sprite too. Thanks Adsonic for pointing at this :)

Latest reviews

Welcome to releases.
Upvote 0
Back
Top