New account registration is temporarily disabled.

DOES ANYONE KNOW OF A SELECT SKILL SCRIPT?

Posts

Pages: 1
InfectionFiles
the world ends in whatever my makerscore currently is
4622
Hey all, so I've been having a hard time finding what feels like it should be a simple thing. So what I'm looking for is at the start of the game before player controll the ability to choose Starting Skills from a list.

I've looked into Yanfly's Learn Skill script and of I can't find anything else I guess I can go with it, but it's not exactly what I'm looking for. I basically need a super simplified version of it. Does something like it exist or can it be done with eventing or something along those lines?

Looking for something like-

Please choose 3 Skills:
X- This skill does so and so
X- ETC ETC ETC
X- ETC ETC ETC

And so on, with 8 choices or so.

Am I being totally blind to something simple? Please help or point me in the right direction! Thank you ^.^
Marrend
Guardian of the Description Thread
21806
So, the idea to show a list of eight or so skills, from which the player would choose exactly three? I would probably start with Okiku, Star Apprentice's teleport script (Or SuikoProject's Music Hall) as a reference. My initial guess is that you'd probably only need a window, maybe two, and a scene.

*Edit: Er, the Music Hall isn't part of the official download for that game, yet!
InfectionFiles
the world ends in whatever my makerscore currently is
4622
Thanks, Marrend! I'll look into that.

I ended up going with a round about way with an extended Choice List that is working for now. I feel like every time I get to asking for help I end up figuring something out lol

So, this is solved for now. But still interested in a different way so I'll check out Okiku ^.^
Marrend
Guardian of the Description Thread
21806
Well, if you're interested, this is my quick-hack.

class Window_SkillSelect < Window_Command
  def initialize
    super(0, 0)
  end

  def window_width
    Graphics.width
  end
  
  def window_hieght
    fiting_height(8)
  end
  
  def make_command_list
    # Please fill this in with actual skill names!
    add_command("Skill1", :skill)
    add_command("Skill2", :skill)
    add_command("Skill3", :skill)
    add_command("Skill4", :skill)
    add_command("Skill5", :skill)
    add_command("Skill6", :skill)
    add_command("Skill7", :skill)
    add_command("Skill8", :skill)
  end
  
  def disable(index)
    @list[index][:enabled] = false
  end
end

class Scene_SkillSelect < Scene_MenuBase
  def start
    super
    create_background
    create_windows
  end
  
  def create_windows
    @selections = 3
    @window = Window_SkillSelect.new
    @window.set_handler(:ok, method(:on_ok))
  end
  
  def on_ok
    @selections -= 1
    i = @window.index
    @window.disable(i)
    case i
    when 0
      # Actor with ID of 1 learns Skill of ID 3
      $game_actors[1].learn_skill(3)
    when 1
      # Actor with ID of 1 learns Skill of ID 4
      $game_actors[1].learn_skill(4)
    when 2
      # Actor with ID of 1 learns Skill of ID 5
      $game_actors[1].learn_skill(5)
    when 3
      # Actor with ID of 1 learns Skill of ID 6
      $game_actors[1].learn_skill(6)
    when 4
      # Actor with ID of 1 learns Skill of ID 7
      $game_actors[1].learn_skill(7)
    when 5
      # Actor with ID of 1 learns Skill of ID 8
      $game_actors[1].learn_skill(8)
    when 6
      # Actor with ID of 1 learns Skill of ID 9
      $game_actors[1].learn_skill(9)
    when 7
      # Actor with ID of 1 learns Skill of ID 10
      $game_actors[1].learn_skill(10)
    end
    if @selections == 0
      return_scene
    else
      @window.activate
    end
  end
end


*Edit:
You're more than welcome to check out Okiku anyway!
InfectionFiles
the world ends in whatever my makerscore currently is
4622
Oh, wow! So where would I plug this or rather how do I call it? (sorry if those are stupid questions)
Marrend
Guardian of the Description Thread
21806
Use a "Script" event-command, and type...

SceneManager.call(Scene_SkillSelect)

...that in there.

*thumbs up*

*Edit: Darigaaz, I totally assumed you're using VX Ace, and just ran with it. :P
InfectionFiles
the world ends in whatever my makerscore currently is
4622
Oh yes! VX Ace yes :)

Gonna try it now

edit;
Thank you, Marrend ^.^
Pages: 1