RogueDeus - Required Weapon Types (for skill use)

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' required weapons to any Skill in the database.


Note: By default, MV only allows a single weapon type to be assigned to a weapon. So, without a plugin that adds extra weapon types, such as my Extra Weapon Types plugin, this plugin is essentially useless.


This plugin will not replace the default required weapon assigned to a skill. Without one, this plugin will do nothing.


It will only allow for skills that have been set to require at least ONE Weapon Type, to require one or more additional types.


Example:
 

Knowing your Weapon Types:


16_0131_requiredWeaponTypes_example_wtypes.JPG


Setting a skill to require both a Staff & that Staff to have Dragon Magic.


16_0131_requiredWeaponTypes_example_skill.JPG


Making sure the weapon has the Extra Weapon Types.


16_0131_requiredWeaponTypes_example_weapon.JPG


Will now allow this Staff to qualify the actor to use the skill above.


16_0131_requiredWeaponTypes_example_actorequips.JPG


16_0131_requiredWeaponTypes_example_battleSkills.JPG


But not the Spark skill that has been set to require Human Magic!


16_0131_requiredWeaponTypes_example_skill_2.JPG


You'll notice that BOTH SPELLS are assigned the Staff Weapon Requirement. It is the addition of another weapon type, that is disabling one spell and allowing the other!





Terms of Use:

No... I changed my mind. You can't use it. Just ADMIRE it. Soooo useful!!


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!)





Known Compatibility Issues:

None that I am aware of! (This may change)





Installation & Use:

Add this plugin (name it whatever you like, it has no parameters) under my other plugin Extra Weapon Types. Which you should be using otherwise this plugin is kind of pointless!


Then add this note tag to a skill to require additional weapon types: <required wtypes: wtypeID, wtypeID, etc...>


Example: <required wtypes: 8> (Will add wType 8 as an additional requirement to either of the regularly assigned requirements.)
Example: <required wtypes: 8,7> (Will add wType 8 and 7 as additional requirements to either of the regularly assigned requirements.)


Note: The added required weapon types are applied to EITHER of the normally assigned required weapons. However, only ONE needs to be assigned.


Thats it!





The Plugin.


View attachment RD_RequiredWeaponTypes.js
 
Last edited by a moderator:

RK DracoRoy

Fire Emblem RPG Gamer
Veteran
Joined
Jun 29, 2017
Messages
163
Reaction score
22
First Language
English
Primarily Uses
RMMV
This was the kind of the plugin I was looking for! However, I don't think I'll need the extra enemy weapon types plugin.

I only use this to grey out the "Attack" command whenever an actor isn't equipped with any weapon, which really solves my needs for a Fire Emblem like game.
 

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

Latest Threads

Latest Profile Posts

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.
I urge *every single one of you* to play this demo from Mhin Ra: https://forums.rpgmakerweb.com/index.php?threads/players-wanted-for-alpha-long-journey-to-farewell.123326/. It's simply amazing, it's a very high quality product with very good gameplay. This amount of effort must be recognized.
FirestormNeos wrote on Tai_MT's profile.
Do you have a link handy to posts you've written explaining the flaws of on-screen encounters?

Forum statistics

Threads
99,198
Messages
962,922
Members
130,779
Latest member
moge-mic
Top