Lesson 17 - Event Transform
- Class Changes, Etc.
Master Mage: "The first key is to know which rank you'll be going for. This will take heavy career planning and..."
Shadowtext: This will take multiple characters of the same name. And optionally, similar (but not necessarily identical) graphics. Here's an example:
Character 1 - "Alex", "Apprentice Mage".
Character 2 - "Alex", "Journeyman Mage".
Character 3 - "Alex", "Master Mage".
Character 4 - "Alex", "Archmage".
Character 5 - "Alex", "Mage Laureate."
Shadowtext: Each character would have different growth rates and spells to learn, but...
Master Mage: "During the switchover to Journeyman, one must move all his belongings to the Journeyman's barracks and prepare for reassignment."
Shadowtext: Okay, the switchover. Anyway, as he said, how to keep your stuff. Well, I won't explain how you initiate the switch, but when you do, use this code (I'll be using [v0101: Character 1(Class)] to represent the character's current class.):
ForkConditions Variable [0101: Character1(Class)] 1 Same
____Change Variable [0101: Character1(Class)] = 2
[i]____Comment: Here, I'm assuming you're switching to the second available class.[/i]
____Change Variable [0001: ClassSwitch(Level)] Set Hero.Alex(Apprentice).Level
____Change Variable [0002: ClassSwitch(Exp)] Set Hero.Alex(Apprentice).Exp
____Change Variable [0003: ClassSwitch(HP)] Set Hero.Alex(Apprentice).HP
____Change Variable [0004: ClassSwitch(MP)] Set Hero.Alex(Apprentice).MP
____Change Variable [0005: ClassSwitch(MaxHP)] Set Hero.Alex(Apprentice).MaxHP
____Change Variable [0006: ClassSwitch(MaxMP)] Set Hero.Alex(Apprentice).MaxMP
____Change Variable [0007: ClassSwitch(Attack)] Set Hero.Alex(Apprentice).Attack
____Change Variable [0008: ClassSwitch(Defense)] Set Hero.Alex(Apprentice).Defense
____Change Variable [0009: ClassSwitch(Mind)] Set Hero.Alex(Apprentice).Mind
____Change Variable [0010: ClassSwitch(Agility)] Set Hero.Alex(Apprentice).Agility
____Change Variable [0011: ClassSwitch(Weapon)] Set Hero.Alex(Apprentice).Arms No.
____Change Variable [0012: ClassSwitch(Shield)] Set Hero.Alex(Apprentice).Shield No.
____Change Variable [0013: ClassSwitch(Armor)] Set Hero.Alex(Apprentice).Armor No.
____Change Variable [0014: ClassSwitch(Helmet)] Set Hero.Alex(Apprentice).Helmet No.
____Change Variable [0015: ClassSwitch(Other)] Set Hero.Alex(Apprentice).Other No.
____Change Ability.Alex(Journeyman).Decrease 999999999
[i]____Comment: It won't go below zero. Now repeat for each ability.[/i]
____Change Ability.Alex(Journeyman).Increase [0001: ClassSwitch(Level)]
[i]____Comment: Repeat for all variables until you get to "Weapon."[/i]
____Change Equipment.Alex(Journeyman).Equip.[0011: ClassSwitch(Weapon)]
[i]____Comment: Repeat for the rest of the variables.[/i]
____Change Party.Add Alex(Journeyman)
____Change Party.Remove Alex(Apprentice)
[i]____Comment: If you have a party order system, adapt this to put him in the right place.[/i]
Shadowtext: You need to repeat that for every class. Optionally, you can use another variable to represent what class you start in, and one to say where you're going, but that's all according to how you switch. Don't forget to replace which character is the source, and which is the target with any switchover.
Master Mage: "Looks like you may have competition for who's to be my pet Journeyman, Shadowtext."
Shadowtext: No one else will put up with you, Ayolis!
Master Mage: "Don't make me blast you.
Shadowtext: Instead of classes, one could also Transform entirely. That's just a change of the story though. Remember in Illusion of Gaia, when Gaia would transform Will into Freedan and/or Shadow? Do that.
Shadowtext: Transformational Magic, as suggested by DeathHawk, (who surprisingly, has never been to the board, so patrons, you don't know him.) are all like this. Read the next three tutorials to see "Command Transformations," "Event Transformations," and "Variable Transformations." And, for those who may not realize, Variable-Driven Transformation is what they used to make "Trances" in FF9, and Command-Driven transformation is how they did "Dopplegang" in Chrono Cross, I think. And Event Transformations are how they did Illusion of Gaia transformations for sure.
||Lesson 17 - Event Transform|
|Class Changes, Etc.|
|Jan 01, 2013|
|Page Views: 516|
|Written for: Rm2k|
|Related: Lesson 18 - Variable Transform|
- 1 Total Vote
You must be signed in to enter a comment for this game.