Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Rearranging the Equip Screen in RMXP

This seems like something easy to do, but whenever I test it, it's not working right. I'm trying to rearrange the equipment in the scene_equip screen so that it goes in this order: Weapons, armor, helm, shield, item

I'm able to arrange it so that it displays properly, however, when I go to equip a new item, then the corresponding slot doesn't work. For example, I am able to have it display like this:

Code:
Bronze Sword

Bronze Armor

Bronze Helm

Bronze Shield

Ring of Dexterity

But when I go and select the 'Bronze Armor' to change it out for another armor then this happens:

Code:
Bronze Sword

Bronze Armor

Bronze Helm

 

Ring of Dexterity

So it seems that the Bronze Armor is still linked to slot[3] where the shield is. I've looked in the scene_equip, window_equipRight and window_equipItem, and I can't seem to find where to set the slots so that it slot[0] = weapons, slot[1] = armor, slot[2] = helm, slot[3] = shield and slot[4] = items.

Apparently the default is currently: slot[0] = weapons, slot[1] = shield, slot[2] = helm, slot[3] = armor and slot[4] = items

I hope this makes sense. Does anyone know how to rearrange the items so that it points in the right slots?
 

Atoa

Member

Only Because an item is classified as "Helm" in the database, it doesn't meant that the equip MUST be an Helmet.

If you name all your shields with armor names and add armors icons and armors status, they will be armors for the player.
So instead of changing the script, just change the things in database.

Classify armors as shields and shields as armors and you will get the effect you want.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top