Show Next Unlockable Skill On Actor?

Status
Not open for further replies.

thecursedcometh

Veteran
Veteran
Joined
Dec 4, 2018
Messages
35
Reaction score
17
First Language
English
Primarily Uses
RMMV
I'm looking for a script that shows the next unlockable skill in an actor's menu. I'm not sure if it should be in the Status or Skills menu, but I'd say Status fits more. It would be good if it's compatible with Yanfly's Cores, as I'm using those. I've looked around the forums and master list, and haven't found anything. If someone could point me in the right direction, that would be great! Thanks!
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
39,639
Reaction score
13,245
First Language
English
Primarily Uses
RMMV
If it is a skill, why would you say it would be better to show it in the Status screen than the Skills menu?

The status screen would require more significant changes to include it.

But if you opt for the Skills menu, would you only want them to show when outside of battle, or when in battle as well?

How do you want it to appear?
Do you just want it to show skills that will be obtained with the next level up, or whatever skill is next, regardless of how many levels away it is? Should it show the level number required?
What if there are multiple skills for that level? Should it show all of them?

Please show a list of your plugins. Yanfly has many "cores" and some of them might be relevant while others aren't (and you may not have them all). There are also non-core plugins that should be considered.
 

thecursedcometh

Veteran
Veteran
Joined
Dec 4, 2018
Messages
35
Reaction score
17
First Language
English
Primarily Uses
RMMV
@Shaz The status menu thing was just on a whim, it doesn't matter too much to me where it is. And I mean the next unlocked skill, doesn't matter how many levels away. I mainly just mean maybe at the bottom of the screen there's a text box that says "Next Skill: *skill name here*". Just one skill, and it would be good if it shows what level you get it at. I'm sorry for not elaborating. Also I believe it should not be shown in battle.

And here's my plugin list:
 

Attachments

CHKNRAVE

I don't end projects, I start them.
Veteran
Joined
May 11, 2020
Messages
65
Reaction score
45
First Language
French
Primarily Uses
RMMV
What you could do is create dummy skills that are added to the class at level 1, their names being "[SKILL] (lvl. X)" and their descriptions being the same as the actual skill that will be learned eventually.

To make this information only visible in the Skill menu, use Yanfly's Skill Core (free) and add
<Hide in Battle> to each dummy skill. Making the skill usable nowhere will just gray it out which is why this isn't the solution I'm suggesting.

To make only the next skill you'll learn visible, add to each dummy skill this tag:
Code:
<Custom Show Eval>
if (user.isSkillLearned(X)) {
  visible = true;
} else {
  visible = false;
}
</Custom Show Eval>
X in the condition being the ID of the actual skill that precedes this one. If at level 5 you learn Fireball and at level 10 you learn Freeze, the X in the Freeze dummy's tags will be the ID of Fireball.
Additionally, add the tag <Hide if Learned Skill: x> with x being the ID of the corresponding real skill, so that the dummy is hidden when the skill is learned.

Create a dummy skill for each one that will be learned.
The dummy skills are an exact copy of the original one, but the name contains its obtention level.
If one of them is usable out of combat, change the dummy's usage conditions to none.
Paste this in each dummy skill's tags:
Code:
<Hide in Battle>
<Custom Show Eval>
if (user.isSkillLearned(A)) {
  visible = true;
} else {
  visible = false;
}
</Custom Show Eval>
<Hide if Learned Skill: B>
Change A and B in the tags to numbers: B is ID of the real skill that the dummy is based off of, A is the real skill that is learned right before B.
 

slimmmeiske2

Little Red Riding Hood
Global Mod
Joined
Sep 6, 2012
Messages
6,997
Reaction score
4,740
First Language
Dutch
Primarily Uses
RMXP

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

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

Latest Threads

Latest Posts

Latest Profile Posts

*when you can do the Unity tutorials, but when you actually try and convert it to your own knowledge, it fails horribly*
Hi, I made a game for a competition. I need some players to help play and vote for the best game.

https://ekamu.itch.io/not4ever
don’t forget to rate the game here


Voting is open until 12 August.

Thanks.
Progresses. Tonight: refinemment, column, pitfall, bump and gutter (I'll leave doors for last, they are scary).
What is your favourite rpg maker plugin?
Hopefully this gets fixed before release..

Forum statistics

Threads
100,573
Messages
977,352
Members
132,157
Latest member
jonwuka
Top