Status
Not open for further replies.

Kes

Regular
Regular
Joined
Aug 3, 2012
Messages
23,808
Reaction score
13,729
First Language
English
Primarily Uses
RMMZ
I am trying to implement an additional accessory slot at a particular point in the story. So far I've hit a blank wall.

I have found a plugin which can give additional slots here, but if I have understood it correctly, these can only be added at the beginning, rather than during the game.

Can anyone give me pointers at least? I have VS plugins.

Thank you.
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
14,646
Reaction score
16,073
First Language
English
Primarily Uses
RMVXA
Probably going to need a plugin or something unique with VS for this I'm afraid. I'll move you to Plug-in support.
 

Andar

Regular
Regular
Joined
Mar 5, 2013
Messages
39,329
Reaction score
11,498
First Language
German
Primarily Uses
RMMV
Most people (including yanfly) are only giving static equip slots with their plugins, as can be easily seen by them all using notetags.

What you want is dynamic equip slots, which means having a script command to add equip slots at some point later in the story.
The only one I ever found to have programmed dynamic equip slots is Tsukihime (both for Ace and MV), but Tsukihime never made MZ plugins.

You can try to check if his MV plugin can be transferred using FOSSIL.

Other than that the key is finding an MZ equip slot plugin that gives a script command for adding slots, no plugin that limits itself to notetags will work later in the game.


EDIT:
The pluign you linked might have a workaround if you make different actors with different static equipment slots for early and later story parts, and then change the actor when you come to that part.
But that will have its own problems with transfering actor values and so on.
 
Last edited:

Kes

Regular
Regular
Joined
Aug 3, 2012
Messages
23,808
Reaction score
13,729
First Language
English
Primarily Uses
RMMZ
@Andar Thanks for the info.
I looked at the relevant page on Tsukihime's web site and it seems that although the plugin allows for more than one slot for each type of gear, these aren't added dynamically, which is the very thing that I need.
 

Andar

Regular
Regular
Joined
Mar 5, 2013
Messages
39,329
Reaction score
11,498
First Language
German
Primarily Uses
RMMV
these aren't added dynamically, which is the very thing that I need.
Then you didn't look correctly, here is a copy of the relevant part of tsukihime's plugin page:
Code:
Adding and Removing Equip Slots Dynamically

You may want to add or remove equip slots during the game.
To add an equip slot, use the script call

ACTOR.addEquipSlot(ETYPE)

Where the ACTOR is a reference to a Game_Actor object, and the ETYPE is the name or ID of the equip slot you want to add.
 

Kes

Regular
Regular
Joined
Aug 3, 2012
Messages
23,808
Reaction score
13,729
First Language
English
Primarily Uses
RMMZ
@Andar You're right, I did overlook that. Thank you for drawing it to my attention.
 

FrigidGaze

Regular
Regular
Joined
May 12, 2022
Messages
203
Reaction score
276
First Language
English
Primarily Uses
RMMZ
Heya,

If you're using Visustella--does this section of the Equips core suit your needs?


Scroll down a tiny bit to see the 'Change Equip Slots' plugin command details. Granted, it doesn't just add a new slot on top of the existing ones, you'd have to define all the old ones still that you had by default, with the extra accessory slot included. But it seems like it might be what you're looking for without potentially having to dip into the unpredictable nature of FOSSIL'd plugins. Another option to look at, at the very least and see what might suit your needs best!
 
  • Like
Reactions: Kes

Kes

Regular
Regular
Joined
Aug 3, 2012
Messages
23,808
Reaction score
13,729
First Language
English
Primarily Uses
RMMZ
@FrigidGaze I'll certainly look into that. I have had a couple of problems with FOSSIL, so it might be best to avoid adding any more plugins to it if I can.
Thanks for the suggestions.
 

caethyril

^_^
Global Mod
Joined
Feb 21, 2018
Messages
5,042
Reaction score
4,395
First Language
EN
Primarily Uses
RMMZ

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.

Latest Threads

Latest Profile Posts

I will probably need this again:

So I put it here. Feels easy to access now.
AAAGH... I hate navigating the new RPG Maker website!
Forgive my rudimentary video editing skills, thought I'd start sharing progress on my status posts as well. Here's the second character of my roster, Mǽlhafoc, the Ælven ranger.

And if you missed the first one many moons ago, here's Vilhelm, the tarnished knight.

Forum statistics

Threads
135,017
Messages
1,252,932
Members
177,939
Latest member
swat1089
Top