RMRK is retiring.
Server is paid up for the rest of 2026, but the forum may go after that. See here for more information. Please archive or save anything you would like to keep before 2027.
Main Menu
  • Welcome to The RPG Maker Resource Kit.

[RESOLVED] Character without party

Started by &&&&&&&&&&&&&, January 30, 2007, 06:52:28 PM

0 Members and 1 Guest are viewing this topic.

&&&&&&&&&&&&&

Hello, my name is Boe, and I was wondering if there is a script that makes a walking animation for you, even if there is nobody in the party.

Example - Pokemon, you see the person walk around on the world map, even though you don't have a party.
&&&&&&&&&&&&&&&&

Blizzard

BOE, you silly man. You could have PMed me about that. ::)

Open The Game_Player script and find def refresh.

  def refresh
    if $game_party.actors.size == 0
      @character_name = ""
      @character_hue = 0
      return
    end
    actor = $game_party.actors[0]
    @character_name = actor.character_name
    @character_hue = actor.character_hue
    @opacity = 255
    @blend_type = 0
  end
 


Replace it with:

  def refresh
    @character_name = "NAME"
    @character_hue = 0
    @opacity = 255
    @blend_type = 0
  end
 


Change the NAME to the filename of the spriteset you want to use. Hue is... well, the hue... Change it to any value between 0 and 360 if you need a hued charset. Leave the other two as they are.
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.



Get DropBox, the best free file syncing service there is!

&&&&&&&&&&&&&

&&&&&&&&&&&&&&&&

kathis

You should change the title of your topic and add  (resolved) to it
Project
New project. The other dimention DND
RPG makers challenge http://rmrk.net/index.php/topic,13503.0.html