Add More Slot Types Than Just Dual Wield

Shimbius

Writer and Audio Specialist
Veteran
Joined
May 13, 2016
Messages
34
Reaction score
4
First Language
English
Primarily Uses
RMMV
I'm wanting to add more types of slots than just dual wield. What I'm specifically wanting to do is add additional presets of equipment slots that just two in Fomar0153's Custom Equipment Slots Script. Basically adding more than two sets of this:


class Game_Actor < Game_Battler
  #--------------------------------------------------------------------------
  # ● Rewrites equip_slots
  #--------------------------------------------------------------------------
  # Edit here to change what slots are available to your characters
  # 0 - Weapon
  # 1 - Shield
  # 2 - Head
  # 3 - Body
  # 4 - Accessory
  # 5+ a custom slot
  def equip_slots
    return [0,0,2,3,6,5,4,4,7] if dual_wield?
    return [0,1,2,3,6,5,4,4,7]
  end
end


Or just how would I make it possible for additional options for equipment slot presets other than the two listed in this set of code?
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,434
Reaction score
7,713
First Language
German
Primarily Uses
RMMV
I've moved this thread to Script Support. Please be sure to post your threads in the correct forum next time. Thank you.


Also, please give a link to a script if you have a question about it, we can't search the web for every script to check it ourselves.



I think you'll need to give a better explanation of what you want, because "Dual wield" is not a slot type - it is an option to switch the list of slots for some actors.


The slots themselves are the numbers in the array, and with that script you can use the dual wield option to change which of the two slot lists applies to which actor.


If you want to give each actor a different slot list, then you'll need a different script - both Tsukihime and Yanfly wrote equip managers that can do that.
 

Shimbius

Writer and Audio Specialist
Veteran
Joined
May 13, 2016
Messages
34
Reaction score
4
First Language
English
Primarily Uses
RMMV
Yeah that's exactly what I wanted basically. I found Yanfly's script. Thanks


And I'm new to the forum so I didn't know what pages there were for posting. I'll make sure to look over it next time to be sure I'm posting in the right place! =D
 
Last edited by a moderator:

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

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,051
Messages
1,018,549
Members
137,837
Latest member
Dabi
Top