SerdangJim

Villager
Member
Joined
Jul 26, 2013
Messages
8
Reaction score
0
First Language
English
Primarily Uses
Hi, recently I have started making a horror game which does not use weapons and armors and I would like to remove both these

tabs from the items menu.

Any help would be great, thanks!  :D
 

HumanNinjaToo

The Cheerful Pessimist
Veteran
Joined
Apr 18, 2013
Messages
1,226
Reaction score
612
First Language
English
Primarily Uses
RMMV
Look through the windows area of your scripts. Find the script that relates to the items window and put a # in front of the lines that draw those particular features. Then replace the x,y coordinates of the remaining features with new ones to reposition them where you'd like.
 

Celianna

Tileset artist
Veteran
Joined
Mar 1, 2012
Messages
10,558
Reaction score
5,604
First Language
Dutch
Primarily Uses
RMMV
I've moved this thread to script request. Please be sure to post your threads in the correct forum next time. Thank you.
 

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
6,485
Reaction score
8,273
First Language
Indonesian
Primarily Uses
RMVXA
If you still using category window for item and key item, insert this script

class Window_ItemCategory < Window_HorzCommand def col_max return 2 end def make_command_list add_command(Vocab::item, :item) add_command(Vocab::key_item, :key_item) end endif you want to completely remove category window, insert this script

class Scene_Item < Scene_ItemBase def create_category_window end def create_item_window wy = @help_window.y + @help_window.height wh = Graphics.height - wy @item_window = Window_ItemList.new(0, wy, Graphics.width, wh) @item_window.viewport = @viewport @item_window.help_window = @help_window @item_window.set_handler:)ok, method:)on_item_ok)) @item_window.set_handler:)cancel, method:)on_item_cancel)) @item_window.category = :item @item_window.activate @item_window.select(0) end def on_item_cancel return_scene end endI assume that you don't insert any item menu related script
 

8bitstarfox

Villager
Member
Joined
Jan 22, 2017
Messages
19
Reaction score
0
First Language
english
Primarily Uses
Im using a parallel command that uses a conditional branch where if cancel is pressed it will open the item screen, ive gone into the windows script and put "//" before the weapons, armour and key items (because i only want items) and that worked and only items appeared but when i pressed cancel again to leave the item screen it closed the game, what do i do to make it just close the item screen?
 

Fragarachu

Veteran
Veteran
Joined
Apr 19, 2018
Messages
59
Reaction score
2
First Language
Indonesia
Primarily Uses
RMVXA
Mine works.

Go to Scripts tool
Find Windows_ItemCategory in Windows
Delete everything inside
Copy and paste this to Windows_ItemCategory

Items, Armor, Weapon tab removed, only Key items

I don't know how to change the name "Key Items".
Hope this helps.
 

Latest Threads

Latest Posts

Latest Profile Posts

How many people actually like action commands? (Which is pressing a button at the right time during an attack to deal more damage.)
It is a curse and a blessing getting better at javascript after each plugin... Now I am considering changing two previous plugins completely, and they're not small plugins either -.-' Not to mention that I'll add more features... This is why I never manage to release a game, I just keep updating everything I've already done :p
Hello! Thank you for visiting my Page! ✅
I have done nothing for my game in the last hours but look and modify my spreadsheets. lmao

Forum statistics

Threads
117,029
Messages
1,103,938
Members
152,940
Latest member
PsYcHiC_PuSsYcAt
Top