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.
Need help with changing equip screen around.
RGSS3 Script RequestsWhy 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.
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.
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.
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.
Just when I wanted to post the snippet I made. Ohh, well... 😀
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 .
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 .
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 🙂
Unless you also want to use those fifty other things 🙂
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.
Original thread: https://forums.rpgmakerweb.com/threads/need-help-with-changing-equip-screen-around.71583/