Trickster I am getting RTAB 1.16 from Cogwheel error 1559. Only with 6.3 i like new scan window can you help me out i hate using 6.0.
There is already a patch out for 6.3 wow, nevermind trickster nice work i can finally use it thanks to you and durwulfman!
I'm still having one problem with Minkoff 10.0 does it work with that, i mean like scan window shows the whole battler set rather than on 6.0. it shows 1 zoomed image.
Nevermind again I forgot your demo didn't have this.. If anyone downloads this and is using RTAB/Minkoff so on w/e here is what you need for scan.
I did not make this Durwulfman did.
<>Goes above main
<>Below Battle System
<>Below Scene_title edits.
-Name this Code Minkoff Patch/or Scan Fix for Animated Battlers.
#==============================================================================
# ** Scan_Window for 6.3.
#------------------------------------------------------------------------------
# This window displays information about the enemy being faced in battle.
#==============================================================================
class Scan_Window < Window_Base
# Edit Here
$frames = 4 # Duplicate of frames in Minkoff's Animation Script
$poses = 11 # Duplicate of poses in Minkoff's Animation Script
#--------------------------------------------------------------------------
# * Draw Graphic
# battler : battler
# x : draw spot x-coordinate
# y : draw spot y-coordinate
# width : width of battler image
# height : height of battler image
#--------------------------------------------------------------------------
def draw_battler(battler,x,y,width,height)
bitmap = RPG::Cache.battler(battler.battler_name, battler.battler_hue)
w = bitmap.width
h = bitmap.height
zoom_x = w
zoom_y = h
if (w > width) or (h > height)
zoom_x = width if w > width
zoom_y = height if h > height
end
dest_rect = Rect.new(x, y, zoom_x, zoom_y)
src_rect = Rect.new(0, 0, w/$frames, h/$poses)
self.contents.stretch_blt(dest_rect, bitmap, src_rect, 255)
end
#--------------------------------------------------------------------------
# * End of Class
#--------------------------------------------------------------------------
end
Expand to see the code.
-Name this Code Minkoff Patch/or Scan Fix for Animated Battlers.
[HTML]#==============================================================================
# ** Scan_Window v 2
#------------------------------------------------------------------------------
# This window displays information about the enemy being faced in battle.
#==============================================================================
class Scan_Window < Window_Base
#--------------------------------------------------------------------------
# * Draw Graphic
# battler : battler
# x : draw spot x-coordinate
# y : draw spot y-coordinate
# width : width of battler image
# height : height of battler image
#--------------------------------------------------------------------------
def draw_enemy(battler,x,y,width,height)
bitmap = RPG::Cache.battler(battler.battler_name, battler.battler_hue)
if DEFAULT_ENEMY_ID.include?(battler.id)
cw = bitmap.width
ch = bitmap.height
src_rect = Rect.new(0, 0, cw, ch)
x = x + (cw / 2 - x) if cw / 2 > x
self.contents.blt(x - cw / 2, y - ch, bitmap, src_rect, 255)
else
w = bitmap.width
h = bitmap.height
zoom_x = w
zoom_y = h
if (w > width) or (h > height)
zoom_x = width if w > width
zoom_y = height if h > height
end
dest_rect = Rect.new(x, y, zoom_x, zoom_y)
src_rect = Rect.new(0, 0, w/$frames, h/$poses)
self.contents.stretch_blt(dest_rect, bitmap, src_rect, 255)
end
end
#--------------------------------------------------------------------------
# * End of Class
#--------------------------------------------------------------------------
end[/HTML]