I have a complicated request

ElOtario

Villager
Member
Joined
Dec 5, 2018
Messages
25
Reaction score
1
First Language
Pretuguês
Primarily Uses
RMVXA
I want each actor in the party to be able to select skills when they level up. Say each actor has specific skill slots assigned to them (I am using a costum parameters script, so that isn't really the problem), and each time a certain actor levels up, the player can choose the skills he wants from the list, until all the actor's skill slots are spent. The two big problems for me is that the party is not fixed, including the main actor, so I don't really know how to implement it, and that I don't have a lot of knowledge in regards to events at level-up. I don't know if I'm explaining myself really well, so I'm sorry if you don't understand what I mean.
 

ElOtario

Villager
Member
Joined
Dec 5, 2018
Messages
25
Reaction score
1
First Language
Pretuguês
Primarily Uses
RMVXA
Kind of, but it would be better if it only appeared at level up. Anyway, beggars can't be choosers. Another thing I forgot to explain though, is that I want the skill costs to be different according to class. For example, for class X, skill A costs 1 skill slot, but for class Y, skill A may cost 2 skill slots. Would that be possible with the script? Sorry if I'm asking for too much.
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,713
First Language
English
Primarily Uses
RMVXA
[move]RGSS3 Script Requests[/move]
 

ElOtario

Villager
Member
Joined
Dec 5, 2018
Messages
25
Reaction score
1
First Language
Pretuguês
Primarily Uses
RMVXA
I am really sorry for posting in wrong forum, I thought it could be done with events.
 

xdan

Veteran
Veteran
Joined
Aug 21, 2016
Messages
158
Reaction score
59
First Language
Spanish
Primarily Uses
It can be done with events, but you'll need this small script:

Code:
#Runs a common event on level up.

class Game_Actor < Game_Battler
  def level_up
    @level += 1
    self.class.learnings.each do |learning|
      learn_skill(learning.skill_id) if learning.level == @level
    end
    $game_temp.reserve_common_event(1) #Id of the common event
  end
end

This will make a common event run on every level up. Where it says "$game_temp.reserve_common_event(1)", change the number to the id of the preferred common event.

If you need help to make the common event itself, I have a pretty clear idea of how it could work.

Also, you might want to check this script: https://forums.rpgmakerweb.com/index.php?threads/lune-unlimited-skill-tree.25423/
 

ElOtario

Villager
Member
Joined
Dec 5, 2018
Messages
25
Reaction score
1
First Language
Pretuguês
Primarily Uses
RMVXA
Thanks for the script. I guess I can figure out how to do the rest.
 

xdan

Veteran
Veteran
Joined
Aug 21, 2016
Messages
158
Reaction score
59
First Language
Spanish
Primarily Uses
You're welcome! ^^
 

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

Latest Threads

Latest Profile Posts

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!
one bad plugin combo later and one of my followers is moonwalking off the screen on his own... I didn't even more yet on the new map lol.

Forum statistics

Threads
106,035
Messages
1,018,454
Members
137,821
Latest member
Capterson
Top