07-18-2016, 05:14 AM
Yep. As in a new script below your menu AND battlesystem scripts, just so the Xail version of the draw_actor_name takes over.
To be specific, just paste THIS below it all:
The original version has only three parameters. Mine has four, but it assumes that the color value defaults to the normal text color.
Hrm. Oddly, I wonder why the battlesystem script conflicts here. It is as if something else may be rewriting that method. But that would be a separate thread/topic.
EDIT: Atoa's system......
You mentioned that. So I took a look at Atoa's system.
Paste THIS below everything:
It combines features from both. If you are in battle or have a custom system built into Atoa's system turned on, it uses Atoa based values to change the font. Otherwise, it draws normally (or as normal as the XAIL system goes).
To be specific, just paste THIS below it all:
Code:
#==============================================================================
# ** Window_Base
#------------------------------------------------------------------------------
# This class is for all in-game windows.
#==============================================================================
class Window_Base < Window
#--------------------------------------------------------------------------
# * Draw Name
# actor : actor
# x : draw spot x-coordinate
# y : draw spot y-coordinate
# color : font color
#--------------------------------------------------------------------------
def draw_actor_name(actor, x, y, color=normal_color)
self.contents.font.color = color
self.contents.draw_text(x, y, 120, 32, actor.name)
end
end
The original version has only three parameters. Mine has four, but it assumes that the color value defaults to the normal text color.
Hrm. Oddly, I wonder why the battlesystem script conflicts here. It is as if something else may be rewriting that method. But that would be a separate thread/topic.
EDIT: Atoa's system......
You mentioned that. So I took a look at Atoa's system.
Paste THIS below everything:
Code:
#==============================================================================
# ** Window_Base
#------------------------------------------------------------------------------
# This class is for all in-game windows.
#==============================================================================
class Window_Base < Window
#--------------------------------------------------------------------------
# * Draw Name
# actor : actor
# x : draw spot x-coordinate
# y : draw spot y-coordinate
# color : font color
#--------------------------------------------------------------------------
def draw_actor_name(actor, x, y, color=normal_color)
self.contents.font.color = color
if $game_temp.in_battle or Text_Format_in_Menu
self.contents.font.name = Name_Config[2]
self.contents.font.size = Name_Config[3]
self.contents.font.bold = Name_Config[4]
self.contents.draw_text(x, y, 120, 32, actor.name)
set_default_font
else
self.contents.draw_text(x, y, 120, 32, actor.name)
end
end
It combines features from both. If you are in battle or have a custom system built into Atoa's system turned on, it uses Atoa based values to change the font. Otherwise, it draws normally (or as normal as the XAIL system goes).