Bookmark RPG RPG Revolution! RPG RPG Revolution RPG Maker VX.com
 
RPG Maker
 

 Username:
 Password:
   Not a member? Register!



Home > Tutorials > RPG Maker XP > Morphing Tutorial

Morphing Tutorial


Morphing Tutorial
Maker: XP, could also work with 2k3
Difficulty: Easy

Another code from Jens!

This is a simple morphing tutorial. Morphing is changing your character graphic into something else.
Without further due:
Quote:
1) Make a new skill, name it "Morph"
2) Make a new common event, name it "Morph On"
3) Tag the skill into the common event

Under the common, event "Morph On"
Put these codes:
Quote:

@>Control Switches[0001:Morphing] = On
@>Comment: Change your battler graphic below. For this tutorial, I changed Alexus into a Cleric01 battler :graphic and his character graphic.
@>Change Actor Graphic: [Alexus], 025- Cleric01, 0, 025 Cleric01,0
@>Comment:Here is the fun part! Change the character's parameters, skills, state, anything! Just remember them because you'll need them later. For this tutorial, I just change Alexus STR just to make things simple.
@>Change Parameters: [Alexus], STR + 20
@>Change Skills: [Alexus], - [Morph]


4)Make a new common event, name it "Morph Off"

Under the common event "Morph Off"
Put these codes:
Quote:
@>Control Switches[0001:Morphing] = OFF
@>Comment: Put back your main character's graphic here, you don't want them to look different forever right?
@>Change Actor Graphic: [Alexus], 001- Fighter010, 001-Fighter01,0
@>Comment: Remember those upgrades we added earlier? Now is the time to remove them all. Mwhaahahaha
@>Comment: Add sound effects here... or whatever effects you want.
@>Change Parameters: [Alexus], STR - 20
@>Change Skills: [Alexus], + [Morph]


5)Now, go to the Troops Tab and for each and every troop, set the conditions and add this code:
Quote:
Set Conditon to: Turn 0 + 1
Set Condition to: Switch[0001:Morhping] is ON
Set Span to: Turn

Control Variables:[0001:Morphing] += 1
@>Comment: Change the condition below to change when the morphing will end. For this tutorial, the morphing will end at the 4th turn.
@>Conditional Branch: Variable[0001:Morphing] >= 4
@>Call Common Event: Morphing Off
@>Control Variables:[0001 Morphing] = 0
@>
Branch End


And you are done. If you would notice, you keep your morphing state even AFTER the battle.


Author's Notes: The codes can be further modified, that is up to you. This is also compatible with 2k3, just get the main idea and you'll do fine.

Details
Tutorial: Morphing Tutorial
Date Listed: Thu, 03 Jul 2008 01:34:22 -0700
Author: jens009
Total Hits: 871


Embed
Short URL:

HTML:

BB Code:



RPG RPG Revolution
RPG RPG Revolution is your #1 stop for game development and console RPG games, as well as those created by people like you. Link to us to support us, so we may grow to be better website community for you.

RPG RPG Revolution is an Privacy Policy and Legal