02-12-2010, 08:07 AM
Instructions for how to change the sideview battle into the classic first-person-view one.
Quote:You can do it with the proper configuration of Animated Battlers and some edits to the code.
Let's start with the enemies:
set DEFAULT_ENEMY = true
fill DEFAULT_ENEMY_ID with the ids of all your enemies
set MNK_STATIONARY_ENEMIES = true
go to "CTB by Charlie - Spriteset_Battle" and edit line 14 deleting "*1.5"
Then the actors:
set DEFAULT_ACTOR = true
fill DEFAULT_ACTOR_ID with the ids of all your actors
set MNK_STATIONARY_ACTORS = true
go to " 4 - Misc Code" and edit lines 205, changing it into "def screen_x_disabled", and 225, changing it into "def screen_y_disabled"
Now your actors will be displayed on the bottom of the screen like in the default BS. They still won't be aligned with the stats in the battle status, but depending on which style you want to use, there are differences in how to proceed.
For style 2, paste this after " 5 - RTAB Patch"
Code:class Game_Actor < Game_Battler
#--------------------------------------------------------------------------
# * 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 % 4) * 127 + STATUS_WINDOW_X + 64
else
return 0
end
end
#--------------------------------------------------------------------------
# * Get Battle Screen Y-Coordinate
#--------------------------------------------------------------------------
def screen_y
if self.index != nil
y = (($game_party.actors.size>4)?(480-128):(480-128+48)) + 8
return (self.index / 4) * 47 + y + 24
else
return 0
end
end
#--------------------------------------------------------------------------
# * Get Battle Screen Z-Coordinate
#--------------------------------------------------------------------------
def screen_z
if self.index != nil
return self.index
else
return 0
end
end
end