Gw Temp

Menu

Tutorial - 'Materia System' by CrazyRob

An item about RPGMaker 2000 posted on

Blurb

A daring tutorial by CrazyRob that shows how to make a complex Materia-based spell-learning system.

Body

There's a way to do this: However, the skill value will stay in the user, not the Materia. Sorry.

Ok, first, you'll need a few things.
1 status condition (Leave everything blank, save for the name) for each Materia item.
1 Materia item skill scroll for each spell family (Thunder, Thundera, Thundaga.) Make this item infinite. (as in how many times it can be used.)
1 Switch for each Character X Materia Items (We'll use Cloud as an example, I.E: CloudIce, CloudFire, CloudThunder)
1 Variable For Each Character X Materia Items (CloudIceValue, CloudFireValue, etc.)
1 Skill to evoke the status condition stated above for each materia item
1 Variable to show how many Materias the party has.
1 Variable to see how many are equipped.
1 Variable per character to show how much materia they can
use. (Your discretion)
1 Variable per character to show how much Materia they're packing.

So say I had Cloud, Aeris, and Tifa (Hentai Lemon material, I know.) in my game. I, being a lazy SOB, make only four Materia Types, Ice, Fire, Thunder, and Cure. That means I'd
need, according to this system

STATUSES:
ICE
FIRE
CURE
THUNDER

Skill Scrolls (Materia, coff coff)
Ice Materia
Fire Materia
Cure Materia
Thunder Materia

VARIABLES
CloudIceValue
CloudFireValue
CloudCureValue
CloudThunderValue
...(repeat for Aeris and Tifa.)
FireMateriaHave
IceMateriaHave
CureMateriaHave
ThunderMateriaHave
FireEquipped
IceEquipped
ThunderEquipped
CureEquipped
CloudMateriaLimit
AerisMateriaLimit
TifaMateriaLimit
CloudMateriaHave
AerisMateriaHave
TifaMateriaHave

SWITCHES
CloudFireON
CloudIceON
CloudCureON
CloudThunderON
...(Again repeat for Aeris and Tifa.)

Got all that? Now, at the begining of the game Set all Character Materia values (These will determine the spells they learn) to 1.
We'll finish up here later


Now, we need to make a common event that is always on.
For the sake of convienence, we'll make all the "MateriaLimit" variables a "limit" of 2 for now.


COMMON EVENT: MATERIA
If Cloud Is in Fire Condition
:If CloudFIreON is On
Then
Cloud is already imbued with fire's magic.
Remove fire materia from cloud?
Yes/No
YES CASE
SWITCH CloudFireON OFF
Cloud gave up fire's magic.
Variable Fire Equipped -1
END
Else Case:
If VarFireEquipped is greaterthan or equal to FireMateria Have
Then
There's no Firemateria left to equip!
Else
IF variable CloudMateriaHave is equal to CloudMateriaLimit
THEN
Cloud can't equip anymore materia!
ELSE
SWITCH: CloudFireON
Cloud was imbued with Fire's Magic!
VARIABLE: FireEquipped + 1
VARIABLE: CloudMateriaHave +1
END

Repreat this for each of Cloud Materia's, then Aeris and Tifa.
At the end, have it cancel all Materia-related status. (The ones I told you to create.)

Now, the next common event...

MateriaLearning

If CloudFireON is ON
Then
Memorize Skill Fire
IF CloudFireValue is greater than/equal to 2
Memorize Fira
IF CloudFireValue is greater than/equal to 3
Memorize Firaga
ELSE
Forget Fire
Forget Fira
Forget Firaga
(Repeat this for the rest of Cloud Materia and then Aeris, Tifa, and whoever else.)


And that should do it. If you're reading the time of the post, you know this was done VERY LATE, so bear with me if there were mistakes. Let me know and I'll correct them, but I think this'll help you achieve a higher state of FFVIII Fandom.

Signing Off,

CrazyRob