RMRK is retiring.
Server is paid up for the rest of 2026, but the forum may go after that. See here for more information. Please archive or save anything you would like to keep before 2027.
Main Menu
  • Welcome to The RPG Maker Resource Kit.

Recreation of syvkal's Conditional Skills script.

Started by wsensor, September 13, 2010, 05:25:14 PM

0 Members and 1 Guest are viewing this topic.

wsensor

Conditional Skills Script (maybe include armors/weapons/items too?)
9/13/2010




Summary
This is a request for a recreation of syvkal's conditional skills script.
Due to incompatabilities between his script + his NOTES FIELD SYSTEM required addon not wanting to work due to who knows how many other scripts. (Not posting scripts since I would rather have a remade one anyways.)

Features Desired

  • same as syvkal's conditional skills script.
  • Perhaps make it to work with weapons/armors also? Not really needed since there are other conditional scripts for equipment. Would be nice if it was all in one script however.
  • Have <item/weapon/armor OR item/weapon/armor OR skill/or different skill> possibilities. Meaning as long as you have one of several items/armors/weapons(for armors/weapons equiped that is)/or have a skill or a different skill learned. Where the skills show up as long as at least one of those is true or maybe several of those are true.
  • IE: Skill 'Head Shot' requires 1 bullet(item120) | Must have a gun equipped(weapon(50,51,52,53,54,55,56,57,etc) | Must have the marksmanship skill learned.
  • If true the skill would show. If false the skill would either be GRAYED out or not show at all.
  • Would be nice if it could be used for equipment too. (Loosing an item if you attack with equipment).
  • switch / variable use (if switch is on works off doesn't work/where in variable value is subtracted/added to till it runs out or hits a max)
Total Features in Syvkal's script.
[spoiler]
#  STATE  - Whether certain states are inflicted
#  WEAPON - Whether certain weapons are equipped
#  ARMOUR - Whether certain armours are equipped
#  ITEM   - Whether certain items are in your inventory (which can be used up)
#  HP    - Whether HP is MORE or LESS than a percent of the MAXHP
#  GOLD   - Whether the party has a certain amount of gold (which can be used up)
#  LEVEL  - Whether the LEVEL is MORE or LESS than a certain point
#  CLASS  - Whether the actor is a certain class
#  PARTYMEMBER - Whether a certain actor is in your party (and alive)
#  PARTYNUMBER - Whether a certain amount of actors are in your party (and alive)
#  FREEHAND   - Whether the actor has 1 or 2 free hands
#  ATK  -  Whether the actor has a certain amount of ATK
#  DEF  -  Whether the actor has a certain amount of DEF
#  SPI  -  Whether the actor has a certain amount of SPI
#  AGI  -  Whether the actor has a certain amount of AGI
#
#  NOSHOW - Add this to make a skill not appear when it can't be used.

#
#   Here is a list of examples to show you how to use each condition:
#
#   STATE12   -  State 12 must be inflicted to use the skill
#   WEAPON1   -  Weapon 1 must be equipped to use the skill
#   ARMOUR2,9  -  Both armours 2 and 9 must be equipped to use the skill
#   FREEHAND2  -  Both of the actors hands must be free to use the skill
#   HPLESS25   -  Health must be below 25% to use the skill
#   HPMORE50   -  Health must be above 50% to use the skill
#   ITEM1,2   -  Must have items 1, 2 and 3 to use the skill
#   ITEMUSE1,2 -  Must have and will use 1 of items 1 and 2 to use the skill
#   ITEM1&3,2  -  Must have 3 of item 1 and 1 of item 2 to use the skill
#   ITEMUSE1&3 -  Must have and will use 3 of item 1 to use the skill
#   GOLD1000   -  Must have 1000 Gold to use the skill
#   GOLDUSE100 -  Must have and will use 100 Gold to use the skill
#   CLASS1,2   -  Must be Class 1 or 2 (RTP : Paladin, Warrior) to use the skill
#   LEVELLESS5 -  Must be under Level 5 to use the skill
#   LEVELMORE9 -  Must be over level 9 to use the skill
#   PARTYMEMBER4 -  Must have Actor 4 (RTP : Ylva) to use the skill
#   PARTYNUMBER3 -  Must have 3 or more actors in the party to use the skill
#   ATK100  -  Must have ATK greater than or equal to 100
#   DEF100  -  Must have DEF greater than or equal to 100
#   SPI100  -  Must have SPI greater than or equal to 100
#   AGI100  -  Must have AGI greater than or equal to 100[/spoiler]

Mockups
none

Games its been in

  • probably a few dunno




Did you search?
yesh. I found 2 scripts.
1st was just a skills use items. (Was incompatible and was not exactly what I was looking for.)
2nd was Syvkal's conditional skills script. (Did not want to work. I think it might be tankentai, or a different script altogether kgc/yanfly. lol but it will not even read the module from his NOTES FIELDS REQUIREMENTS script.)

Where did you search?

  • RMVXP
  • HBGAMES
  • RMRK
  • rpgrevolution
  • google search dundundun

What did you search for?

  • Skills Consume Items
  • Conditional Skills

modern algebra

Well, you can try my Equipment Constraints script. It's old, but it works with skills too so maybe it'll do what you want. I don't really remember it well so I kind of forget whether it works the exact way you want it.

wsensor

#2
This strangely never showed up in a search 0.o... Probably because I wrote consumes items in my searches lol.

I hope you end up rewriting that script and adding in OR features XD. I will try and use it for now. (Just gonna have it check for skills to require a skill learned and an item to use em for now)

lol problem with user.level on line 120 T_T