Equip a limited amount of skills for battle

EDIT: MoogleX made what I want: http://forums.rpgmakerweb.com/index.php?/topic/50858-equip-skill-system/

Hello dear Community 🙂

I have a request, for a little skill system.

I want the Player to have access to not only a class, but to choose his own playstyle. Meaning, with YEP Skill Learning system, he can learning, healing, sword skills, magic skills etc.
But I don't want him to have 50 Skills at Lvl 20, because he grinded a lot or something.

That's why I want a system for only the main character, that allows him to "equip" skills, meaning, he can only take limited amount of skills in battle, like 10 for example. With that, the player has to think what he
should take with him the next battle.

Just like the Skill Learn System, it would have his own menu category in skills, where you can equip and unequip them.

I hope someone can help me with this! Or I will need to learn Java, hehe. 🙂

Thanks already 🙂

Sincerely, Suzio


YEP Skill Learning System: http://yanfly.moe/2015/11/14/yep-28-skill-learn-system/

EDIT: Found what I want for Ace, this should help as reference. (Please lookat my other post in this topic though.
http://forums.rpgmakerweb.com/index.php?/topic/6727-skill-equip/
With creative use of Skill Types this can be done via assigning them by equip choice rather than purely class choice.

Have the actor learn the skills (by class level or by JP) and have the equipment unlock them via granting their type.

It may seem a little convoluted, but its working great for me so far.
With creative use of Skill Types this can be done via assigning them by equip choice rather than purely class choice.

Have the actor learn the skills (by class level or by JP) and have the equipment unlock them via granting their type.

It may seem a little convoluted, but its working great for me so far.
That wouldnt be what I want. With that you could only use one class specific skills in battle. The player should be able to cross class, giving him the ability to play with The skills he likes the most.

As an example, lets handle skills like equipment. The main Char can equip 10 skills. 5 normal skills, 3 Advanced skills and 2 Master Skills. Skills woulf be tagged with what type of skill they are. The types are for that you cant run around with 10 Ultra strong skills.

I hope you understand what I want now.

Thanks for your reply though!
I thought about a similar system some time ago. Each skill (active and passive) would have a rating (say, from 1-5) and an actor would only be allowed to equip skills up to a certain total number (determined by level, equip, etc).


I'm currently way too busy to take this one on, but i might do in the future (like "several weeks" future...).
That wouldnt be what I want. With that you could only use one class specific skills in battle. The player should be able to cross class, giving him the ability to play with The skills he likes the most.

As an example, lets handle skills like equipment. The main Char can equip 10 skills. 5 normal skills, 3 Advanced skills and 2 Master Skills. Skills woulf be tagged with what type of skill they are. The types are for that you cant run around with 10 Ultra strong skills.

I hope you understand what I want now.

Thanks for your reply though!
Actually you can do that a lot more than it may seem. You just need to give the equipment more than one skill type. Or allow the player to equip different equipment that each bestow different skill types.

Cross class skills may actually be easier to balance that way; by limiting the player to a set number of equips that have standard deviations of types.

A sword, for example, might never have types that include healing skills.

Common swords may only ever provide normal skill types... For Advanced skill types, you might need a more advanced sword. And if you don't want the player accessing 10 Advanced skills at once, then mix up the same types with some sort of sub-type, or don't design more than a hand full of advanced level skills for each type. (your choice)

You might even utilize the new learn Skill Replace plugin that Iavra wrote. (which I am using) Actually, typing this up reminded me of a small feature I just asked Iavra to consider. adding. 🙂

...

If you insist on being even more restrictive, only allow the equipment themselves to bestow a unique skill, along with its type. That way, for example, you might require the player to equip a special Staff to cast a special spell.

Using the already existing engine, in combination with various class designs or Yanfly's Skill Learning Plugin, you can actually prevent the player from using certain sets of skills together, because no combination of equipment can supply the appropriate types. They may have the skills, but no way of accessing them... Or if the player complete a special quest, they may find the only equip in the game that does allow for the combination! (But with only one equip, only one actor can do it)

It's totally up to you have deep it gets.

You can also control for normal, advanced and master skills without all the effort of writing an elaborate GUI interface.

But I get the impression that you have your mind set. So I won't try to convince you any more than I already have.

Maybe others that can't wait several weeks (hoping it gets made), know they don't have to. 🙂

Thanks for your time!

edit:

I will add that the method I've described won't allow for fine tuning. But then its my experience that to much 'tuning' is actually a bad thing.

The player likes to feel as though they are able to invest in their party/actors and allowing for the figuring out some sort of secret sauce (min/max) can encourage that. I also enjoy emergent game play and intentionally allow for such creativity in my designs.

So, don't take my advice as gospel. I certainly don't. 😀
Actually you can do that a lot more than it may seem. You just need to give the equipment more than one skill type. Or allow the player to equip different equipment that each bestow different skill types.

Cross class skills may actually be easier to balance that way; by limiting the player to a set number of equips that have standard deviations of types.

A sword, for example, might never have types that include healing skills.

Common swords may only ever provide normal skill types... For Advanced skill types, you might need a more advanced sword. And if you don't want the player accessing 10 Advanced skills at once, then mix up the same types with some sort of sub-type, or don't design more than a hand full of advanced level skills for each type. (your choice)

You might even utilize the new learn Skill Replace plugin that Iavra wrote. (which I am using) Actually, typing this up reminded me of a small feature I just asked Iavra to consider. adding. 🙂

...

If you insist on being even more restrictive, only allow the equipment themselves to bestow a unique skill, along with its type. That way, for example, you might require the player to equip a special Staff to cast a special spell.

Using the already existing engine, in combination with various class designs or Yanfly's Skill Learning Plugin, you can actually prevent the player from using certain sets of skills together, because no combination of equipment can supply the appropriate types. They may have the skills, but no way of accessing them... Or if the player complete a special quest, they may find the only equip in the game that does allow for the combination! (But with only one equip, only one actor can do it)

It's totally up to you have deep it gets.

You can also control for normal, advanced and master skills without all the effort of writing an elaborate GUI interface.

But I get the impression that you have your mind set. So I won't try to convince you any more than I already have.

Maybe others that can't wait several weeks (hoping it gets made), know they don't have to. 🙂

Thanks for your time!

edit:

I will add that the method I've described won't allow for fine tuning. But then its my experience that to much 'tuning' is actually a bad thing.

The player likes to feel as though they are able to invest in their party/actors and allowing for the figuring out some sort of secret sauce (min/max) can encourage that. I also enjoy emergent game play and intentionally allow for such creativity in my designs.

So, don't take my advice as gospel. I certainly don't. 😀
Damn, thank you for your support! I love that you put so much effort in it 🙂

Well, but I still like to have this crazy combination system. That's the whole important part, as your main character in the story is something like the avatar (lol). They should be able to use sword skills, with having magic and heal skills equipped. This should just make the player think, if he should take more damage skills, more CC, heal or whatsoever. That's just what I like about the system I'm thinking about.

Well, maybe I even start learning Java. I tried ruby once, but Java seems to be more common.

So again, thabk you for all those things you wrote. I like the way your thinking and I hope you don't feel like you couldn't help at all 🙂
It's JavaScript, btw, not Java. Here's some Java for you:

Spoiler
Code:
package de.wws.util;import java.lang.reflect.ParameterizedType;import java.lang.reflect.Type;import java.util.HashMap;import java.util.Map;public final class GenericType {    private GenericType() {}    public static <T, C> Class<T> get(Class<C> pClass, Class<? super C> pSuperclass, int pPosition)    {        Map<Type, Type> tTypeMap = new HashMap<Type, Type>();        Class<?> tClass = pClass;        while(pSuperclass != tClass.getSuperclass())        {            extractTypeArguments(tTypeMap, tClass);            tClass = tClass.getSuperclass();            if(tClass == null)            {                throw new IllegalArgumentException("Die Klasse " + pClass.getCanonicalName() + " muss eine Subklasse von " + pSuperclass.getCanonicalName() + " sein.");            }        }                ParameterizedType tParameterizedType = (ParameterizedType) tClass.getGenericSuperclass();        Type tActualType = tParameterizedType.getActualTypeArguments()[pPosition];        if(tTypeMap.containsKey(tActualType))        {            tActualType = tTypeMap.get(tActualType);        }        if(tActualType instanceof Class)        {            return (Class<T>) tActualType;        }                throw new IllegalArgumentException("Die Klasse " + pSuperclass.getCanonicalName() + " ist nicht generisch.");    }    private static void extractTypeArguments(Map<Type, Type> pTypeMap, Class<?> pClass)    {        Type tGenericSuperclass = pClass.getGenericSuperclass();                if(!(tGenericSuperclass instanceof ParameterizedType))        {            return;        }                ParameterizedType tParameterizedType = (ParameterizedType) tGenericSuperclass;        Type[] tTypeParams = ((Class<?>) tParameterizedType.getRawType()).getTypeParameters();        Type[] tTypeArgs = tParameterizedType.getActualTypeArguments();        for(int tIndex = 0; tIndex < tTypeParams.length; ++tIndex)        {            if(pTypeMap.containsKey(tTypeArgs[tIndex]))            {                tTypeArgs[tIndex] = pTypeMap.get(tTypeArgs[tIndex]);            }            pTypeMap.put(tTypeParams[tIndex], tTypeArgs[tIndex]);        }    }}
It's JavaScript, btw, not Java. Here's some Java for you:

Spoiler
package de.wws.util;import java.lang.reflect.ParameterizedType;import java.lang.reflect.Type;import java.util.HashMap;import java.util.Map;public final class GenericType { private GenericType() {} public static <T, C> Class<T> get(Class<C> pClass, Class<? super C> pSuperclass, int pPosition) { Map<Type, Type> tTypeMap = new HashMap<Type, Type>(); Class<?> tClass = pClass; while(pSuperclass != tClass.getSuperclass()) { extractTypeArguments(tTypeMap, tClass); tClass = tClass.getSuperclass(); if(tClass == null) { throw new IllegalArgumentException("Die Klasse " + pClass.getCanonicalName() + " muss eine Subklasse von " + pSuperclass.getCanonicalName() + " sein."); } } ParameterizedType tParameterizedType = (ParameterizedType) tClass.getGenericSuperclass(); Type tActualType = tParameterizedType.getActualTypeArguments()[pPosition]; if(tTypeMap.containsKey(tActualType)) { tActualType = tTypeMap.get(tActualType); } if(tActualType instanceof Class) { return (Class<T>) tActualType; } throw new IllegalArgumentException("Die Klasse " + pSuperclass.getCanonicalName() + " ist nicht generisch."); } private static void extractTypeArguments(Map<Type, Type> pTypeMap, Class<?> pClass) { Type tGenericSuperclass = pClass.getGenericSuperclass(); if(!(tGenericSuperclass instanceof ParameterizedType)) { return; } ParameterizedType tParameterizedType = (ParameterizedType) tGenericSuperclass; Type[] tTypeParams = ((Class<?>) tParameterizedType.getRawType()).getTypeParameters(); Type[] tTypeArgs = tParameterizedType.getActualTypeArguments(); for(int tIndex = 0; tIndex < tTypeParams.length; ++tIndex) { if(pTypeMap.containsKey(tTypeArgs[tIndex])) { tTypeArgs[tIndex] = pTypeMap.get(tTypeArgs[tIndex]); } pTypeMap.put(tTypeParams[tIndex], tTypeArgs[tIndex]); } }}
Ok..? 😀

Original thread: https://forums.rpgmakerweb.com/threads/equip-a-limited-amount-of-skills-for-battle.50684/