This content is no longer available.
Resident Evil menu/shooting system
RGSS3 Scripts (RMVX Ace)This is pretty old but is there any way to disable and enable the menu anytime? I'm trying to make a new game without the Built-In Gun Thanks.
Because of how I coded it, the menu is always enabled when not aiming. That is actually a blunder from my part, sorry.
Scroll down to the Scene_Map class within my script and replace the call_menu definition with the following:
Ruby:
def call_menu
if $game_switches[n]
Sound.play_ok
Input.update
SceneManager.call(Scene_Item)
end
end
Now you can turn on/off switch n to enable/disable the menu. Change the n to the number you want obviously.
But if you only want the menu without the weapon system, you can skip what I wrote above and just delete the whole Game_Player class within my script. That gets rid of the aiming system and the normal disable menu function should work properly.
Thanks for that, another thing I want to say is that: Is there any way that I can equip a weapon from the "Weapons Section" because if I add +1 Handgun in weapons it won't show up in the menu (Sorry If I couldn't explain it in a more specific way my english is bad)
No, the menu I designed only works with regular items and not weapons/armors. A lot of stuff in the script needs to be rewritten if you want that to work.
Oh, alright.
Hello there, i have a big problem. I don't know why, but when i add some new item in the inventory, they are just a black box and are unusable. Did i do something wrong?
Sorry for late answer. Need more information on this, are you adding an item regularly or with the script line? Is the item scope set correctly? The first icon in the large iconset is a black box that is used for the slot background, so maybe the items icon index is set to the first? Have you changed anything in the script or using other scripts?
OK, I'm sorry for being too hasty, so I'll proceed in stages. Initially the script works fine, but I found a bug within it, and maybe even a solution. I create a save file within the game and then go back into the editor. Then I create a new object in the database with its icon to see if there are no errors, but when I do "load game", the icon is replaced by this "black box" and the object is not recognized. It happens only when I load the game, while if I do "new game" the bug doesn't exist. Obviously this doesn't create problems for me, because when the game will be ready all the objects will have been created, but in the meantime, during programming, there is this little bug. I hope I have been understandable.
I see. In my script I have added $data_items to also be saved when you make a save file. This is to preserve the ammo types when they are changed and not to conflict with other save files. So the old save file contains the old item database and when you load an old save, that save file doesn't contain the newly added items.
Oooh, so that's how the script works. I am not a programmer but I had guessed the "problem". Then it will be better not to create saves when I edit, just the time to complete it. thank you very much, it was just to understand how it works.
Sorry i have another problem. How can i set a text in a variable? I'm talking about the "game_party.enter_password". I can't use text when i'm setting a variable, only numbers...Am i missing something?
In the conditional branch, use the script option and write $game_variables[n] == "PASSWORD" (with the quotation marks and caps)
U will need to tell me the steps, because i keep trying but i can't make it works.
Oh wait, nevermind, i forgot the caps, my bad...
i know this is old but is there an mz version?
Original thread: https://forums.rpgmakerweb.com/threads/resident-evil-menu-shooting-system.142483/