Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
  • 0
Sign in to follow this  
tezu97

How to change the position of Battler Graphic in a Battle?

Question

I want the battler graphic of my actor to be on the left instead of right.

look at the file attached:rmxphelp.bmp

 

basically the actor's battle graphic is on

this side <=and i want it on=> this side

 

 

I know its gonna take a little scripting but i know enough to know what u might be talking about.

please try and help as soon as possible.

Edited by tezu97

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Basically, you will want to get into your scripts and locate Game_Actor. Towards the bottom, you should see def screen_x.

 

  def screen_x
   # Return after calculating x-coordinate by order of members in party
   if self.index != nil
     return self.index * 160 + 80
   else
     return 0
   end
 end

 

The part that says return self.index * 160 + 80 sets the actor's x-coordinate battle position. So if you have just the one actor as in your picture, you could just modify the number after the plus sign. e.g. return self.index * 160 + 200

Share this post


Link to post
Share on other sites
  • 0

xxultimaxx is exactly correct, play with those values to get what you want...however; do you plan on using other battlers for other players? if so you'll need to create a formula that will display each battler in the position you want...

so self.index * 160 + 200 may position the first battler correctly, but the rest of the battlers will be positioned further and further to the left, and some may be drawn off-screen. Just keep that in mind when determining what calculation to use :)

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...