Need help with changing equip screen around.

Status
Not open for further replies.

Tanarex

Scrub
Veteran
Joined
Sep 14, 2014
Messages
468
Reaction score
306
First Language
English
Primarily Uses
RMVXA
 I'm trying to show the equip screen to show slots in the following order: 0, 2, 3, 1, 4 instead of 0, 1, 2, 3, 4. Would appreciate any help I can get. I'm not good with scripts. Thanks.
 

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,162
Reaction score
822
First Language
Hungarian
Primarily Uses
RMVXA
Why would you do that?


You can change the name of the equip slots and the equip type of your equipment in the database, so it can look however you want without any custom scripts.


If you still want to go this way, you can get Yanfly's Equip Engine and re-order your equip slots in that. That will change the display order in any in game menus.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
There is another thread on this.  He wants to use footwear instead of shield, but wants to show it below head and body armor.  His original approach involved renaming all of the slots and going through all of the equipment and changing their types so they would show up in the right place.  I suggested it would be easier to just change the display order on the equip screen.  Someone already suggested Yanfly's script but he had issues with it.


It would be as simple as having an array of slot ids [0, 2, 3, 1, 4] and using the Window_Equip... index to get the slot id from that array, and then use the result to refer back to the actor & equipment, rather than linking directly from the index to the actor/equipment.  I believe it would be a very small and simple script, but I just don't have time to write it myself.


Edit: Just saw in the other thread that he got Yanfly's engine working properly, so this is probably no longer required.
 
Last edited by a moderator:

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,162
Reaction score
822
First Language
Hungarian
Primarily Uses
RMVXA
Just when I wanted to post the snippet I made. Ohh, well... :D


And yeah, it's not hard to change the display order, but it requires many overwrites, which makes it's compatibility with other scripts a tad bit low.


Anyway, here is the snippet I wrote if anyone is still interested in it: http://pastebin.com/NzvCnqEf .
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Yep, post it anyway.  I always think a small snippet to do a very specific task is way better than an "engine" which might or might not require other plugins, that does the desired job plus fifty other things as well.


Unless you also want to use those fifty other things :)
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
15,354
Reaction score
8,533
First Language
English
Primarily Uses
RMMV
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD

Forum statistics

Threads
105,868
Messages
1,017,070
Members
137,577
Latest member
SadaSoda
Top