Help - Search - Members - Calendar
Full Version: {Please Help}Skip Actor select on menus (VX ACE)
RPG RPG Revolution Forums > Game Engines > RPG Maker VX Ace Discussion
lenercopa
ok very simple request (i hope) i am using sapphire abs and am making a game with no party system. i have the PAC main menu system and conpact add on.So i am already rid of the formation menu and everything is set for a single actor game in the menu and am rid of the formation menu . except one thing.

normally when you select equip,skills,and status, you get a subscreen where you would then select the actor and then it takes you into the equip window.
what i need is a way to skip that sub menu, so as sooon as i select one of those 3 options in the menu, it automatically goes to the equip screen.

the best i could think of is as soon as you select one of them, it just opens the window as if you selected the first actor, but i have no idea how to do it.

any help would be greatly appreciated cool.gif
lenercopa
not one idea?
diamondandplatinum3
CODE
class Scene_Menu
  #--------------------------------------------------------------------------
  # * [Skill], [Equipment] and [Status] Commands
  #--------------------------------------------------------------------------
  def command_personal
    case @command_window.current_symbol
    when :skill
      SceneManager.call(Scene_Skill)
    when :equip
      SceneManager.call(Scene_Equip)
    when :status
      SceneManager.call(Scene_Status)
    end
  end
end
lenercopa
this is exactly what it already has in the script, except where you put "command_personal", mine says "on_personal_ok", and changing it causes the game to freeze right on the screen that im trying to remove,

thanks for the effort though, unless im not getting what to do with it, i assume you replaxe the original code iin scene_Menu?
diamondandplatinum3
Never replace any code in a default script.
You paste that code in a new script slot.


I'll repeat in all caps. NEVER EVER REPLACE DEFAULT SCRIPT CODE, EVER! laugh.gif
lenercopa
QUOTE (diamondandplatinum3 @ Oct 9 2012, 01:31 PM) *
Never replace any code in a default script.
You paste that code in a new script slot.


I'll repeat in all caps. NEVER EVER REPLACE DEFAULT SCRIPT CODE, EVER! laugh.gif

Oh ok, i kind of figured i had to make a new one when it didnt work, as for replacing the default script code, i know what im doing when it comes to that, i always backup the original data and remember where it was. never have i destroyed a game doing so, but thanks for the warning nonetheless. thank you for the script.




ZarroTsu
QUOTE (diamondandplatinum3 @ Oct 9 2012, 05:31 PM) *
I'll repeat in all caps. NEVER EVER REPLACE DEFAULT SCRIPT CODE, EVER! laugh.gif

* Unless you know what you're doing, or understand that making a new project will give you a fresh set of code to retrofix from.
lenercopa
Exactly, lol.
Anywho, still placing this in a new script slot above main either freezes it before or during the screen i am trying to get rid of, and ive put it in every possible place. any suggestions where it should go? or if its copatable with the scripts "Khas Sapphire abs IV" "PACmain" menu script and "PACmainCOmpact addon"?
diamondandplatinum3
The issue is not about whether or not you know what you're doing, anyone can figure what can and cannot be modified in the default scripts. I'm telling you not to directly modify them as you are suggesting you do so. You can trifle around and proclaim that you know what you're doing, but truth is; custom scripts access data from DEFAULT scripts via the use of imports and attrs. If a custom script tries to get data from a default script that you have overwritten and taken out those necessities, you will get errors.
If you want to overwrite a method, do it in a new script slot; it's cleaner, it's better and it's much easier to keep track of.

Though I'm not going to keep lecturing you on this. It's your game not mine. And if that works for you, then well I guess it's cool.


It's not working for you because Pacman uses a different way to handle this in his menu, and not something I'm going to modify for you since it's not my script and that's rude to Pacman.
lenercopa
okay im not suggesting to modify the existing script, im saying i know how to fix my mistakes.
second i only asked if it was compatable, never for you to modify the script. that is all.
and lastly, i have figure out what i needed to do anyway
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.