Main Menu
  • Welcome to The RPG Maker Resource Kit.

Portrait in main menu

Started by Edwin VanCleef, December 17, 2006, 02:39:33 PM

0 Members and 1 Guest are viewing this topic.

Edwin VanCleef

Is there a script to display character portraits in the main menu?


The new generation will go to the distance... Will the distance between us smallen?

:)

yes, there should be some CMS's around here in this forum, most of them do this function.
Watch out for: HaloOfTheSun

Edwin VanCleef



The new generation will go to the distance... Will the distance between us smallen?

Sthrattoff

But if you still wanted to use old menu, here's the way:

This little script will do:

#==============================================
# Potrait / Face
#==============================================

class Window_Base < Window

  def draw_actor_face(actor, x, y)
    bitmap = RPG::Cache.picture(actor.name)
    self.contents.blt(x, y, bitmap, Rect.new(0, 0, 72, 72)
  end

end


Go to Scene_Menu, find and change this one:
draw_actor_graphics(...)

With this one:
draw_actor_face(actor, 10,  y + 10)

Additional note is, import the file to Graphics/Picture and the file name must EXACTLY SAME to the hero's name on database.
Symphony of Alderra : Memoirs of Life

Storyline : 200% (Overimaginatives)
Scripting : 100% (At last...)
Eventing  : 100%
Mapping   : 0.125%

Irgna

Quote from: Sthrattoff on December 28, 2006, 03:09:02 PM

Go to Scene_Menu, find and change this one:
draw_actor_graphics(...)


I can't find this line... I'm a PKE user, could that be why?
PROPERTY OF TEABAG!!! ALL HAIL TEABAG!!!

Blizzard

Should be:

draw_actor_graphic(...)

Type just

draw_actor_graphic

and you will find them.
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!

Irgna

Nope, alot of the lines didn't get translated in my version of the PKE, so I think it's one of them. Do official version users have these kinds of problems?
PROPERTY OF TEABAG!!! ALL HAIL TEABAG!!!