Main Menu
  • Welcome to The RPG Maker Resource Kit.

Making Blue Magic

Started by Xenomic, September 20, 2009, 07:49:58 AM

0 Members and 1 Guest are viewing this topic.

Xenomic

Yup.....I wouldn't ask this if I haven't been trying at it. I've been trying to get a Blue Magic system working in the game (granted, it's for a completely optional character, but nonetheless...). So far, this is what I've done....


1) Made a switch for the skill (I'll just use Fire as an example).
2) Gave monster skill, and made it so that when the monster uses the skill, it turns on a switch for that skill
3) In the common events, this is what I have:


If (Blue Mage) has learned (Fire)

 Else:
   If: Switch (Fire) is ON
     Variable Operation: [Fire] +1
     If: Variable Operation [Fire] is +1 or greater
       Message: Learned Fire!
       Change Skills: Blue Mage, Fire Add

       End

     End
     Switch Operation: [V:Fire] OFF
End



Now, I've tested this, and didn't learn the ability at all. I don't know what I'm doing wrong or if there's something that I'm missing. Note that the common event is set to Parallel Process and has no Trigger Switch, but there is another common event for if the Blue Mage is in the party. Dunno if I have to have that in the same common event as the Blue Magic or not x_x


Any help would be appreciated. I'm just fixing up characters before moving along now (already managed to make a "Moogle Charm" accessory, as well as an accessory to switch between two party members AND an item to temporarily disable enemy encounters for a brief period of time)




EDIT: Erm....lemme clarify this, since apparently it works, but it only happens AFTER battle. Is there a way to make the message appear during the fight that the character learned the skill?

Grafikal

blue magic? heroine? =o

/ontopic
Sounds pretty damn awesome as far as events go and it sounds like it may work with xp and vx. Your issue with the messages though. I'm uncertain, but can you set events in a troops tab? if 2k3 has a troops tab in the database... You might want to throw your events in there maybe. It would probably get really complicated with the more spells you intend to add, but check it out first i would say to make sure. To be honest though, I don't mind learning a skill after a battle. I think messages occur right when they're called, so you could write a message saying that X character successfully learned Y's skill and will be taught at the end of battle. Or something like "Blue Mage has noticed [enemy]'s technique." Which is code for "Blue Mage has learned a skill from [enemy] and you can use it after the battle is done".

Tezuka

#2
In Monster Group Events:

If [Monster 1] has used [Fire]

 Else:
   If: Switch (Fire) is ON
     (Do Nothing)
     If: Switch [Fire] is Off
       Message: Learned Fire!
       Change Skills: Blue Mage, Fire Add
       Switch [Fire] On

       End

     End

End


This way, the skill can still be a normal Fire spell without it being a switch with animations. Instead of looking for a "Greater or Equal" or a switched on switch, I did the opposite, and looked for something that is off.

REMEMBER: Place this in Monster Group tabs, not Common Events. Common Events are used for everything outside of battle and cannot effect anything in battle.

I hope this works for you. :)

Xenomic

Well, looking in the Monster Groups tab and in the coding for those, I see nothing that I can use to replicate that the monster has used a skill. There seems to be no such command prompt at all, unless I'm completely missing it. o.o


The reason I have it set up in Common Events is due to that, since all you have to do is put that coding in there, and then in the Monster tab, for the skill that a monster uses, just make it so that when the monster uses the skill, it flips on the switch automatically from there.


You know, I feel like sharing some of my stuff now.....this is making me want to do videos on the stuff I've managed to get. I blame it all on you guys! :p

Tezuka

#4
Oh wow, their isn't.

I'll take another look at it tomorrow, since I need to come up with a Blue Magic system myself, so I may as well kill two birds with one stone. I know how you can do an "absorb" technique, which can allow you to learn the skill by using an absorb ability to learn the skill from the enemy depending on their health, but it isn't exactly a Blue Magic system. :X

But yeah, I'll do a bit of experimenting tomorrow while at college (I am using RPG Maker for a small project).

Skie Fortress

You do realize that you can tag monster skills in the monster tab to turn switches on or off when using a skill, right?

Head on over and have another look.

Xenomic

Dunno if that's directed at me or Tezuka ^^;

If at me, then I already stated about that in the first post. If not, then my bad ^^;;

Tezuka

Quote from: Skie Fortress on September 21, 2009, 01:53:30 AM
You do realize that you can tag monster skills in the monster tab to turn switches on or off when using a skill, right?

Head on over and have another look.

...Wow, I forgot about that.

So:

If Switch [Fire] is ON

   If: [Hero] knows Fire
     (Do Nothing)
      Switch [Fire] OFF
     Else:
       Message: Learned Fire!
       Change Skills: Blue Mage, Fire Add
       Switch [Fire] OFF

     End

End


Not the cleanest way to put it, but I am in college at the moment. I'll once again take a look at it when I get home.