Skillbar Style Skills

Morpheus

Jack-of-Trades
Veteran
Joined
Mar 14, 2012
Messages
231
Reaction score
85
First Language
english
Primarily Uses
N/A
So is there a script anyone knows of or can make where it looks sort of like any of the 3 (poorly shopped) styles of skills in the picture i uploaded?

Like, for example if Medicine skill reaches 3 then the character learns the spell "Heal 1" or something? Or a way to increase the skills maybe based on variables or something? Or even if someone could make a skill progress bar that would help.

Edit: Or if anyone can make a script where you get a Skill Point and can put that skill point into a skill and once the skill gets a certain amount of skill points you will learn a new spell?

SkillsWanted.png
 
Last edited by a moderator:

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
You could probably do that using my Custom Attributes script as a base... It allows you to run any rgss3 code when an "attribute" is increased so you can make it such that the actor will learn a new spell once the "attribute" reaches a certain value

If you want a bar though, you'd need to script that, as the script only shows numbers.
 
Last edited by a moderator:

Morpheus

Jack-of-Trades
Veteran
Joined
Mar 14, 2012
Messages
231
Reaction score
85
First Language
english
Primarily Uses
N/A
You could probably do that using my Custom Attributes script as a base... It allows you to run any rgss3 code when an "attribute" is increased so you can make it such that the actor will learn a new spell once the "attribute" reaches a certain value

If you want a bar though, you'd need to script that, as the script only shows numbers.
Link please?
 

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,162
Reaction score
822
First Language
Hungarian
Primarily Uses
RMVXA
I made your script show the bars for each attribute in my project, Adik.

I can release an addon for it, if it is okay to do that.

You can make the actors learn a skill with adding these lines where you specify the effects for each attribute:

if index == index_id actor.learn_skill(skill_id) endReplace 'index_id' with the custom attribute's ID, and the 'skill_id' with the ID of the skill you want that attribute to teach for the actors.If you want, you can teach multiple skills with the same attribute.

Here is a simple conditional attribute learning formula:

if index == 18 case actor.custom_attribute(18) when 1 actor.learn_skill(12) when 2 actor.learn_skill(13) actor.forget_skill(12) when 3 actor.learn_skill(14) actor.forget_skill(13) when 4 actor.learn_skill(15) actor.forget_skill(14) end endHere is what happens when the player increases the attribute with the ID of 18 with this effect code:If the attribute got 1 point allocated, the actor will learn the skill with the ID of 12.

When the attribute got 2 points allocated, the actor will learn skill 13 and forget skill 12 (the one which we learned before).

When it got 3 points allocated, the actor will learn skill 14 and forget skill 13.

When it got 4 points, the actor will learn skill 15 and forget skill 14.

And you can expand/change the code however you like.

The beauty of this script that you can do any effect with it (as long as you know how to code it, of course). I can only recommend it. :)
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
@Sixth - of course, as long as it's an add-on :)
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,045
Members
137,569
Latest member
Shtelsky
Top