RogueDeus - Extra Weapon Types (multiple types on a weapon)

Roguedeus

It's never too late to procrastinate...
Veteran
Joined
Mar 19, 2013
Messages
532
Reaction score
107
First Language
English
Primarily Uses
N/A
This is a very simple plugin that will allow you to assign 'extra' weapon types to any weapon in the database.



It will not replace the default weapon type assigned to the weapon for purposes of equipping. That functions normally.


It will allow for skills that have been set to require a Weapon Type (In order to be used), to qualify for use if the weapon in hand has been assigned extra Weapon Types.


Example:
 

Setting a skill to require a Staff to use.


16_0131_multiWeaponTypes_example_skill.JPG


Making sure that you know the Staff Weapon Type ID.


16_0131_multiWeaponTypes_example_wtypes.JPG


Adding the extra Weapon Type to a Weapons Note.


(Note: You will notice that the Sword is assigned its Weapon Type normally. This plugin DOES NOT REPLACE that need.)


16_0131_multiWeaponTypes_example_weapon.JPG


Will now allow this sword to qualify as a Staff, for purposes of using the skill above.


16_0131_multiWeaponTypes_example_actorequips.JPG


16_0131_multiWeaponTypes_example_battleSkills.JPG


Repeat... This will NOT allow an actor that does not know how to Equip a Sword, to do so as if it were a Staff. This only qualifies the sword as a staff for skill use. Nothing more. ;)





Terms of use:

You must sacrifice your first born to me, so that I may feed upon its soul as fuel for my ascension into a celestial power!!


Oh... Seriously?


Do what you want with it!


I only ask (though do not require) that you mention me in your credits.


(Yes, this means you can use it in a Commercial project!)


Also... I received code examples and feedback from Tsukihime (Himeworks) so throw some love their direction as well!



Known Compatibility Issues:
 

This does not play well with Yanfly's Item Core, Independent Items. So if you are using that plugin make sure that you enable Midgame Note Parsing, in its parameters.


If you are not using Independent Items, then you shouldn't have a problem.





Installation & Use:
 

Add this plugin (name it whatever you like, it has no parameters) under any other plugin that alters weapon objects. Such as Yanfly's Item Core.


Then add this note tag to a weapon to add EXTRA weapon types: <weapon types: wtypeID, wtypeID, etc...>


Example: <weapon types: 4> (Will add wType 4 to the weapon.)
Example: <weapon types: 4,3> (Will add wTypes 4 & 3 to the weapon.)


Thats it!





The Plugin.


View attachment RD_ExtraWeaponTypes.js
 
Last edited by a moderator:

Ice Bear

Ice Bear for President
Veteran
Joined
Jun 18, 2014
Messages
60
Reaction score
20
First Language
English
Primarily Uses
This is great! I do need weapons that require multiple types!
 

sb~

Villager
Member
Joined
Aug 2, 2016
Messages
17
Reaction score
6
First Language
English
Primarily Uses
Exactly what I was looking for and works perfectly - thanks!
 

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

Latest Threads

Latest Profile Posts

Small rant: While using SRD Hud maker for a battle hud, I typed in the wrong script call and got an error, but then forgot to delete the piece that caused the error before closed the Hud maker and hit F5 to restart the game. Now everytime I engage in a battle my game crashes...
:kaolivid:
Would Jump into Javascript be best off continuing to break down the MV core files, or would people prefer a quick detour to cover everything that's changed in the core from MV to MZ?
Not going to lie... PIXI Particles make fantastic graphics... But predicting the hitbox of something with a "fixed size" but whose graphics can stick out past that, is quite challenging. :kaoswt:
Would you like a glass of spiders?

Forum statistics

Threads
100,530
Messages
976,894
Members
132,081
Latest member
Kaezyelnatz
Top