09-28-2006, 01:00 PM
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.
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
Menu_face_script__.txt (Size: 1.11 KB / Downloads: 6)