Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cool, sortable item menu
#1
This is a locked, single-post thread from Creation Asylum. Archived here to prevent its loss.
No support is given. If you are the owner of the thread, please contact administration.


This is the half-finished version of another item menu I'm working on, but since this is good as is, and some might not want to use/wait for the other... here you go.


:note: Well, you can sort:
  1. Alphabetically
  2. By cost
  3. By Size(read on)
  4. By weight(read on)
  5. Show only items
  6. Show only weapons
  7. Show only armors
  8. Show only shields
  9. Show only helmets
  10. Show only Accessories
  11. Show only keyitems(read on)
All this is accessible ONLY through the main menu, and items CANNOT be sorted in battle.

The sorting is "deleted" after exiting the item menu.

It messes with a few things, including the item menu(duh) and scene Item(duh again), and it adds abit of scripts.


Interested? Call 1800-JITEM NOW

(j/k)

Here's the script and instructions for installing. It will take A LONG time to set up, ESPECIALLY if you have alot of items, weapons and armors...

So sit back and listen :icon_jook:

Put THESE scripts in new spots above main:
Item METHODS
Constans and Instructions
Sorting Window

Then, either replace or, prefferably, add above main, the following scripts:
Scene_Item
Window_Item

Well, done... NOT :icon_fU:

Now, for the database setup...
Add 13 attributes.
Give all keyitems attribute 17
Attributes 18-24 are SIZE attributes, starting with the smallest.
Attributes 25-29 are WEIGHT attributes, starting with the lightest.

If you don't set this up, the keyitem sorting choice, the weight sorting choice, and the size sorting choice will do nothing.

Ofcourse, you could set up only the ones you want, the rest will be automatically given default values.

The attributes can be changed in the "Constants and instructions" script. Instructions as well.

Press Shift or Z to access the sorting menu, and the same or X to exit it.


The most should be obvious but here's what the sorting choices do:
"Abc"
Sort items alphabetically
"$"
Sort items by cost
"Size"
Sort items by size
"Weight"
Sort items by weight
Apple
Show only items, then you can sort alphbetically or size or whatever
Sword
Show only weapons, then you can sort alphbetically or size or whatever
Armor
Show only armors, then you can sort alphbetically or size or whatever
Shield
Show only shields, then you can sort alphbetically or size or whatever
Helmet
Show only helmets, then you can sort alphbetically or size or whatever
Necklace
Show only , then you can sort alphbetically or size or whatever
Pheonix Feather
Show only keyitems, then you can sort alphbetically or size or whatever
Bag
Show all items/weapons etc., then you can sort alphbetically or size or whatever



Major mistake made, you have to call this script at the very start of the game:

$game_item=Game_Item.new

put it in Scene_Title if you know how, like I could stop you... otherwise call it with an event.



If you want a "lighter" version that doesn't take as long to setup, scroll down a bit. You still have to start the game with the call script, but the only dtabase work needed is for keyitems.

UPDATE:
Fixed the glitch with the cursor staying in position even if there isn't an item there after sorting, just copy Scene_Item again. Some unneccesary methods in Item METHODS were removed as well.
}


Possibly Related Threads…
Thread Author Replies Views Last Post
  GameOver Menu V.2 xLeD 0 2,123 10-03-2006, 01:00 PM
Last Post: xLeD
  Change menu character sprites to Pictures like in rpg maker 2003 Abyssos 0 3,628 09-28-2006, 01:00 PM
Last Post: Abyssos
  Slipknot's adorable menu Ordaz 0 2,073 09-09-2006, 01:00 PM
Last Post: Ordaz
  Wallet and Item Capacity Levels Ragnarok Rob 0 5,586 08-11-2006, 01:00 PM
Last Post: Ragnarok Rob
  Pre-Title menu Tony 0 2,205 08-04-2006, 01:00 PM
Last Post: Tony
  Tasty custom menu screen with gradients tktarr 0 2,453 07-05-2006, 01:00 PM
Last Post: tktarr
  Addonscript for FFX2 Menu Akxiv 0 2,345 06-17-2006, 01:00 PM
Last Post: Akxiv
  Save menu edit Kairose 0 2,247 01-23-2006, 01:00 PM
Last Post: Kairose
  Scrolling Selectable Menu Ultrapokemaniac 0 2,172 01-08-2006, 01:00 PM
Last Post: Ultrapokemaniac
  introtexte in menu title, Berith 0 2,404 12-28-2005, 01:00 PM
Last Post: Berith



Users browsing this thread: