Ruby/RGSSx questions that don't deserve their own thread

New/Continue/Exit are the commands on the title screen. There's an event command to return to the title screen, and this is what Interpreter does for that command:

#-------------------------------------------------------------------------- # * Return to Title Screen #-------------------------------------------------------------------------- def command_354 SceneManager.goto(Scene_Title) Fiber.yield endThere is no window defined that JUST shows the command box though - if you want one that shows the command, you'd have to do some script mods (add the window processing but not the background graphics).

If you want it loaded from within the game, could you possibly do it with a choice box?
Where would a good place be to start learning how to make windows that I can put information on, and have choices for the user to select? I have an idea for a feature i'd like to improve with a script, but I need to learn how to make it before it can be done, obviously. I'm hoping to get something similar to Moghunter's Monster Book (http://www.atelier-rgss.com/RGSS/System/ACE_SYS06.html) in terms of a menu on the left and information on the bottom, and maybe a picture or other window box on the right.

Thanks for any replies,

  ~Zale
Best way to figure out how to create menus is to pull some of the existing ones to pieces. Find one that does some of what you want to do, and see how it does it. Then add that functionality to your own. Just work on it bit by bit until you pull it all together.
Where would a good place be to start learning how to make windows that I can put information on, and have choices for the user to select? I have an idea for a feature i'd like to improve with a script, but I need to learn how to make it before it can be done, obviously. I'm hoping to get something similar to Moghunter's Monster Book (http://www.atelier-rgss.com/RGSS/System/ACE_SYS06.html) in terms of a menu on the left and information on the bottom, and maybe a picture or other window box on the right.

Thanks for any replies,

  ~Zale
Hello Zale! This monster book? You can learn from Worale's monster book, though it was for VX. But if you know some Ruby...you'd easily be going to make one from it...I do not advice editing the script, i advice learning from it and make your own version in the menu just like you wanted.
I am currently using Yanfly's Party System that lets you change members during battle, and MogHunter's Advanced Battle Hud.

The problem is, when I switch the characters in my party during battle, their faces on the hud won't change. Even when I remove them, the hud is still there. The characters do get switched out, but their huds won't update.

Is there anyway I could fix this ?
biggrin.png


http://www.atelier-rgss.com/RGSS/Battle/ACE_BAT03.html
http://yanflychannel.wordpress.com/rmvxa/core-scripts/party-system/
http://yanflychannel.wordpress.com/rmvxa/core-scripts/party-system/command-party/
You would have to make a "reset hud" method within the hud class that you then call from probably scene battle whenever your "change actor" feature is used.. ie. yanflys script.

Does anyone know how to stop the selection cursor in my command window from flashing? its severely annoying me, and i spent almost all day yesterday trying to track it down. as far as i can tell as long as the command window is active the stupid thing keeps flashing, is there any way for me to stop this?
Does anyone know how to stop the selection cursor in my command window from flashing? its severely annoying me, and i spent almost all day yesterday trying to track it down. as far as i can tell as long as the command window is active the stupid thing keeps flashing, is there any way for me to stop this?
Did you try deactivating the window?

@my_window.deactivateCalling this method isn't necessary in most cases since Window_Selectable already deactivates the window in general circumstances like selecting an item. Though, Window_Command may be different.
You would have to make a "reset hud" method within the hud class that you then call from probably scene battle whenever your "change actor" feature is used.. ie. yanflys script.
Uh... I have no idea how to do that... 😮
Did you try deactivating the window?

@my_window.deactivateCalling this method isn't necessary in most cases since Window_Selectable already deactivates the window in general circumstances like selecting an item. Though, Window_Command may be different.
lol you made me feel stupid, i wasnt asking how to stop the command window. just how to stop it flashing.

just to clarify.

I need the command window to be 100% active, it gets used in the selection  of items' but i also need it to NOT flash, which automatically happens when the window is active. is there a way to keep my window active while stop the flashing effect that automatically happens ?
@Dekita:

Code:
def update_cursor  cursor_rect.empty  ensure_cursor_visibleend
@Dekita:

def update_cursor  cursor_rect.empty  ensure_cursor_visibleend
i already tried something similar to this, but i had just set the rect at 0 width, this didnt work as i still need the cursor to be visible.

Would setting the cursor rect to empty not just be the same as setting the rect with a 0 width ?

im starting to think it may be just easier to draw a graphic over the top of the cursor and have the graphic's y position based from the cursor index.
You want the cursor to be visible, but not fade in and out? Unfortunately, this function is located in the hidden Window class. Either you just use a Sprite to mimic the cursor or just deactivate the window and write a custom update method to handle the input regardless.
I am currently using Yanfly's Party System that lets you change members during battle, and MogHunter's Advanced Battle Hud.

The problem is, when I switch the characters in my party during battle, their faces on the hud won't change. Even when I remove them, the hud is still there. The characters do get switched out, but their huds won't update.

Is there anyway I could fix this ?
biggrin.png


http://www.atelier-r.../ACE_BAT03.html

http://yanflychannel...s/party-system/

http://yanflychannel.../command-party/

Can anyone help me with my problem ? :|
Can anyone help me with my problem ? :|
This sounds like an issue that deserves its own topic.Just a little tip if you do: make a demo that includes all the scripts you're using and replicates your issue. You will be hardpressed to find someone that will set up your issue for you.

Also, remember that you are allowed to bump topics every 72 hours. You only posted your issue yesterday. (Yes, I know this is a stickied topic,)
Can anyone help me with my problem ? :|
 # This snippet should be placd below both Moghunters battle hud and # Yanflys party change script thing. ;p#==============================================================================module Mog_Hud_Reset_On_YF_Party_Change#==============================================================================    Reset_Mog_Hud = true  end if Mog_Hud_Reset_On_YF_Party_Change::Reset_Mog_Hud#==============================================================================class Scene_Battle < Scene_Base#==============================================================================  alias :cmndpty_yf_script :command_party   def command_party    old_party = $game_party.battle_members.clone    cmndpty_yf_script    if old_party != $game_party.battle_members      @spriteset.create_battle_hud     end  endend # Scene_Battleend # if Reset_Mog_HudShould ** work, dont sue me if it doesnt 🙂

You want the cursor to be visible, but not fade in and out? Unfortunately, this function is located in the hidden Window class. Either you just use a Sprite to mimic the cursor or just deactivate the window and write a custom update method to handle the input regardless.
Yea, thats what i was originally was talking about. i had traced it back to the updated method within the window class. was just wondering if anyone knew a way to stop it from flashing easily to avoid me making a new sprite image, its all good though 🙂
 # This snippet should be placd below both Moghunters battle hud and # Yanflys party change script thing. ;p#==============================================================================module Mog_Hud_Reset_On_YF_Party_Change#==============================================================================    Reset_Mog_Hud = true  end if Mog_Hud_Reset_On_YF_Party_Change::Reset_Mog_Hud#==============================================================================class Scene_Battle < Scene_Base#==============================================================================  alias :cmndpty_yf_script :command_party   def command_party    old_party = $game_party.battle_members.clone    cmndpty_yf_script    if old_party != $game_party.battle_members      @spriteset.create_battle_hud     end  endend # Scene_Battleend # if Reset_Mog_HudShould ** work, dont sue me if it doesnt 🙂
It kinda did... When I remove a character, their hud will disappear, but the faceset doesn't. Also, the hud and faceset still didn't change when I switch characters. 😀
hmm, strange. from what i could tell that shouldve completely reset the hud. there must've been something i overlooked. and judging from what your saying its that it didnt re-initialize the faceset... il try again ^_^ 
Is there an online reference for VX Ace's scripts?  Kind of like this, except that was for XP.

I don't even need all the fancy extra information; just the ability to not have to keep switching tabs in that editor (and losing your place) when editing/extending the base scripts would be a great help.
This?
hmm, strange. from what i could tell that shouldve completely reset the hud. there must've been something i overlooked. and judging from what your saying its that it didnt re-initialize the faceset... il try again ^_^ 
Thanks for doing this. I am waiting for your good news.  😀

Original thread: https://forums.rpgmakerweb.com/threads/ruby-rgssx-questions-that-dont-deserve-their-own-thread.150/