Main Menu
  • Welcome to The RPG Maker Resource Kit.

[Request] Item required for skill.

Started by Dimosthennis, March 18, 2011, 11:28:30 AM

0 Members and 1 Guest are viewing this topic.

Dimosthennis

Hi.
I am looking for an script that players are not able to use a skill [Shield Smash] unless they have an Item equipped [Shield]

For example: The skill 'Shield Smash' Requires a 'Shield*armor*' to be used. Or else the skill shows grey.
Example: The skill 'Ambush' Requires a 'Dagger*weapon*' to be used. Or else the skill shows grey.
Example: The skill 'Flame Arrow' Requires a 'Arrow*item*' and a 'Bow*weapon*' to be used. Or else the skill shows grey.

If possible I like to have comments in the Skill/Item/Weapon/Armor Note Boxes to set the requirements.

Please tell me if you need more Information  :)

MrD

Pokey

#1
Simple(i think)
[spoiler]Create a common event
@>Conditional branch[Actor you wish] is [ARMOR equipped]
   @>Change skills [Actor], +[Skill]
  : else
      Change skills [actor], -[skill]
Trigger: parallel process
Cond. switch: whatever
JUst turn the switch on at the start of the game
Some of the command names may be different, this is for XP[/spoiler]

Zylos

#2
I think this is what you're looking for:
http://rmrk.net/index.php/topic,24407.0.html

It's not exact, it doesn't display grayed out skills if you don't have the equipment on, but it sounds closely related enough to what you're describing. Hope it helps.





Dimosthennis

Thanks for the try. but it's not what I was looking for.

I want that the skill requires a Item, and not an item that learns a skill. That would mass up a class in my game
Example: Cleric equips 'Shield' learns 'Shield Smash'.    this is not what I want.

If you have played wow. there are skills that requires Items to use skills. Like for the warrior Tank 'Shield Bash' need a shield to be used.

And the common event is a point... but if it was for 'Class' and not 'Actor'. thanks for trying though.

MrD

Pokey

QuoteFor example: The skill 'Shield Smash' Requires a 'Shield*armor*' to be used. Or else the skill shows grey.
That's what my event does. exept, instead of greying out , the skill doesnt show.

Dimosthennis

I will use your common Event again and see the result.
MrD