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
613
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,494
Reaction score
8,323
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

since all my maps are hand drawn... I admit, I super envy those who can make the tileset's work. I'm garbage at mapping, but slightly less bad at just drawing my own areas. plus it's easier to draw my own sprites than edit others to look like my characters.
Guys, I made a trailer! And, I also launched the Steam page! If you would like to support the game, please Wishlist it :ahappy: ->
working on some tilesets _ノ乙(、ン、)_

CIBl8xT.png


Oq8WKHX.png
aww man, color hex code #C4C4C4 doesn't work for the tint value in this scene I need something darker, which stinks just because I liked that one it was my favorite plastic explosive three times...#696969 (nice) should work better (WHY IS MY BRAIN LIKE THIS)
Tell it to me straight, doc. If I've been trying to piece together a "shorter" game to learn stuff outside of game jams... am I just running away from my WIP? :v

Forum statistics

Threads
117,284
Messages
1,106,139
Members
153,471
Latest member
Minedude209
Top