Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.
Original Source
- Original title: KEquipSkills VX
- Original author: kyonides
- Original date: August 13, 2020
- Source thread: https://forums.rpgmakerweb.com/threads/kequipskills-vx.125200/
- Source forum path: Game Development Engines > Ruby Game System (RGSS) Scripts > RGSS2 Scripts (RMVX)
Summary
KEquipSkills VX Version 1.1.1 by Kyonides Introduction
Archived First Post
KEquipSkills VX
Version 1.1.1
by Kyonides
Version 1.1.1
by Kyonides
Introduction
It's a scriptlet that allows you to equip skills aka temporarily learn a skill if a piece of equipment like a weapon or an accessory is currently equipped.
There was another scriptlet out there but it sucked for it used an iterator when I noticed it gotta be simpler. And yes, I was right about that! Take a look for yourselves!
Ruby:
# v1.1.1 - 2023-06-12
# In order to add new skills whenever you equip a new Weapon or Armor,
# You need to configure a couple of CONSTANTS.
# ACTORS_INIT_BEHAVIOR.default = :direct
# The line of code above means that Any Actor not listed there,
# will be able to learn a single skill from the Weapon or Armor.
# - If ACTORS_INIT_BEHAVIOR for a given Actor is set to :direct
# DIRECT_WEAPONS[WeaponID] = SkillID
# DIRECT_ARMORS[ArmorID] = SkillID
# - If ACTORS_INIT_BEHAVIOR for a given Actor is set to :checks
# CHECK_WEAPONS[WeaponID] = { :skill => [SkillID1, etc.],
# :class => [ClassID1, etc.], :actor => [ActorID1, etc.] }
# CHECK_ARMORS[ArmorID] = { :skill => [SkillID1, etc.],
# :class => [ClassID1, etc.], :actor => [ActorID1, etc.] }
# 0 as an ID allows any class or actor to equip the skill!
# * Script Call * #
# - Change a given Actor's Equip Check Type
# Available Types: :direct or :checks
# game_actors[ActorID].equip_check_type = Type
module KEquipSkills
ACTORS_INIT_BEHAVIOR = {}
ACTORS_INIT_BEHAVIOR.default = :direct
DIRECT_WEAPONS = {}
DIRECT_ARMORS = {}
CHECK_WEAPONS = {}
CHECK_ARMORS = {}
# * Beginning of Customization * #
DIRECT_ARMORS[43] = 162
CHECK_ARMORS[43] = { :skill => [162], :class => [], :actor => [] }
DOWNLOAD DEMO
Terms & Conditions
Free for use in any game.
Include my nickname in your game credits.
Mention this forum as well.
Don't adopt a stray cat.
That's it!
Downloads / Referenced Files
Log in to download
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadLicense / Terms Note
Include my nickname in your game credits. Mention this forum as well. Don't adopt a stray cat. That's it!
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.
0
replies
1
view
Topic Summary
Loading summary...