Want to change the menu and get rid of a bug. How?

Hello you 🙂

I am are going to study game design/developement and make a game with rpg maker vx ace for application. As i want it "as perfect as possible" to impress the people at the university i want to get rid of some unneeded stuff and of a bug. I dont need the window which shows the player and party members as it is an andventure game. And i also dont need the money window because no money is used.

Then there is the window where you select the inventory, when you want to open it. At first you click on inventory and than you have to click a second time to finally open it. I dont want this second time 😛

Unbenannt.PNG

And i have some kind of a bug. In my inventory there are 99 items i never put in there. I dont have a method in my game to give the actor 99 unnamed items. Maybe someone knows how that happens?

t.PNG

can some one give the lines to change in the script to get rid of the money window, the actor window and the second item window?

I tried to find it on may own but i kind of messed it up...

Anna
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.


Where did you download it from? Is it a purchased product or one that's been shared online?


There is no bug that gives 99 unnamed items, so it's something you've added, or it's something in a script (hence the "where did you download it from" question).


Do you want ANY of the menu there at all? If not, it's as easy as using the Change Menu Access command (3rd page of event commands, I think).


And the "having to click twice to get to the items window" is simply the category window. So you don't want to select a category. Does that mean you want all the items, key items, weapons and armor to show in the same window? Or just non-key items?
What product do you mean? The rpg maker vx ace? I purchased it.

I want the menu but i dont want some of the windows because i dont need them as i am are not making an rpg but an adventure game (like point and click adventure)

I already have all the items in one screen 😀 I could get rid of the skill window etc and i only need the item window. So it feels a bit wired to select the category items after already choosing items. I only have items and no weapons and skills and stuff. If it is not possible than it is okay but if its possible i would love to remove it.

The "bug" is not in every game i made and i dont know how it appeared as i really searched for an event that secretly adds items but i could not find any

EDIT: I managed to get rid of the status window and of the gold window. But i noticed that you have to select an actor if there are to members in the party. Is it possible to leave that out and pretend to only have one party member? I already managed to not select but than the game got stuck ofcourse because it waited for an input. Any possibility of not choosing an actor for item use?
It could also be in a script. Also look in common events. There's definitely something that's setting it up, as it doesn't happen by default.


Do a search in the RGSS3 Script Requests and RGSSx Script Support forums. I know there have been numerous requests to remove the Category selection, so that should get you that far. To remove the other menu items, just comment out the line in Window_Menu (I think that's the name of the script) that have the skill and equip options and any others that you don't want (you don't have to get rid of them from the Scene_Menu class, because if they're not in the window, they can't be selected).


As far as getting rid of the character screen, I think that's Window_MenuStatus. The easiest way is probably to find the line (use control+shift+f to do a global search) that has Window_MenuStatus.new and at the end of that method, add @status_window.visible = false (check that @status_window is the variable used in that method). Hopefully if you've gotten rid of all the menu commands that cause the status menu to be used (Status, Skills, Equipment), you just need to hide it and not actually remove it.


I don't have Ace open looking at it while I'm writing this. Hopefully the above will be enough of a pointer that you can go and check it out.


However, if you've messed things up too much, you may need to start a new project and grab the Scripts.rvdata2 file from there, to get things working again that you've broken.
Okay so this is what it look right now: 

Unbenannt.PNG

This is exactly what i wanted 😀

Only one "problem" missing. I think choosing the category is okay to stay but i dont want to choose a character when i wnat to use an item.

t.PNG

I want to hide the window. there is already no text inside (cause i hide the Status screen in the menu)

Maybe there is a way to "pretend that there is only one actor even if there are two"?
Oh, in that case you need to change the scope of the item in the database. I don't have it open in front of me, but you can set it to an ally, all allies, an ally (dead), all allies (dead), an enemy, all enemies, etc. You might need to change it to None or The User. None is probably appropriate if you don't want to select anybody. I do have a feeling someone asked for something similar not too long ago and wanted to make it apply automatically to the first character (party of one), but it still came up with the selection window. That required a script change. If you looked hard enough you'd be able to find that in the Script Requests or Support forum too, but I can't think of the best search terms to use.
Yay Thank you 😀 now all problems (except choosing category) are solved 🙂 Thank you 😉

Edit: I found the reason for the "bug" and got rid of it 😀  

Original thread: https://forums.rpgmakerweb.com/threads/want-to-change-the-menu-and-get-rid-of-a-bug-how.36500/