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.

Is it possible to have a multiple weapon slots?

I am wondering if it is possible to add an additional weapon slot. During your turn in battle, you would be able to chose to attack with one of the two equipped weapons, but not both.

Any help / suggestions are greatly appreciated.

Thanks.
 
That is Guillaume777's final version as he gave it to me. I recognize it as I left the headers for the Actor, Windows and Other page scripts alone (still showing version 6.2.1). :biggrin: A multiple slot system is needed for his request, true. But this is only part of what he needs.

An additional bit of editing will be needed when the Attack/Item/Skill/Defend window comes up. After choosing Attack, you will want another window come up with two weapon options. Here you make the decision whether weapon 1 or weapon 2 will be used.

After identifying which weapon, it is stored for later use. It will be used in a rewritten 'make_basic_action_result' method. Before anything occurs, you will want to make sure that the weapon being used is the one you selected earlier. The battle animations change and the damage and chances and all switch over to the chosen weapon. And then, after all the attack stuff is done, it resets, cleaning up everything.

One thing to note. Most multi-slot systems combine the strengths, weaknesses and attack power of all equipped weapons into one stat. You will want to eliminate that feature as you want each weapon handled separately.
 
Thanks for the help. Since I don't know RGSS, and don't have time to learn right now, I am going to put this idea on the back burner. Anyone who wants to use this idea, feel free to.

Thanks again.
 

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