Change menu character sprites to Pictures like in rpg maker 2003
#1
This is a locked, single-post thread from Creation Asylum. Archived here to prevent its loss.
No support is given. If you are the owner of the thread, please contact administration.


Just insert the script in the attatchment and add a folder called Faces to your characters folder (Under Graphics). Add pictures with the name of the character's ID. So say aluxes is 001-Fighter01 You will want to name the picture 001-Fighter01 . Enjoy.

Ok first off you need to make a new folder In your character's folder, Call it Faces. The Faces need to be named after the character id so say Aluxes he's 001-Warrior01.
Place the faces into that folder. Then add this code and Enjoy!.

Put this in a new script above main:

Code:
def draw_actor_face(actor, x, y)
  face = RPG::Cache.character("Faces/" + actor.character_name, actor.character_hue)
  fw = face.width
  fh = face.height
  src_rect = Rect.new(0, 0, fw, fh)
  self.contents.blt(x - fw / 23, y - fh, face, src_rect)
end

Ok now go to Window_MenuStatus Go to line 28 or where it says draw_actor_graphic And change the code with the following:

draw_actor_face(actor, x - 60, y + 80)

Make note that the x- and y+ are dummy values you can change the Location of where the picture is shown to your likeing.

Ok now go to Window_status Go to line 23 or where it says draw_actor_graphic And change the code with the following:

draw_actor_face(@actor, 10, 112)

The 10, 112) are also dummy values you can change the Location of where the picture is shown to your likeing.

Now start your game and Enjoy.

I also Fixed the rtf file it should now be a txt file. Thanks seph


.txt   Menu_face_script__.txt (Size: 1.11 KB / Downloads: 6)
}


Possibly Related Threads…
Thread Author Replies Views Last Post
  Change character script jaigai 0 3,187 11-19-2006, 01:00 PM
Last Post: jaigai
  GameOver Menu V.2 xLeD 0 2,490 10-03-2006, 01:00 PM
Last Post: xLeD
  Slipknot's adorable menu Ordaz 0 2,456 09-09-2006, 01:00 PM
Last Post: Ordaz
  Pre-Title menu Tony 0 2,544 08-04-2006, 01:00 PM
Last Post: Tony
  Character Creator Leon Westbrooke 0 3,011 08-02-2006, 01:00 PM
Last Post: Leon Westbrooke
  Change Color of The diferent Status Script MASTERLOKI 0 2,630 07-18-2006, 01:00 PM
Last Post: MASTERLOKI
  Tasty custom menu screen with gradients tktarr 0 2,864 07-05-2006, 01:00 PM
Last Post: tktarr
  Change Cursor with differend commands in Battle Divinity 0 2,606 06-22-2006, 01:00 PM
Last Post: Divinity
  Addonscript for FFX2 Menu Akxiv 0 2,742 06-17-2006, 01:00 PM
Last Post: Akxiv
  Change Level/Exp/Status name ryujijitei 0 2,390 04-29-2006, 01:00 PM
Last Post: ryujijitei



Users browsing this thread: 1 Guest(s)