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

Is it strange that dropping acid is improving my game development?
I'm starting to wonder if I should go the Half Minute Hero route with my game. The character's main weapon is logistically way too strong. So I can't really let the player continuously grow it.... But if they had to build it up each time like HMH, that could work. Also it lets me take advantage of my randomly generated maps so much more. Hmm... This could work! :LZSexcite:
std::vector, std::map and std::string. Three reasons why I'd take C++ over C. :D
Today, 1,932 RPG Maker fans died from being too wow'ed. May they rest in peace.

Forum statistics

Threads
99,199
Messages
962,938
Members
130,779
Latest member
moge-mic
Top