RMRK is retiring.
Server is paid up for the rest of 2026, but the forum may go after that. See here for more information. Please archive or save anything you would like to keep before 2027.
Main Menu

Help on Non-Animated Side View Turn Battle System(resolved)

Started by magic2345, March 31, 2007, 12:15:44 PM

0 Members and 1 Guest are viewing this topic.

magic2345

I found this:

[spoiler]
Ok! Let's begin.
At the bottom Game_Actor in the script editor are these things:

Code:
Get Battle Screen X-Coordinate

and

Code:
Get Battle Screen Y-Coordinate

Copy the Get Battle Screen X-Coordinate section, and paste it over the Get Battle Screen Y-Coordinate section.

Now comes the important part.

Where is says: return self.index * 160 + 80, replace the 160 + 80 with
Code:
40 + 500

and where it has these numbers in the Get Battle Screen Y-Coordinate section, replace them with
Code:
40 + 180

This system looks best with the character facing left graphic.

[/spoiler]

I don't get it. I didn't find any (insert number here) + (insert number here) in the get battle screen Y-coordinate.

Can someone help?
Game I'm Working on:
-ADVENT-
Progress:
Story: 96%
Maps: 4%
Characters: 70%

magic2345

Game I'm Working on:
-ADVENT-
Progress:
Story: 96%
Maps: 4%
Characters: 70%

Kokowam

Ohh... I did exactly what it said and it looks bad XD Is there any other part to it? Anyways, here's what needs to be done:

Destroy your lines of Get Battle X and Get Battle Y. Add this:
  #--------------------------------------------------------------------------
  # * Get Battle Screen X-Coordinate
  #--------------------------------------------------------------------------
  def screen_x
    # Return after calculating x-coordinate by order of members in party
    if self.index != nil
      return self.index * 40 + 50
    else
      return 0
    end
  end
  #--------------------------------------------------------------------------
  # * Get Battle Screen Y-Coordinate
  #--------------------------------------------------------------------------
  def screen_y
    if self.index != nil
      return self.index * 40 + 180
    else
      return 0
    end
  end


You needed to repaste everything from X-Coordinate (except the def screen_x) over what was in screen_y.

magic2345

That didn't work, it just does the same thing but the actors was on the left side....
Game I'm Working on:
-ADVENT-
Progress:
Story: 96%
Maps: 4%
Characters: 70%

Kokowam

I just answered your question. I don't really know what your full intentions were, so I am sorry. Plus... I'm script noob.

magic2345

Oh....so that's what I was supposed to do....I'll add resolved...
Game I'm Working on:
-ADVENT-
Progress:
Story: 96%
Maps: 4%
Characters: 70%