• 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

Hey Voltseon, I just realised I never took the time to thank you. So: thank you for all your amazing work!
 
Can you add key items to the menu?

You could try this, for example:

Ruby:
Expand Collapse Copy
MenuHandlers.add(:pause_menu, :keyitem, {
  "name"      => _INTL("Key Item"),
  "icon_name" => "keyitem",
  "condition" => proc { next $bag.has?(:KEYITEM) },
  "order"     => 69,
  "effect"    => proc { |menu|
    pbFadeOutIn {
      pbUseKeyItemInField(:KEYITEM)
    }
    next false
  }
})

Didn't tested, but it should work.
 
Hey, does somebody know if there's a simple way to replace the "overlay_item" icon in the Party Hud component, with the actual held item, like in Party Menu etc?
 
For those who have a problem with the menu being too fast in version 21.1, I have a solution:

I changed the "VoltseonMenu_menu" script.

in between:
"def shift_cursor(direction)"
"recalc_icon_positions"
replace the code with this:

Ruby:
Expand Collapse Copy
def shift_cursor(direction)
  return false if @entries.length < 2
  @current_selection += direction
  # keep selection within array bounds
  @current_selection = @entries.length - 1 if @current_selection < 0
  @current_selection = 0 if @current_selection >= @entries.length
  # Shift array elements
  if direction < 0
    el = @entries.length - 1
    temp = @entry_indices[el].clone
    @entry_indices[el] = nil
    e_temp = @entry_indices.clone
    (el + 1).times { |i| @entry_indices[i + 1] = e_temp[i] }
    @entry_indices[0] = temp
    @entry_indices.compact!
  else
    ret = @entry_indices.shift
    @entry_indices.push(ret)
  end
  pbSEPlay(MENU_CURSOR_SOUND)

# Reset the duration variable to a larger value to make it slower

    duration = 100
 
  case $PokemonSystem.screensize
when 4  # fullscreen
  duration = 15
end

  # Rest of the code remains unchanged
  middle   = @disp_indices.length / 2
  if @disp_indices.length < 3
    recalc_icon_positions
    duration.times do
      Graphics.update
      @menu.components.each { |component| component.update }
      pbUpdateSpriteHash(@sprites)
    end
    return
  end
  duration.times do
    Graphics.update
    pbUpdateSpriteHash(@sprites)
    @menu.components.each { |component| component.update }
    pbUpdateSceneMap
    @sprites.each do |key, sprite|
      next if !key[/icon/]
      total     = (direction > 0) ? @icon_offset_left[key] : @icon_offset_right[key]
      amt2      = total / (duration * 1.0)
      amt       = ((direction > 0) ? amt2.floor : amt2.ceil).to_i
      amt       -= (direction * 1) if @disp_indices.length < 5
      sprite.x  += amt
      final_pos = (@icon_base_x[key] + total)
      base_x    = direction > 0 ? (sprite.x <= final_pos) : (sprite.x >= final_pos)
      sprite.x  = (@icon_base_x[key] + total) if base_x
    end
    @sprites["icon_#{middle}"].zoom_x -= (ACTIVE_SCALE - 1.0) / duration
    @sprites["icon_#{middle}"].zoom_y -= (ACTIVE_SCALE - 1.0) / duration
    mdr = middle + direction
    mdr = mdr.clamp(0, 6)
    @sprites["icon_#{mdr}"].zoom_x += (ACTIVE_SCALE - 1.0) / duration
    @sprites["icon_#{mdr}"].zoom_y += (ACTIVE_SCALE - 1.0) / duration
  end
 
Is there a way I could change the theme on a script event not in Options menu? like in example change the theme base on which region u're in.
 
Is there a way I could change the theme on a script event not in Options menu? like in example change the theme base on which region u're in.
Use $PokemonSystem.current_menu_theme = value. Also, make sure to set this
1711042019707.png
to false.
 
Hi, i just install the plugin i didnt get error when i lauch the game but when i open my ui, I can't choose my menu, the game automatically use the last menu used
 
Hi, i just install the plugin i didnt get error when i lauch the game but when i open my ui, I can't choose my menu, the game automatically use the last menu used
I have the exact same problem- whenever I open the menu it instantly opens my Pokedex. Person on the previous page said to do a full recompile and I did, no luck. Do you have any other specific plugins installed? Maybe we both have the same problematic one?

(Update if anyone has any suggestions, I have also attempted to start a new Game, it still instantly opens something in the menu - just the bag instead. Physically cannot open anything else, it is just a loop once you're in it)
 
Last edited:
Just installed the plugin and it's working wonderfully. However, I did notice that every time you use an item from the bag or you save, the close menu sound plays (I'm not sure if the fix from v2.1 is related to that or if I did something wrong). Anyone knows how to fix that?
 
THANK YOU VOLTSEON! AMAZING WORK!

FYI - This works for v21.1 with no edits; however "safeExists?(" needs to be replaced "FileTest.exist?(" in the 002_VoltseonMenu_Main.rb as safeExists is depreciated and will be removed in v22.
 
Just installed the plugin and it's working wonderfully. However, I did notice that every time you use an item from the bag or you save, the close menu sound plays (I'm not sure if the fix from v2.1 is related to that or if I did something wrong). Anyone knows how to fix that?
I've been having this "issue" myself, and I figured out how to fix it. This might also only be happening if you're using DiegoWT's Bag Screen w/ Party plugin btw.

In 002_VoltseonMenu_Main, go to line 228. You should see a line that says pbSEPlay(MENU_CLOSE_SOUND). Just put a # at the beginning of that line, recompile, and you should be good to go!
 
Last edited:
I am having a slight issue with the pause menu. I compress/encrypt my game when I send out releases. and for some reason it requires me to have the pictures folder still in the folder because its set like this

MENU_FILE_PATH = "Graphics/Pictures/VPM/"

Which means I have to add the graphics/pictures/VPM folder even though i've compressed the .rgssad file. Is there a way I can make it so that it Pulls the pictures from the rgssad file?
 
I wanted to report a minor glitch I've been experiencing since updating to the current version the other day. It seems that if I open my menu within the first few seconds of starting the game, then the game will pause the party preview sprites will appear, but the rest of the UI will be missing. If you quit from the menu and reopen it, then everything looks fine. If you wait to open the menu a few seconds after starting the game, then everything behaves normally. Not really a massive deal, but I wanted to make sure you were aware of it.
 
Back
Top