Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Event Based Morphing System

My second posted, but first made system using events (besides the simple dash system)
It is a fairly easy system that obviously lets your charecter morph during battle.
Special thanks to Infini for convincing me to make him one and letting me share my stuff with the comunity.
Lets get started!
Basically, i justed ripped all the instructions from the packages FAQ file
and put them here. Lol.
(I still wrote them myself!)
Down load demo here-  http://files.filefront.com/Morphing+Sys ... einfo.html
____________________________________________________________
SETUP
First, you will actually have to set up the sysem (This should be obcvious)
Here are some instructions how.
First Set up the common event.
It looks something like this in the demo.
__________________________________________________________
@=Conditional Branch Switch [0001] ==ON                            =
  @=Show Battle Animation: Actor Number 1, [Cast Magic]               =
  @=Control Switches [0001] ==OFF                                     =
  @= Change Actor Graphic Aluxes, 001-fighter01,001-fighter01         =
  @=Change skills Aluxes,-[Mass Fire]                                            =
  @=Change skills Aluxes,-[Greater Fire]                                         =
  @=Change Parameters Aluxes, Str-200                                        =
: Else                                                                                          =
  @=Show Battle Animation: Actor No.1 [Cast Magic]                      =
  @=Control Switches [0001] ==ON                                      =
  @=Change Actor Graphic Aluxes, 099-monster03, 099-monster03  =
  @=Change Skills Aluxes, +[Mass Fire]                                        =
  @=Change Skills Aluxes, +[Greater Fire]                                     =
  @Change Parameters Aluxes, Str+200                                        =
  @=                                                                                           =
: Branch End                                                                               =
@=                                                                                             =
__________________________________________________________

Next, you need to set up the skill to morph. Name it morph or w'ever you want.
Only things you really need to know are
Scope=Non
Common Event = Morph (or whatever you named it)
Occasion= Only in battle.
Thats basically it for this part!
__________________________________________________________________
Return Stats to Normal after returned to normal charecter
Ok, so when you have your common event for morph up, you will see something Like this
__________________________________________________________
@=Conditional Branch Switch [0001] ==ON                            =
  @=Show Battle Animation: Actor Number 1, [Cast Magic]               =
  @=Control Switches [0001] ==OFF                                     =
  @= Change Actor Graphic Aluxes, 001-fighter01,001-fighter01         =
  @=Change skills Aluxes,-[Mass Fire]                                            =
  @=Change skills Aluxes,-[Greater Fire]                                         =
  @=Change Parameters Aluxes, Str-200                                        =
: Else                                                                                          =
  @=Show Battle Animation: Actor No.1 [Cast Magic]                      =
  @=Control Switches [0001] ==ON                                      =
  @=Change Actor Graphic Aluxes, 099-monster03, 099-monster03  =
  @=Change Skills Aluxes, +[Mass Fire]                                        =
  @=Change Skills Aluxes, +[Greater Fire]                                     =
  @Change Parameters Aluxes, Str+200                                        =
  @=                                                                                           =
: Branch End                                                                               =
@=                                                                                             =
__________________________________________________________

In this picture, if the switch Morph is on, he morphs into the monster or whatever else you want him too morph into. If you look at the bottom of each line of code, you will see a line that says change parameters-Str+200. or STR-200
EXAMPLE
@=Conditional Branch Switch [0001] ==ON
  @=Show Battle Animation: Actor Number 1, [Cast Magic]
  @=Control Switches [0001] ==OFF
  @= Change Actor Graphic Aluxes, 001-fighter01,001-fighter01
  @=Change skills Aluxes,-(MINUS)[Mass Fire]
  @=Change skills Aluxes,-[Greater Fire]
>>>>>>>>@=Change Parameters Aluxes, Str-200
This line of code changes him back to normal using switches. If he morphed, it turns the switch on, so when he uses it again, it morphs him back. Then all you have to do is return all skills and stats back to normal ion the section of code that turns him back (See Above)
So in other words, if you  change parameters +200, on the morph back code you change parameters -200? Understand?

____________________________________________________________
Automatical Transform to original form when return to map.

Make another common event Called un-morph or anything you want.
In that event make it Parallel process and the trigger switch could be any switch you want.
It should look something like this.
__________________________________________________________
Name[unmorph]   Trigger[Parallel]    Condition Switch [0002]
__________________________________________________________
@=Conditional Branch Switch [0001] ==ON                            =
   @=Control Switches [0001] ==OFF
   @= Change Actor Graphic Aluxes, 001-fighter01,001-fighter01
   @=Change skills Aluxes,-(MINUS)[Mass Fire]
   @=Change skills Aluxes,-[Greater Fire]
   @=Change Parameters Aluxes, Str-200
: Else
@=
:Branch End
@=

__________________________________________________________
Then, make a parallel process event on the first map, or whatever map you want (First Works best)
all it has to do is this
turn on switch unmorph and erase
it looks like this
@=Control Switches [0002]
@= Erase Event
Trigger=Parallel Process.
That turns the switch on that turns on the common event and erases the event to prevent lags because it will want to do it over and over again.
That common event detects weather or not your morphed.
If you are, it automatically morphs you back.

__________________________________________________________________
I hope this was helpful and understandable.
Thanks! Questions? Comments? Just leave them here!
 
...In the demo, am I supposed to add this myself or is it there already? Because I walked everywhere and it wasn't anywhere..:P

Wait, Morph during battle? More info on that please..I battled and nothing happened.
 
In the demo, there is a monster you can face. When you are facing it go to your abilities and use the morph ablility. If you need more help, just tell me! Hope this helps!
 
Under your skills tab in the database, it will have a box with Occasion above it.
Your options for it would be
Always
Only in Battle
Only from Menu
Never

Obviously, choose only in battle. Your welcome!
 
Hi.  I have a few questions:

1) Does this work with the Cogwheel RTAB?

2) Is there a way to modify this so that if the hero transforms into the dragon, he loses a set number of MP at the end of each turn (and if his MP reaches 0, he would automatically transform back)?

Thanks!
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top