• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Akari, Selene, Mint, Solana - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Change graphic of the hero

  • 28
    Posts
    14
    Years
    • Seen Nov 16, 2016
    Hello, I was wondering how do I change the graph of the hero, for a short period of time. I already tried the normal way, but did not change the graph's hero..
     
    If you set $Trainer.outfit to a number, Essentials will look for the player graphics with that number suffixed to the end.

    For example, it usually uses "trchar000.png" and "boy_run.png" for Red's walking and running sprites. When you set $Trainer.outfit to 2, it will look for "trchar000_2.png" and "boy_run_2.png" (and then fall back to the default names if it can't find those).

    I use this method in my game to make sleepwear for the player character.
     
    If you set $Trainer.outfit to a number, Essentials will look for the player graphics with that number suffixed to the end.

    For example, it usually uses "trchar000.png" and "boy_run.png" for Red's walking and running sprites. When you set $Trainer.outfit to 2, it will look for "trchar000_2.png" and "boy_run_2.png" (and then fall back to the default names if it can't find those).

    I use this method in my game to make sleepwear for the player character.
    But is there any way I temporarily change the graphic Player?, I want to change his clothes in the middle of the game..
     
    That's exactly what changing $Trainer.outfit does. It changes the player's graphic. Try it and see.
     
    Back
    Top