Message display help with Mr.Bubble's Auto-Life effect

lucofthewind

Suikoden FanBoy
Veteran
Joined
Dec 11, 2012
Messages
213
Reaction score
17
First Language
English
Primarily Uses
Script in question: http://mrbubblewand.wordpress.com/rgss3/auto-life-effect/

Hey guys!

As the title suggests, I am trying to get a little help with the display messgaes for Mr Bibbles auto life script. While everything works just fine, I was hoping to find a way to have "Eric's miracle ring breaks!" (as shown below), appear for just a bit longer. I'm doing this mostly because I have slow reading friends who are helping out with testing.  I tried text codes, but that didn't work :-\



In any case, any help would be most welcome!
 

Euphoria

Veteran
Veteran
Joined
Jun 27, 2013
Messages
378
Reaction score
93
First Language
English
Primarily Uses
I believe with the script Victors - Control Text script, MIGHT allow you to add waits into those messages. At least it says you can use commands in any window with his script, but you'll have to find where the link to his scripts are on his page..

http://victorscripts.wordpress.com/rpg-maker-vx-ace/windows-scripts/control-text/

If you don't like that Modern Algebra has a similar script that enables text codes in all windows.
 

lucofthewind

Suikoden FanBoy
Veteran
Joined
Dec 11, 2012
Messages
213
Reaction score
17
First Language
English
Primarily Uses
I believe with the script Victors - Control Text script, MIGHT allow you to add waits into those messages. At least it says you can use commands in any window with his script, but you'll have to find where the link to his scripts are on his page..

http://victorscripts.wordpress.com/rpg-maker-vx-ace/windows-scripts/control-text/

If you don't like that Modern Algebra has a similar script that enables text codes in all windows.
Hey there! Thanks for taking the time to post your suggestions. I'm actually using Modern Algerbra's script and it doesn't seem to do it. :-\
 

Euphoria

Veteran
Veteran
Joined
Jun 27, 2013
Messages
378
Reaction score
93
First Language
English
Primarily Uses
Then maybe it's not a window :o

I just figured it was a window with the opacity set to 0...

Hmm. In the auto-life script did you put \\*\\| to make it wait? (or you could have used \\*\\.) Don't forget that in MA's Global Text unless you have the auto mode set to true, you have to put \\* before all commands in scripts and double slash the other commands in scripts.

P.S. Quote me if it doesn't work, that way I get notified :p
 
Last edited by a moderator:

lucofthewind

Suikoden FanBoy
Veteran
Joined
Dec 11, 2012
Messages
213
Reaction score
17
First Language
English
Primarily Uses
Then maybe it's not a window :o

I just figured it was a window with the opacity set to 0...

Hmm. In the auto-life script did you put \\*\\| to make it wait? (or you could have used \\*\\.) Don't forget that in MA's Global Text unless you have the auto mode set to true, you have to put \\* before all commands in scripts and double slash the other commands in scripts.

P.S. Quote me if it doesn't work, that way I get notified :p
Hello again!

I probably should have mentioned this before, but I tried it with the \\* already as well. Sadly I got crazy amount of errors and crashes from it.
 

Euphoria

Veteran
Veteran
Joined
Jun 27, 2013
Messages
378
Reaction score
93
First Language
English
Primarily Uses
That's strange, it shouldn't crash the game :o

But I'm not sure if it would work either... I really don't know for sure, I'll look into the battle message script and get back to you if I have an answer, if not maybe someone else will come in and be of more help.

Edit: You can try playing with the default battle log settings:

class Window_BattleLog < Window_Selectable #-------------------------------------------------------------------------- # * Object Initialization #-------------------------------------------------------------------------- def initialize super(0, 0, window_width, window_height) self.z = 200 self.opacity = 0 @lines = [] @num_wait = 0 create_back_bitmap create_back_sprite refresh end #-------------------------------------------------------------------------- # * Free #-------------------------------------------------------------------------- def dispose super dispose_back_bitmap dispose_back_sprite end #-------------------------------------------------------------------------- # * Get Window Width #-------------------------------------------------------------------------- def window_width Graphics.width end #-------------------------------------------------------------------------- # * Get Window Height #-------------------------------------------------------------------------- def window_height fitting_height(max_line_number) end #-------------------------------------------------------------------------- # * Get Maximum Number of Lines #-------------------------------------------------------------------------- def max_line_number return 6 end #-------------------------------------------------------------------------- # * Create Background Bitmap #-------------------------------------------------------------------------- def create_back_bitmap @back_bitmap = Bitmap.new(width, height) end #-------------------------------------------------------------------------- # * Create Background Sprite #-------------------------------------------------------------------------- def create_back_sprite @back_sprite = Sprite.new @back_sprite.bitmap = @back_bitmap @back_sprite.y = y @back_sprite.z = z - 1 end #-------------------------------------------------------------------------- # * Free Background Bitmap #-------------------------------------------------------------------------- def dispose_back_bitmap @back_bitmap.dispose end #-------------------------------------------------------------------------- # * Free Background Sprite #-------------------------------------------------------------------------- def dispose_back_sprite @back_sprite.dispose end #-------------------------------------------------------------------------- # * Clear #-------------------------------------------------------------------------- def clear @num_wait = 0 @lines.clear refresh end #-------------------------------------------------------------------------- # * Get Number of Data Lines #-------------------------------------------------------------------------- def line_number @lines.size end #-------------------------------------------------------------------------- # * Go Back One Line #-------------------------------------------------------------------------- def back_one @lines.pop refresh end #-------------------------------------------------------------------------- # * Return to Designated Line #-------------------------------------------------------------------------- def back_to(line_number) @lines.pop while @lines.size > line_number refresh end #-------------------------------------------------------------------------- # * Add Text #-------------------------------------------------------------------------- def add_text(text) @lines.push(text) refresh end #-------------------------------------------------------------------------- # * Replace Text # Replaces the last line with different text. #-------------------------------------------------------------------------- def replace_text(text) @lines.pop @lines.push(text) refresh end #-------------------------------------------------------------------------- # * Get Text From Last Line #-------------------------------------------------------------------------- def last_text @lines[-1] end #-------------------------------------------------------------------------- # * Refresh #-------------------------------------------------------------------------- def refresh draw_background contents.clear @lines.size.times {|i| draw_line(i) } end #-------------------------------------------------------------------------- # * Draw Background #-------------------------------------------------------------------------- def draw_background @back_bitmap.clear @back_bitmap.fill_rect(back_rect, back_color) end #-------------------------------------------------------------------------- # * Get Background Rectangle #-------------------------------------------------------------------------- def back_rect Rect.new(0, padding, width, line_number * line_height) end #-------------------------------------------------------------------------- # * Get Background Color #-------------------------------------------------------------------------- def back_color Color.new(0, 0, 0, back_opacity) end #-------------------------------------------------------------------------- # * Get Background Opacity #-------------------------------------------------------------------------- def back_opacity return 64 end #-------------------------------------------------------------------------- # * Draw Line #-------------------------------------------------------------------------- def draw_line(line_number) rect = item_rect_for_text(line_number) contents.clear_rect(rect) draw_text_ex(rect.x, rect.y, @lines[line_number]) end #-------------------------------------------------------------------------- # * Set Wait Method #-------------------------------------------------------------------------- def method_wait=(method) @method_wait = method end #-------------------------------------------------------------------------- # * Set Wait Method for Effect Execution #-------------------------------------------------------------------------- def method_wait_for_effect=(method) @method_wait_for_effect = method end #-------------------------------------------------------------------------- # * Wait #-------------------------------------------------------------------------- def wait @num_wait += 1 @method_wait.call(message_speed) if @method_wait end #-------------------------------------------------------------------------- # * Wait Until Effect Execution Ends #-------------------------------------------------------------------------- def wait_for_effect @method_wait_for_effect.call if @method_wait_for_effect end #-------------------------------------------------------------------------- # * Get Message Speed #-------------------------------------------------------------------------- def message_speed return 20 end
Right at the bottom, try changing message_speed's "return 20" to like return 35

Oh, that's located in the script editor under Window_BattleLog
 
Last edited by a moderator:

lucofthewind

Suikoden FanBoy
Veteran
Joined
Dec 11, 2012
Messages
213
Reaction score
17
First Language
English
Primarily Uses
That's strange, it shouldn't crash the game :o

But I'm not sure if it would work either... I really don't know for sure, I'll look into the battle message script and get back to you if I have an answer, if not maybe someone else will come in and be of more help.

Edit: You can try playing with the default battle log settings:

class Window_BattleLog < Window_Selectable #-------------------------------------------------------------------------- # * Object Initialization #-------------------------------------------------------------------------- def initialize super(0, 0, window_width, window_height) self.z = 200 self.opacity = 0 @lines = [] @num_wait = 0 create_back_bitmap create_back_sprite refresh end #-------------------------------------------------------------------------- # * Free #-------------------------------------------------------------------------- def dispose super dispose_back_bitmap dispose_back_sprite end #-------------------------------------------------------------------------- # * Get Window Width #-------------------------------------------------------------------------- def window_width Graphics.width end #-------------------------------------------------------------------------- # * Get Window Height #-------------------------------------------------------------------------- def window_height fitting_height(max_line_number) end #-------------------------------------------------------------------------- # * Get Maximum Number of Lines #-------------------------------------------------------------------------- def max_line_number return 6 end #-------------------------------------------------------------------------- # * Create Background Bitmap #-------------------------------------------------------------------------- def create_back_bitmap @back_bitmap = Bitmap.new(width, height) end #-------------------------------------------------------------------------- # * Create Background Sprite #-------------------------------------------------------------------------- def create_back_sprite @back_sprite = Sprite.new @back_sprite.bitmap = @back_bitmap @back_sprite.y = y @back_sprite.z = z - 1 end #-------------------------------------------------------------------------- # * Free Background Bitmap #-------------------------------------------------------------------------- def dispose_back_bitmap @back_bitmap.dispose end #-------------------------------------------------------------------------- # * Free Background Sprite #-------------------------------------------------------------------------- def dispose_back_sprite @back_sprite.dispose end #-------------------------------------------------------------------------- # * Clear #-------------------------------------------------------------------------- def clear @num_wait = 0 @lines.clear refresh end #-------------------------------------------------------------------------- # * Get Number of Data Lines #-------------------------------------------------------------------------- def line_number @lines.size end #-------------------------------------------------------------------------- # * Go Back One Line #-------------------------------------------------------------------------- def back_one @lines.pop refresh end #-------------------------------------------------------------------------- # * Return to Designated Line #-------------------------------------------------------------------------- def back_to(line_number) @lines.pop while @lines.size > line_number refresh end #-------------------------------------------------------------------------- # * Add Text #-------------------------------------------------------------------------- def add_text(text) @lines.push(text) refresh end #-------------------------------------------------------------------------- # * Replace Text # Replaces the last line with different text. #-------------------------------------------------------------------------- def replace_text(text) @lines.pop @lines.push(text) refresh end #-------------------------------------------------------------------------- # * Get Text From Last Line #-------------------------------------------------------------------------- def last_text @lines[-1] end #-------------------------------------------------------------------------- # * Refresh #-------------------------------------------------------------------------- def refresh draw_background contents.clear @lines.size.times {|i| draw_line(i) } end #-------------------------------------------------------------------------- # * Draw Background #-------------------------------------------------------------------------- def draw_background @back_bitmap.clear @back_bitmap.fill_rect(back_rect, back_color) end #-------------------------------------------------------------------------- # * Get Background Rectangle #-------------------------------------------------------------------------- def back_rect Rect.new(0, padding, width, line_number * line_height) end #-------------------------------------------------------------------------- # * Get Background Color #-------------------------------------------------------------------------- def back_color Color.new(0, 0, 0, back_opacity) end #-------------------------------------------------------------------------- # * Get Background Opacity #-------------------------------------------------------------------------- def back_opacity return 64 end #-------------------------------------------------------------------------- # * Draw Line #-------------------------------------------------------------------------- def draw_line(line_number) rect = item_rect_for_text(line_number) contents.clear_rect(rect) draw_text_ex(rect.x, rect.y, @lines[line_number]) end #-------------------------------------------------------------------------- # * Set Wait Method #-------------------------------------------------------------------------- def method_wait=(method) @method_wait = method end #-------------------------------------------------------------------------- # * Set Wait Method for Effect Execution #-------------------------------------------------------------------------- def method_wait_for_effect=(method) @method_wait_for_effect = method end #-------------------------------------------------------------------------- # * Wait #-------------------------------------------------------------------------- def wait @num_wait += 1 @method_wait.call(message_speed) if @method_wait end #-------------------------------------------------------------------------- # * Wait Until Effect Execution Ends #-------------------------------------------------------------------------- def wait_for_effect @method_wait_for_effect.call if @method_wait_for_effect end #-------------------------------------------------------------------------- # * Get Message Speed #-------------------------------------------------------------------------- def message_speed return 20 end
Right at the bottom, try changing message_speed's "return 20" to like return 35

Oh, that's located in the script editor under Window_BattleLog
From what I was seeing, my first guess would be the two scripts not liking each other because the battle text window and the normal text window are different apparently. In any case, you suggestion to edit the Window_battlelog proved to be just what was needed! Thanks!
 

Euphoria

Veteran
Veteran
Joined
Jun 27, 2013
Messages
378
Reaction score
93
First Language
English
Primarily Uses
Glad I could help! I'd suggest keeping a comment of the original number that was there in case you want to change back though!
 

lucofthewind

Suikoden FanBoy
Veteran
Joined
Dec 11, 2012
Messages
213
Reaction score
17
First Language
English
Primarily Uses
Glad I could help! I'd suggest keeping a comment of the original number that was there in case you want to change back though!
That is ALWAYS good advice lol :p
 

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

Latest Threads

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
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

Forum statistics

Threads
105,868
Messages
1,017,072
Members
137,578
Latest member
JamesLightning
Top