Original Source
- Original title: GDT Enemies use Items [v1.0 - 2019/09/08]
- Original author: Gilles
- Original date: September 8, 2019
- Source thread: https://forums.rpgmakerweb.com/threads/gdt-enemies-use-items-v1-0-2019-09-08.113058/
- Source forum path: Game Development Engines > RPG Maker Javascript Plugins > JS Plugin Releases (RMMV)
Summary
Introduction The RPG Maker MV allows Enemies to use Skills, but not to use Items. Why should they use Items? Items can be used a limited times. For Example: If a bird monster has a stone in it's claws it may drop it into you. Even if it still has many HP left. Enemies with Bows can have a limited amount of arrows to shoot and so on.
Archived First Post
The RPG Maker MV allows Enemies to use Skills, but not to use Items.
Why should they use Items? Items can be used a limited times. For Example: If a bird monster has a stone in it's claws it may drop it into you. Even if it still has many HP left.
Enemies with Bows can have a limited amount of arrows to shoot and so on.
This plugin allows you to add items on enemies at Battlestart. (Every enemy has its own items).
We use the the behaviour of Skills, which can be configured to used at some conditions. This is the reason why we create Fake Skills which map to Items. We use these Fake skills in the enemy configuration for attacks and give enemies their items via Notetags.
Setup
Download these 2 Plugins:
GDT_Core (Needed If an enemy has more than 1 different item): https://gitlab.com/gamedevtuts/mixed-plugins/raw/master/js/plugins/GDT_Core.js
GDT_MonstersUseItem: https://gitlab.com/gamedevtuts/mixed-plugins/raw/master/js/plugins/GDT_MonstersUseItem.js
Copy them into your plugins folder and include them in your Projekt via RPG Maker.
If you use the GDT_Core, be sure to include it before GDT_MonstersUseItem.
How to use
Fake Skill:
Create a new skll which represents the Item and use this notetag inside its comment field:
<isitem: itemid>
Example:
<isitem: 12>
Give Enemies Items:
Go to the Enemy which should receive Items on Battle Start and write one or more Notetags in the comment field
<hasitem: itemId, count>
replace count with the number of items the enemy should receive
Example:
<hasitem: 30, 10>
Enemies should use Items:
Just use the Enemys Action Patterns with the Fake Skills
Example Video
Example Project
https://gitlab.com/gamedevtuts/mixed-plugins
Author
Gilles alias Gamedev-Tutorials
Terms of Use
Commercial & Non-commercial: Free to use with credits to 'Gamedev-Tutorials' for using this plugin.
Downloads / Referenced Files
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadLicense / Terms Note
Terms of Use Commercial & Non-commercial: Free to use with credits to 'Gamedev-Tutorials' for using this plugin.
Creator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
Topic Summary
Loading summary...