Hugedarkness 0 Report post Posted March 6, 2008 i've started a new project and one default thing is driving me crazy: the thing that in default you see the actors char set in the manu and in the status window. how do i change it to show the battler graphic or an other picture instead? Share this post Link to post Share on other sites
0 Polraudio 122 Report post Posted March 6, 2008 I just tried everything i know and cant figure it out. Marked might know how, i know leon can help if i figure it out i will let you know Share this post Link to post Share on other sites
0 Leon 55 Report post Posted March 6, 2008 You need a code snippet written that will draw the actor's battler instead of the sprite. Let me see what i can do. Add this into your script manager in any new script: #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # Window_Base #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ class Window_Base def draw_actor_battler(actor, x, y) bitmap = RPG::Cache.battler(@actor.battler_name, @actor.battler_hue) self.contents.blt(0, 0, bitmap, Rect.new(0, 0, 200, 200)) end end Then, in the status window (Window_Status) replace: draw_actor_graphic(@actor, 40, 112) with draw_actor_battler(@actor, 40, 112) Share this post Link to post Share on other sites
0 Hugedarkness 0 Report post Posted March 6, 2008 tnx helps a lot! Share this post Link to post Share on other sites
0 Polraudio 122 Report post Posted March 6, 2008 Hey thanks Leon you helped me to Share this post Link to post Share on other sites
0 Leon 55 Report post Posted March 6, 2008 Never a problem. This was a very easy edit. Share this post Link to post Share on other sites
i've started a new project and one default thing is driving me crazy: the thing that in default you see the actors char set in the manu and in the status window. how do i change it to show the battler graphic or an other picture instead?
Share this post
Link to post
Share on other sites