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 Posts

Latest Profile Posts

Quexp wrote on Shaz's profile.
I absolutely love your profile/pic! :kaoluv:
Stream will be live shortly with some Darkest Dungeon! Feel free to drop by!
I made a battle results screen for my minigame.. any feedback? :)
Things I thought would never happen but just did: I needed to use my snow shovel. In August. In the Northern Hemisphere.
So I finished Cupcake, now I need to figure out my next project!
Do I pick up one of my incomplete games?
Do I start something entirely new???
The possibilities are endless!

Forum statistics

Threads
100,682
Messages
978,383
Members
132,307
Latest member
secasus
Top