Hello, is the speed in which the balloon icons appear and disappear adjustable? I was hoping to adjust it for some events so that it disappeared quicker. Just to be clear, I'm referring to the balloon icon image itself, reducing the time before it goes away.
Faster Balloon Icons?
RPG Maker VXAce SupportI was working on a script about a week ago (For practice) that allowed this. It may not be as confgurable as you would like it though.
For this sccript to work, turn on switch 10 ( or whatever you set in script) on any event that you want the balloon pop up to occur slower on.
You can also adjust the speed and wait time in the script itself. The only thing you cant do is set one event to have it at one speed and another event at a diffrent speed.
It will either be the speed you set up in the script or the defualt values.
P.S I have'nt tested this thourghly and there is probably an easier way of doing this.
For this sccript to work, turn on switch 10 ( or whatever you set in script) on any event that you want the balloon pop up to occur slower on.
You can also adjust the speed and wait time in the script itself. The only thing you cant do is set one event to have it at one speed and another event at a diffrent speed.
It will either be the speed you set up in the script or the defualt values.
P.S I have'nt tested this thourghly and there is probably an easier way of doing this.
Code:
#~ #==============================================================================#~ # ■ LTN "Balloon Duration"#~ # =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#~ # .----------------. .----------------. .-----------------.#~ # | .--------------. || .--------------. || .--------------. |#~ # | | _____ | || | _________ | || | ____ _____ | |#~ # | | |_ _| | || | | _ _ | | || ||_ \|_ _| | |#~ # | | | | | || | |_/ | | \_| | || | | \ | | | |#~ # | | | | _ | || | | | | || | | |\ \| | | |#~ # | | _| |__/ | | || | _| |_ | || | _| |_\ |_ | |#~ # | | |________| | || | |_____| | || ||_____|\____| | |#~ # | | | || | | || | | |#~ # | '--------------' || '--------------' || '--------------' |#~ # '----------------' '----------------' '----------------' #~ #-*****************************************************************************#~ # Description: Limit or grow the duration of the balloon pop up#~ # Created by LTN Games#~ # Date : 2015/09/1#~ # Version : 1.0.0#~ # Credit : LTN Games#~ #==============================================================================module LTN module Balloon_Time # How long before balloon shows above event Speed = 4 #Defualt value 8 # Amount of time(In frames) that the balloon popup stays over event/player Time = 4 #Defualt value 12 # Use this switch in game to turn baloon duration on and off Event_Switch_ID = 10 endendclass Sprite_Character < Sprite_Base alias ltn_balloontime_spritecharacter balloon_wait alias ltn_balloonspeedstart_spritecharacter start_balloon alias ltn_balloonspeed_spritecharacter balloon_speed #-------------------------------------------------------------------------- # * Start Balloon Icon Display #-------------------------------------------------------------------------- def start_balloon ltn_balloonspeedstart_spritecharacter() @balloon_duration = 8 * balloon_speed + balloon_wait end #-------------------------------------------------------------------------- # * Wait Time for Last Frame of Balloon #-------------------------------------------------------------------------- def balloon_wait ltn_balloontime_spritecharacter() if $game_switches[LTN::Balloon_Time::Event_Switch_ID] LTN::Balloon_Time::Time else return 12 end end #-------------------------------------------------------------------------- # * Balloon Icon Display Speed #-------------------------------------------------------------------------- def balloon_speed ltn_balloonspeed_spritecharacter() if $game_switches[LTN::Balloon_Time::Event_Switch_ID] LTN::Balloon_Time::Speed else return 8 end endend
Wow, that was much more than I was expecting hah thanks so much!
Fixed. You're welcome. 😉
Code:
#~ #==============================================================================#~
# ■ LTN "Balloon Duration"#~
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#~
# .----------------. .----------------. .-----------------.#~
# | .--------------. || .--------------. || .--------------. |#~
# | | _____ | || | _________ | || | ____ _____ | |#~
# | | |_ _| | || | | _ _ | | || ||_ \|_ _| | |#~
# | | | | | || | |_/ | | \_| | || | | \ | | | |#~
# | | | | _ | || | | | | || | | |\ \| | | |#~
# | | _| |__/ | | || | _| |_ | || | _| |_\ |_ | |#~
# | | |________| | || | |_____| | || ||_____|\____| | |#~
# | | | || | | || | | |#~
# | '--------------' || '--------------' || '--------------' |#~
# '----------------' '----------------' '----------------' #~
#-*****************************************************************************
#~ # Description: Limit or grow the duration of the balloon pop up
#~ # Created by LTN Games
#~ # Date : 2015/09/1
#~ # Version : 1.0.0
#~ # Credit : LTN Games
#~ #==============================================================================
module LTN
module Balloon_Time
# How long before balloon shows above event
Speed = 2 #Defualt value 8
# Amount of time(In frames) that the balloon popup stays over event/player
Time = 7 #Defualt value 12
# Use this switch in game to turn baloon duration on and off
Event_Switch_ID = 10
end
end
class Sprite_Character < Sprite_Base
alias ltn_balloontime_spritecharacter
balloon_wait
alias ltn_balloonspeedstart_spritecharacter
start_balloon
alias ltn_balloonspeed_spritecharacter
balloon_speed
#--------------------------------------------------------------------------
# * Start Balloon Icon Display
#--------------------------------------------------------------------------
def start_balloon
ltn_balloonspeedstart_spritecharacter()
@balloon_duration = 8 * balloon_speed + balloon_wait
end
#--------------------------------------------------------------------------
# * Wait Time for Last Frame of Balloon
#--------------------------------------------------------------------------
def balloon_wait
ltn_balloontime_spritecharacter()
if $game_switches[LTN::Balloon_Time::Event_Switch_ID]
LTN::Balloon_Time::Time
else
return 12
end
end
#--------------------------------------------------------------------------
# * Balloon Icon Display Speed
#--------------------------------------------------------------------------
def balloon_speed
ltn_balloonspeed_spritecharacter()
if $game_switches[LTN::Balloon_Time::Event_Switch_ID]
LTN::Balloon_Time::Speed
else
return 8
end
end
end
Original thread: https://forums.rpgmakerweb.com/threads/faster-balloon-icons.44613/