QUICK VX SCRIPTING QUESTION
Posts
Pages:
1
How would I increase/modify the speed of message display in battle? I've quickly paged through the various classes in VX that seemed like the might contain this function, and I can't make heads or tails of them. I need to change the speed in battle (not in the field) and I'd prefer to do it without adding a CMS (Custom Message System) script or any other scripts. They're neat and all, but it's functionality that I don't need and the project already has a LOT of scripts.
(Captcha for this page was She brueghel, lol.)
(Captcha for this page was She brueghel, lol.)
I assume you're kidding, but it's still worth stating that is exactly the attitude that made 90% of the XP games I've seen/played complete shit. Anyway this is DEFINITELY not the place to discuss that. : )
What kind of speed increase are you looking for? Or are you trying to remove the lag caused by text messages during battle?
The latter. Basically the battles in this game have lots of party members and enemies using some pretty complex skills. Players have complained (and I have noticed) that while the tactical complexity in selecting actions is fun and engaging, the actual turns don't resolve fast enough so that is what I'm trying to work on.
The lag in messages during battles may be caused by 2 things
1. Everything that's happening during battle scenes (Sprites, Updates, Windows, etc).
2.The way text is processed which is by using a loop to go through each letter to draw them.
My best advice would be to show the lines instantly instead of letting it draw them letter by letter by either editing the script or adding "\>" to the texts in battle.
1. Everything that's happening during battle scenes (Sprites, Updates, Windows, etc).
2.The way text is processed which is by using a loop to go through each letter to draw them.
My best advice would be to show the lines instantly instead of letting it draw them letter by letter by either editing the script or adding "\>" to the texts in battle.
Thanks.
But...
Where and what in the script do I edit and how do I edit it? : )
That was more the tenor of my question to begin with.
But...
Where and what in the script do I edit and how do I edit it? : )
That was more the tenor of my question to begin with.
I'm not a fan of message systems, but the scripts to edit the process of writing in the window would be:
Class
Window_Message
Methods
def update_message
def update_show_fast
Variables
@wait_count (Wait count for message to continue after a pause)
@show_fast (Fast forward message used when pressing a key to fast forward message )
@line_show_fast (Fast Forward line/Show full line)
Global variables related to being in battle
$game_temp.in_battle
Notes
Window_BattleMessage is the one used in battlex and it inherits from window_message. It uses a different method to draw text which is "draw_line(index)".
Class
Window_Message
Methods
def update_message
def update_show_fast
Variables
@wait_count (Wait count for message to continue after a pause)
@show_fast (Fast forward message used when pressing a key to fast forward message )
@line_show_fast (Fast Forward line/Show full line)
Global variables related to being in battle
$game_temp.in_battle
Notes
Window_BattleMessage is the one used in battlex and it inherits from window_message. It uses a different method to draw text which is "draw_line(index)".
Where...does this go? o_O
I don't know if this is what I need or really what to do with it.
Sorry, I am not very GOOD at this. : (
I don't know if this is what I need or really what to do with it.
Sorry, I am not very GOOD at this. : (
Well it doesn't really go anywhere, it's just what you would have mainly used to edit the script towards what you wanted.
Like this:
It can be put above main and below Window_BattleMessage as is and it would make all text shown during battle be displayed instantly.
I only tested this using the default Battle system so it might not work if your own battle system has modified the Window_BattleMessage class or Window_Message class.
Like this:
#==============================================================================
# ** Window_BattleMessage
#------------------------------------------------------------------------------
# Message window displayed during battle. In addition to the normal message
# window functions, it also has a battle progress narration function.
#==============================================================================
class Window_BattleMessage < Window_Message
#--------------------------------------------------------------------------
# * Update Message
#--------------------------------------------------------------------------
def update_message
# Show Line Fast
@line_show_fast = true
super
end
end
It can be put above main and below Window_BattleMessage as is and it would make all text shown during battle be displayed instantly.
I only tested this using the default Battle system so it might not work if your own battle system has modified the Window_BattleMessage class or Window_Message class.
I will try this baby scriptlet in my game and see how it works, thanks!
(I think those classes may have been modified by some of Racheal's scripts, I don't know.)
(I think those classes may have been modified by some of Racheal's scripts, I don't know.)
It's very rare to need to modify "update_message" method in the Window_BattleMessage class but, it's still worth mentioning just in case.
Pages:
1
















