• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • The Eevee Expo Game Jam has concluded! 🎉 Head on over to the game jam forum to play through the games.
    Don't forget to come back September 21st to vote for your favorites!
  • Reminder: AI-generated content is not allowed on the forums per the Rules and Regulations. Please contact us if you have any questions!
Voltseon's Pause Menu

Resource Voltseon's Pause Menu 2.2

If you have encountered the same error as me while saving, here is the fix to avoid this issue

[004_VoltseonMenu_Components]


#-------------------------------------------------------------------------------
# New Quesst Message Hud component
#-------------------------------------------------------------------------------
class VPM_NewQuestHud < Component
def initialize
@counter = 0
end

def start_component(viewport, menu)
super(viewport, menu)
@sprites["overlay"] = BitmapSprite.new(Graphics.width / 2, 32, viewport)
@sprites["overlay"].ox = @sprites["overlay"].bitmap.width
@sprites["overlay"].x = Graphics.width
@sprites["overlay"].y = 96
@sprites["overlay"].oy = 32
@base_color = $PokemonSystem.from_current_menu_theme(MENU_TEXTCOLOR, Color.new(248, 248, 248))
@shdw_color = $PokemonSystem.from_current_menu_theme(MENU_TEXTOUTLINE, Color.new(48, 48, 48))
end

def should_draw?
return false if !defined?(hasAnyQuests?)
return false if !$PokemonGlobal
return false if !$PokemonGlobal.respond_to?(:quests)
return $PokemonGlobal.quests.active_quests.any? { |quest| quest.respond_to?(:new) && quest.new }
end

def update
super
return unless @sprites["overlay"]
@counter += 1
if @counter > Graphics.frame_rate / 2
@sprites["overlay"].y += 1 if @counter % (Graphics.frame_rate / 8) == 0
else
@sprites["overlay"].y -= 1 if @counter % (Graphics.frame_rate / 8) == 0
end
@counter = 0 if @counter >= Graphics.frame_rate
end

def refresh
quest_count = $PokemonGlobal.quests.active_quests.count { |quest| quest.respond_to?(:new) && quest.new }
@sprites["overlay"].bitmap.clear
if quest_count > 0
if quest_count == 1
text = _INTL("You have {1} new quest!",quest_count)
else
text = _INTL("You have {1} new quests!",quest_count)
end
pbSetSmallFont(@sprites["overlay"].bitmap)
pbDrawTextPositions(@sprites["overlay"].bitmap, [[text, (Graphics.width / 2) - 8, 12, 1, @base_color, @shdw_color]])
end
end
end
Im completely new to all this. Where exactly would i put this code as i am currently having this exact problem.
 
I have been getting these exception range errors that pop up in the terminal while i play, they dont crash the game but i was wondering if there is a problem i should fix?

Exception `RangeError' at [Voltseon's Pause Menu] 002_VoltseonMenu_Main.rb:262 - "21840" is recycled object
Exception `RangeError' at [Voltseon's Pause Menu] 002_VoltseonMenu_Main.rb:262 - "21860" is recycled object
Exception `RangeError' at [Voltseon's Pause Menu] 002_VoltseonMenu_Main.rb:262 - "21880" is recycled object
Exception `RangeError' at [Voltseon's Pause Menu] 002_VoltseonMenu_Main.rb:262 - "21900" is recycled object
Exception `RangeError' at [Voltseon's Pause Menu] 002_VoltseonMenu_Main.rb:262 - "21920" is recycled object
Exception `RangeError' at [Voltseon's Pause Menu] 002_VoltseonMenu_Main.rb:262 - "21940" is recycled object
Exception `RangeError' at [Voltseon's Pause Menu] 002_VoltseonMenu_Main.rb:262 - "21960" is recycled object
Exception `RangeError' at [Voltseon's Pause Menu] 002_VoltseonMenu_Main.rb:262 - "21980" is recycled object
Exception `RangeError' at [Voltseon's Pause Menu] 002_VoltseonMenu_Main.rb:262 - "22000" is recycled object
Exception `RangeError' at [Voltseon's Pause Menu] 002_VoltseonMenu_Main.rb:262 - "22020" is recycled object
 
I noticed that the Dexnav plugin also causes the insta loop when entering the pause menu. Just in case anyone else is in the same boat as I was.
 
I have been getting these exception range errors that pop up in the terminal while i play, they dont crash the game but i was wondering if there is a problem i should fix?

Exception `RangeError' at [Voltseon's Pause Menu] 002_VoltseonMenu_Main.rb:262 - "21840" is recycled object
Exception `RangeError' at [Voltseon's Pause Menu] 002_VoltseonMenu_Main.rb:262 - "21860" is recycled object
Exception `RangeError' at [Voltseon's Pause Menu] 002_VoltseonMenu_Main.rb:262 - "21880" is recycled object
Exception `RangeError' at [Voltseon's Pause Menu] 002_VoltseonMenu_Main.rb:262 - "21900" is recycled object
Exception `RangeError' at [Voltseon's Pause Menu] 002_VoltseonMenu_Main.rb:262 - "21920" is recycled object
Exception `RangeError' at [Voltseon's Pause Menu] 002_VoltseonMenu_Main.rb:262 - "21940" is recycled object
Exception `RangeError' at [Voltseon's Pause Menu] 002_VoltseonMenu_Main.rb:262 - "21960" is recycled object
Exception `RangeError' at [Voltseon's Pause Menu] 002_VoltseonMenu_Main.rb:262 - "21980" is recycled object
Exception `RangeError' at [Voltseon's Pause Menu] 002_VoltseonMenu_Main.rb:262 - "22000" is recycled object
Exception `RangeError' at [Voltseon's Pause Menu] 002_VoltseonMenu_Main.rb:262 - "22020" is recycled object
this is just garbage data being loaded, nothing you need to care about since it has nothing to do with the scripts themselves, it's just annoying so you can ignore it
 
I've been getting this error whenever i opened the pause menu?
Exception `Errno::ENOENT' at Section078:127 - No such file or directory - Graphics/UI/VPM/menu_controls
Is it something to worry about?
 
I've been getting this error whenever i opened the pause menu?
Exception `Errno::ENOENT' at Section078:127 - No such file or directory - Graphics/UI/VPM/menu_controls
Is it something to worry about?
is just saying you are missing a graphic, did you have the graphic in question spelled correct or in folder?
 
Theres no graphic in my folder and when I checked the VMP file theres no graphic for it too.
theres a folder called VPM in your graphics folder somewhere? prob will be inside Pictures folder, just move to inside the UI folder if thats the case
 
theres a folder called VPM in your graphics folder somewhere? prob will be inside Pictures folder, just move to inside the UI folder if thats the case
I know the problem now! I used the Controls Screen plugin/script and since theres no default ui for it i got that. Thanks for looking out tho
 
Trying to figure this out since I'm not sure what exactly got changed, but in the base menu, you can use multiple items at a time - like 99 Rare Candies or Berries, but in this menu, you're unable to. Is there a way to restore that back to the original multi-use?
 
Hey! Just wondering, but has anyone been able to add a message in the corner of the menu when you receive an Instant Message from the Instant Message plugin?
 
If you have encountered the same error as me while saving, here is the fix to avoid this issue

[004_VoltseonMenu_Components]


#-------------------------------------------------------------------------------
# New Quesst Message Hud component
#-------------------------------------------------------------------------------
class VPM_NewQuestHud < Component
def initialize
@counter = 0
end

def start_component(viewport, menu)
super(viewport, menu)
@sprites["overlay"] = BitmapSprite.new(Graphics.width / 2, 32, viewport)
@sprites["overlay"].ox = @sprites["overlay"].bitmap.width
@sprites["overlay"].x = Graphics.width
@sprites["overlay"].y = 96
@sprites["overlay"].oy = 32
@base_color = $PokemonSystem.from_current_menu_theme(MENU_TEXTCOLOR, Color.new(248, 248, 248))
@shdw_color = $PokemonSystem.from_current_menu_theme(MENU_TEXTOUTLINE, Color.new(48, 48, 48))
end

def should_draw?
return false if !defined?(hasAnyQuests?)
return false if !$PokemonGlobal
return false if !$PokemonGlobal.respond_to?(:quests)
return $PokemonGlobal.quests.active_quests.any? { |quest| quest.respond_to?(:new) && quest.new }
end

def update
super
return unless @sprites["overlay"]
@counter += 1
if @counter > Graphics.frame_rate / 2
@sprites["overlay"].y += 1 if @counter % (Graphics.frame_rate / 8) == 0
else
@sprites["overlay"].y -= 1 if @counter % (Graphics.frame_rate / 8) == 0
end
@counter = 0 if @counter >= Graphics.frame_rate
end

def refresh
quest_count = $PokemonGlobal.quests.active_quests.count { |quest| quest.respond_to?(:new) && quest.new }
@sprites["overlay"].bitmap.clear
if quest_count > 0
if quest_count == 1
text = _INTL("You have {1} new quest!",quest_count)
else
text = _INTL("You have {1} new quests!",quest_count)
end
pbSetSmallFont(@sprites["overlay"].bitmap)
pbDrawTextPositions(@sprites["overlay"].bitmap, [[text, (Graphics.width / 2) - 8, 12, 1, @base_color, @shdw_color]])
end
end
end
Hello sorry im new to this but im getting the same error. where do i paste this? also im v21.1 PE.
 
^This is what is in my 004_VoltseonMenu_Componets.rb^

#-------------------------------------------------------------------------------
# New Quesst Message Hud component
#-------------------------------------------------------------------------------
class VPM_NewQuestHud < Component
def initialize
@counter = 0
end
def start_component(viewport, menu)
super(viewport, menu)
@sprites["overlay"] = BitmapSprite.new(Graphics.width / 2, 32, viewport)
@sprites["overlay"].ox = @sprites["overlay"].bitmap.width
@sprites["overlay"].x = Graphics.width
@sprites["overlay"].y = 96
@sprites["overlay"].oy = 32
@base_color = $PokemonSystem.from_current_menu_theme(MENU_TEXTCOLOR, Color.new(248, 248, 248))
@shdw_color = $PokemonSystem.from_current_menu_theme(MENU_TEXTOUTLINE, Color.new(48, 48, 48))
end
def should_draw?
return false if !defined?(hasAnyQuests?)
return false if !$PokemonGlobal
return false if !$PokemonGlobal.respond_to?(:quests)
return $PokemonGlobal.quests.active_quests.any? { |quest| quest.respond_to?(:new) && quest.new }
end
def update
super
@counter += 1
if @counter > Graphics.frame_rate / 2
@sprites["overlay"].y += 1 if @counter % (Graphics.frame_rate / 8) == 0
else
@sprites["overlay"].y -= 1 if @counter % (Graphics.frame_rate / 8) == 0
end
@counter = 0 if @counter >= Graphics.frame_rate
end
def refresh
quest_count = $PokemonGlobal.quests.active_quests.count { |quest| quest.respond_to?(:new) && quest.new }
@sprites["overlay"].bitmap.clear
if quest_count > 0
if quest_count == 1
text = _INTL("You have {1} new quest!",quest_count)
else
text = _INTL("You have {1} new quests!",quest_count)
end
pbSetSmallFont(@sprites["overlay"].bitmap)
pbDrawTextPositions(@sprites["overlay"].bitmap, [[text, (Graphics.width / 2) - 8, 12, 1, @base_color, @shdw_color]])
end
end
end
 
Hey QuirkyMudkip

I believe that what you refer to has been updated in the plugin
Voltseon has updated the pack in February 2025, and the post you are linking to was posted in September 2023
Can you explain the issue you are having
Maybe provide an error code?
 
Hey!

I am using this plugin in my game, which runs on Essentials v20.1. I am not tinkering around with Essentials v21, but I cannot figure out how I can add more menu entries to the pause menu? The plugin file "005_VoltseonMenu_Entries" is not part of the v21 plugin anymore, so I suppose this has been restructured? Could someone point me in the right direction please? 😇
 
Hey!

I am using this plugin in my game, which runs on Essentials v20.1. I am not tinkering around with Essentials v21, but I cannot figure out how I can add more menu entries to the pause menu? The plugin file "005_VoltseonMenu_Entries" is not part of the v21 plugin anymore, so I suppose this has been restructured? Could someone point me in the right direction please? 😇
because now you just need to add to the default menu on UI_PauseMenu, and it will automatically be added to the Voltseon Menu
 
Back
Top