Help - Search - Members - Calendar
Full Version: [Sub] Skill Point
RPG RPG Revolution Forums > Scripting > Event Emporium > Eventing Tutorials
Guyver's Bane
*I'm the First to post an event system! cool.gif*
Guyver's Banes Skill Point Event
Difficulty: Normal
Engine: RMVX
Variables: Depends on number of weapon types.
Switch: None
Common Events: Equal to the number of actors you're using.

This event system will allow the player to learn skills based on what kind of weapon they have equipped. You'll need a script that calls a common event after battle for this to work. And it's a looong event depending on how many you skills you have him to learn.

Step One: Select a common event, name it Hero.
Step Two: Select a number of variables equal to the number of different weapon elements you have.
Step Three: Name them to match the corresponding weapon element.
Step Four: Put this in the common event:

CODE
@> Conditional Branch:[Hero] is [Incapacitated] inflicted
      @>
      Else
      @>
      Branch End


Step Five: Put this conditional branch inside the previous one, above else. Repeat step five for every sword Hero can equip. You will have to do this for every other weapon type he can equip also. You must change the variable to match the weapon element.

CODE
@> Conditional Branch:[Hero] is [Long Sword] equipped
      @>Control Variables: [0001:Sword] += 1
      @>
      Branch End


Step Six: After that's out of the way, insert this conditional branch. You'll have to repeat this for every skill you want him to learn. And for every weapon element also.You must change the variable to match the weapon element.

CODE
@> Conditional Branch: Variable [0001:Sword] == 5
      @>Change Skills: [Hero], + [Heal]
      @>Text: -,-, Normal, Bottom
:                 : Hero learned Heal
      @>Control Variables: [0001:Sword] += 1
      @>
      Branch End


Step Seven: Insert call common event below everything, and set it to the next common event you named for one of your actors. Repeat steps 1-7 for each actor you use.
Starscream
I added the [Sub] tag for you but please remember to label threads when posting.
Guyver's Bane
My bad! I'll fix it. On another note I hope the way I posted it was correct. I didn't see anything about a specified format.
Holder
You were quick off the mark getting this up ^^ Nice one.

Hmm I kinda remember how they used to set up the old documents for 2k, there was always a certain little format box at the top to let people know certain things about the system. Give me a few moments on this.

EDIT: Got it done and it shouldn't be that long before it's up in the FAQ section. It's a little snippet to let the reader know what to expect and or have to use.
[Show/Hide] Will remove this once it's in the FAQ

Q- What's the easiest way for me to set out my submissions topic so I get the information across that people will need?

A--Name of submission-
Difficulty:
Easy - Normal - Hard
Engine used: RPG MAKER XP
Alos works with: RPG MAKER 2k(3), RPG Maker VX (Not tested).
Summary: This is an example of how to start off your submission with a quick blurb about what it does.

Switches: 1~5
Variable: None
Common events: 1

Materials: Picture 640x120
Knowledge of: Common events, Fork conditions, show picture, writing a submission (Optional).


You then fill in the rest with the submission, making use of either pictures or the code tags.
nevious
Very nice ill halfto give this a whirl... i might even halfto throw a few events ive done on here... thanks Guyver you have inspired me!

EDIT: question do you think this might work the same for skills?
Guyver's Bane
QUOTE (nevious @ Apr 11 2010, 05:10 AM) *
Very nice ill halfto give this a whirl... i might even halfto throw a few events ive done on here... thanks Guyver you have inspired me!

EDIT: question do you think this might work the same for skills?

I don't quite understand what you mean.
nevious
QUOTE (Guyver's Bane @ Apr 23 2010, 05:10 PM) *
QUOTE (nevious @ Apr 11 2010, 05:10 AM) *
Very nice ill halfto give this a whirl... i might even halfto throw a few events ive done on here... thanks Guyver you have inspired me!

EDIT: question do you think this might work the same for skills?

I don't quite understand what you mean.


Im not sure myself lol i think i was meaning if the character was to use a certian skill over and over could this work the same as learning other skills from that skill?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.