Blackmorning Scripts

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,592
Reaction score
6,522
First Language
Indonesian
Primarily Uses
RMVXA
Uh, it's funny. The line 1172 is exactly handled if the @item_color is nil. Although I never see someone used (@item_color) == nil and if it actually works. How about changed it into @item_color.nil?
 

SakinWea

Warper
Member
Joined
Dec 17, 2017
Messages
4
Reaction score
1
First Language
Español
Primarily Uses
RMVXA
Hi mate, i delete all this section...

#--------------------------------------------------------------------------
# * Overwrite: Draw Text with Control Characters
#--------------------------------------------------------------------------
def draw_text_ex(x, y, text)
reset_font_settings
change_color(@item_color) unless @item_color == nil
text = convert_escape_characters(text)
pos = {:x => x, :y => y, :new_x => x, :height => calc_line_height(text)}
process_character(text.slice!(0, 1), text, pos) until text.empty?
end

and it worl but no change the color, I think isnt matter for my game but you know if thsi gonna make future problems for my game?
 

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,592
Reaction score
6,522
First Language
Indonesian
Primarily Uses
RMVXA
Hi mate, i delete all this section...

#--------------------------------------------------------------------------
# * Overwrite: Draw Text with Control Characters
#--------------------------------------------------------------------------
def draw_text_ex(x, y, text)
reset_font_settings
change_color(@item_color) unless @item_color == nil
text = convert_escape_characters(text)
pos = {:x => x, :y => y, :new_x => x, :height => calc_line_height(text)}
process_character(text.slice!(0, 1), text, pos) until text.empty?
end

and it worl but no change the color, I think isnt matter for my game but you know if thsi gonna make future problems for my game?
Well, of course it won't change the color. You deleted the important part. And no, I don't think it will cause future problem. Afaik, he overwrote the default function only to insert change color function. If you deleted that part, it would be back to default RM draw_text_ex function. Have you tried my suggestion though?
 

SakinWea

Warper
Member
Joined
Dec 17, 2017
Messages
4
Reaction score
1
First Language
Español
Primarily Uses
RMVXA
Yes i trie but give another problem, i try this:
def draw_text_ex(x, y, text)
reset_font_settings
change_color(@item_color) unless @item_color.nil
text = convert_escape_characters(text)
pos = {:x => x, :y => y, :new_x => x, :height => calc_line_height(text)}
process_character(text.slice!(0, 1), text, pos) until text.empty?
end

and it says "undefined method "nil" for nil: NilClass"

Edit: Do you think this happen maybe because problems with the font used?
 

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,592
Reaction score
6,522
First Language
Indonesian
Primarily Uses
RMVXA
You forgot to put question mark. It should be
Code:
@item_color.nil?
 

SakinWea

Warper
Member
Joined
Dec 17, 2017
Messages
4
Reaction score
1
First Language
Español
Primarily Uses
RMVXA
OOhh thanks it work!!
you are a god among us! jaja thanks a lot!
 

LittlePIGGY

Just a piggy
Veteran
Joined
Aug 17, 2019
Messages
111
Reaction score
925
First Language
Russian
Primarily Uses
RMMV
Does this plugin still exist? Is there such a plugin for MV?
 

LittlePIGGY

Just a piggy
Veteran
Joined
Aug 17, 2019
Messages
111
Reaction score
925
First Language
Russian
Primarily Uses
RMMV
I'm not sure of which script you are talking about, but the only plugins she made that I know of are VK Equip and a Shop one
The wait time is exceeded. I can't log in to the site. Maybe doesn't work in my region...
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,049
Members
137,569
Latest member
Shtelsky
Top