Puppet Knight

Knight on a Crossbar
Regular
Joined
Aug 3, 2022
Messages
714
Reaction score
894
First Language
English
Primarily Uses
RMMZ
The <offHWeapon> weapons that aren't meant to be armor
1676379780712.png

1676379854062.png
1676379866605.png

The <shld> showing in armor
1676379817861.png

1676379956101.png



This is actually ideal to not have to double tag a single piece of equipment lol
 
Last edited:

Maliki79

Regular
Regular
Joined
Mar 13, 2012
Messages
1,045
Reaction score
527
First Language
English
Primarily Uses
RMMV
Correct, but it would also require me to rework a bit of the code to accommodate the request. I simply don't have time for it right now. One extra tag on some equipment hopefully won't be too much.
I'll revisit this later time permitting.
 

Puppet Knight

Knight on a Crossbar
Regular
Joined
Aug 3, 2022
Messages
714
Reaction score
894
First Language
English
Primarily Uses
RMMZ
I'm showing you how it's currently set up and how it's translating in game. Those are my actual settings and results.

Nothing added needed more. I'm saying you don't in fact actually need the extra tag ^_^
 

Maliki79

Regular
Regular
Joined
Mar 13, 2012
Messages
1,045
Reaction score
527
First Language
English
Primarily Uses
RMMV
Oh. Happy mistake.
I can live with that.

But does the equipping part work?
It probably shouldn't...
 

Puppet Knight

Knight on a Crossbar
Regular
Joined
Aug 3, 2022
Messages
714
Reaction score
894
First Language
English
Primarily Uses
RMMZ
Oh. Happy mistake.
I can live with that.

But does the equipping part work?
It probably shouldn't...


I do in fact need both notetags for it to be offhand only -___-. Might've been moving to fast for my own good and didn't realize it.

However, I did discover an alarming bug as a result:

Using the traditional "Clear" command when you have an item tagged as <shld> equipped to the offhand slot disappears that item from your inventory if the "must Use main" param is set to true(1)

1676386644267.png

Equipping to offhand:

1676387488822.png
1676387525341.png
After hitting clear:

1676387384998.png

Repeated with wooden shield:

1676387577543.png

1676387595261.png
 

Maliki79

Regular
Regular
Joined
Mar 13, 2012
Messages
1,045
Reaction score
527
First Language
English
Primarily Uses
RMMV
Ooohhh... That's a nasty vday gift right there! I'll check it out when I can. Might go ahead and rewrite the offhand stuff too depending.
 

Puppet Knight

Knight on a Crossbar
Regular
Joined
Aug 3, 2022
Messages
714
Reaction score
894
First Language
English
Primarily Uses
RMMZ
Ooohhh... That's a nasty vday gift right there! I'll check it out when I can. Might go ahead and rewrite the offhand stuff too depending


Sounds good. Glad I caught it, almost didn't notice the first time around haha
 

Puppet Knight

Knight on a Crossbar
Regular
Joined
Aug 3, 2022
Messages
714
Reaction score
894
First Language
English
Primarily Uses
RMMZ
Touching base if you'd had a chance to work on this one?
 

Maliki79

Regular
Regular
Joined
Mar 13, 2012
Messages
1,045
Reaction score
527
First Language
English
Primarily Uses
RMMV
Touching base if you'd had a chance to work on this one?
Not quite done, but at a usable state.
Here's the LINK.

I'm still working a few kinks out, but this SHOULD fix the major item-eating bug you described.
Note that the plugin is technically NOT the MZ one. Please note the new name when saving it.

Also, note that I removed the param for showing shield items as off-hand and shields were basically the same as far as my plugin logic is concerned. So now if you tag an item <offHand> it will appear as a weapon and <shld> will appear as armor. outside of that, they both will be offhand only weapons.

Let me know if you need anything more.
 

Puppet Knight

Knight on a Crossbar
Regular
Joined
Aug 3, 2022
Messages
714
Reaction score
894
First Language
English
Primarily Uses
RMMZ
So now if you tag an item <offHand> it will appear as a weapon and <shld> will appear as armor. outside of that, they both will be offhand only weapons.
Love this.

I'll give it a test tonight when I get back home. Thank you
 

Puppet Knight

Knight on a Crossbar
Regular
Joined
Aug 3, 2022
Messages
714
Reaction score
894
First Language
English
Primarily Uses
RMMZ
Happy almost afternoon,

Something that came to mind as I'm configuring bits for my own plugin. Is there any way to alter your plugin (maybe as a parameter option?) to account for Equipment Slots being in a funky order?

For Example my projects equipment slots begin with "5, 1, 2" So that a specific Equipment type takes priority. A setting to configure where slots 1 and 2 appear would be awesome for makers using different stylings that still want to incorporate dual wielding.

Currently what happens if an actor is Dual Wielding:

1679500442899.png

The "Off-Hand" slot is defaulting to the 2nd equipment available even tho, that technically is the Weapon Slot, and the Weapon Slot is somehow becoming slot

I'd imagine the parameters could look something like this in the plugin manager:

@param Custom Slot Order?
@test Using Custom Equip Slot Order?
@type boolean
@Default true

@param Slot Order
@text If True, What is the Slot Order
@desc Comma-separated list of equipment slots in order of use
@type string
@Default 1,2,3,4,5


It should be noted that I am also using my own plugin to change the equipment slot order, so if you see anything I can adjust there for the shield index be sure to let me know so I can update it on my own plugin and avoid unnecessary changes to yours ^_^.

Puppet Knight - Equip Slots Change
 

Maliki79

Regular
Regular
Joined
Mar 13, 2012
Messages
1,045
Reaction score
527
First Language
English
Primarily Uses
RMMV
Sorry. That one would be a bit too much for my plugin. Your best bet would be to keep the two weapon slots as the first two equipment slots.

You can of course try to edit my plugin for your project but you'll find that the logic would be a nightmare to code if the slots could be random and/or you have more than 2 weapon slots.
 

Puppet Knight

Knight on a Crossbar
Regular
Joined
Aug 3, 2022
Messages
714
Reaction score
894
First Language
English
Primarily Uses
RMMZ
You can of course try to edit my plugin for your project but you'll find that the logic would be a nightmare to code if the slots could be random and/or you have more than 2 weapon slots.
Not random, will literally always start as 5,1,2 lol.


I'll give it a look over to see what i can tweak or patch.



So Far:


I solved the slot order bit easily enough lines 619 and 861,

1679505037260.png

Just updated the indexes to 2. What would I need to tweak to make sure <shld> and <offHand> only appear in the appropriate slot? Right now they're ("shields" in this case) still showing in Main and Offhand
 
Last edited:

Maliki79

Regular
Regular
Joined
Mar 13, 2012
Messages
1,045
Reaction score
527
First Language
English
Primarily Uses
RMMV
I get that. However, when making a public plugin, I have to consider other users.

Anywho, I'll consider adding something to make your request a bit more feasible on the backend, but don't hold your breath for it.
 

Puppet Knight

Knight on a Crossbar
Regular
Joined
Aug 3, 2022
Messages
714
Reaction score
894
First Language
English
Primarily Uses
RMMZ
I get that. However, when making a public plugin, I have to consider other users.

Anywho, I'll consider adding something to make your request a bit more feasible on the backend, but don't hold your breath for it.
I def don't want ya to do a whole lift just for my special case. Updated the original response i gave since I already started to have at it lol.

Can also move to DMs to avoid spamming others
 
Last edited:

Puppet Knight

Knight on a Crossbar
Regular
Joined
Aug 3, 2022
Messages
714
Reaction score
894
First Language
English
Primarily Uses
RMMZ
Disregard. Im pretty sure I have it all sorted. Super glad to see I'll be able to keep using your plugin ^_^
 

Maliki79

Regular
Regular
Joined
Mar 13, 2012
Messages
1,045
Reaction score
527
First Language
English
Primarily Uses
RMMV
Basically, any point that refers to a specific slot would need to be recoded to use a reference.
So, equips[0] needs to become mainEquip() or the like.

Then the plugin params need to create those references.

Nothing super hard.
 

Maliki79

Regular
Regular
Joined
Mar 13, 2012
Messages
1,045
Reaction score
527
First Language
English
Primarily Uses
RMMV
Updated: Latest version combines MV and MZ versions!
Also added evals to all plugin provided traits!
Note that the notetag syntax has changed a bit.
Make sure to fix any trait related notetags when upgrading to this version!
 

danmartin257

Villager
Member
Joined
Feb 15, 2023
Messages
14
Reaction score
2
First Language
English
Primarily Uses
RMMZ
Hello, I'm trying to use this plugin so characters can swap between either dual wielding or using a one-hand weapon and shield. I've made shields as weapons and given them the <shld> tag, but the character is attacking with the shield like any other off-hand weapon. Is there a way to make it so that characters do not get an attack with the shield? Thank you in advance.
 

Maliki79

Regular
Regular
Joined
Mar 13, 2012
Messages
1,045
Reaction score
527
First Language
English
Primarily Uses
RMMV
What do you mean by attacking with the shield? My plugin does not add attacks for the weapons.
 

Latest Threads

Latest Posts

Latest Profile Posts

Hello everyone im back haha, so im planning to Restart my RPGMAKER project next year when i get new gear to work, But currently im working in Trading card games, if anyone is interested in this world please visit my website :

From there you will be able yo access to my social network profiles or my Discord server.
Good luck to everyone :)
Going back through and fixin' up the dialogue.
Thanks to @Iron_Brew for helping me with this one. Makes you think.
Jaminham.PNG
Experimenting with MV-style spriting, made a round guy :)

image.png
Don’t forget to catch Advent Day #3 compiled right here! Hmm. Let’s make today’s question…what is your favorite dish served at your holiday dinner?
All of the male sprites in New Dawn for the are built off of the third sprite I ever made on top of the first sprite base I made nearly a year ago, and now I'm making the female sprite base, and just by virtue of the amount of elapsed time and the number of sprites I've made since then, I think I'm going to have to revise all of my male sprites at some point.

Forum statistics

Threads
136,727
Messages
1,269,211
Members
180,443
Latest member
picamoles
Top