Charas-Project

  • Home
  • Help
  • Search
  • Calendar
  • Login
  • Register
*
Please login or register.

Login with username, password and session length
 

News:

Click here to join us on IRC (#charas on irc.freenode.net)!



  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • How to teach a character to use a switch.
« previous next »
  • Print
Pages: [1]

Author Topic: How to teach a character to use a switch.  (Read 3198 times)

Offline thepsynergist

  • Kupo!
  • Associate
  • *
  • Posts: 159
  • I enjoy video game programming, as well as any and all RPG's
How to teach a character to use a switch.
« on: September 25, 2006, 01:47:41 AM »
I have had a large problem when I am making "Blue Magic" in my RPG Maker 2003 project.  So far, I am trying to get my person to use a switch command to use White Wind.  I am trying to have it so that when you use the White Wind skill, it would trigger a switch.  I can only get this to work on monsters.  If someone here can educate me on this dilemma and help me get it fixed, I would be very pleased.
Logged
http://i212.photobucket.com/albums/cc135/thepsynergist/JeffsTrainerCard.png
Register me in your Pal Pad in Diamond/Pearl!

Offline drenrin2120

  • Global Moderator
  • Sage
  • *
  • Posts: 6,101
(No subject)
« Reply #1 on: September 25, 2006, 02:50:46 AM »
One question, are you trying to make it so the character uses the skill and it still has all the effects it would normally have along with switching a switch? If so, that is impossible. There is a way to do it, but it's a lot of work in the DBS. Doing pretty much anything custom in the DBS can be really difficult. Enterbrain should have seriously given more freedom for customization in the battle system. That would've made for THE best RPGMaker ever.
Logged

Offline WarxePB

  • Action Sue
  • Royal
  • *
  • Posts: 3,601
  • What killed the dinosaurs?
    • The Gigaverse
(No subject)
« Reply #2 on: September 25, 2006, 10:37:53 AM »
As Dren said, it's impossible to have a skill trigger a switch without making the skill a switch skill (setting the type to Switch, then using battle events to create an effect). So you'll have to do that, or just scrap the skill altogether.
However, if you do want to have a switch skill, I can give you some pointers on how to realistically recover HP in the DBS.
Logged
Blog: The Gigaverse
Twitter: Initial Chaos

Offline thepsynergist

  • Kupo!
  • Associate
  • *
  • Posts: 159
  • I enjoy video game programming, as well as any and all RPG's
(No subject)
« Reply #3 on: September 26, 2006, 01:16:30 AM »
*Yes, I think that would help.

What I mean by a character learning a switch is, creating a skill and setting the type "switch", then make it so that when you cast the "switch" it triggers and can do stuff.

Like the White Wind skill.  I set it as a switch type, then set it so that my character would learn it if his level was 1.  I set it to 1 and above after finding out it would not work.  The only way that I found out that it could work is if I make the White Wind skill it's own battle command.  I need help...
Logged
http://i212.photobucket.com/albums/cc135/thepsynergist/JeffsTrainerCard.png
Register me in your Pal Pad in Diamond/Pearl!

Offline thepsynergist

  • Kupo!
  • Associate
  • *
  • Posts: 159
  • I enjoy video game programming, as well as any and all RPG's
(No subject)
« Reply #4 on: September 27, 2006, 01:03:51 PM »
I know that I am double posting...and I am sorry.
But, I just need to know if anyone can help me.
Warxe_PhoenixBlade, I would greatly appriciate your help, soon.
Logged
http://i212.photobucket.com/albums/cc135/thepsynergist/JeffsTrainerCard.png
Register me in your Pal Pad in Diamond/Pearl!

Offline thepsynergist

  • Kupo!
  • Associate
  • *
  • Posts: 159
  • I enjoy video game programming, as well as any and all RPG's
(No subject)
« Reply #5 on: September 29, 2006, 06:40:29 PM »
I hope that this thread isn't dead because my problem has not be resolved.  I ask again in regard to my prior posts, how do you get a character to learn and use a switch, in battle.
Logged
http://i212.photobucket.com/albums/cc135/thepsynergist/JeffsTrainerCard.png
Register me in your Pal Pad in Diamond/Pearl!

Offline WarxePB

  • Action Sue
  • Royal
  • *
  • Posts: 3,601
  • What killed the dinosaurs?
    • The Gigaverse
(No subject)
« Reply #6 on: October 05, 2006, 08:18:29 PM »
My apologies; I thought the question was resolved already.

To create effective switch skills, you will have to use Battle Events. In the M. Groups tab, there's a section in the lower right labelled "Battle Events"; this is where you want to look. First, click the "..." button near the right edge, and select the first option - click the box, and using the ... box again, select the switch that your skill activates (for example, if your skill activated 0023:SwitchSkill, you'd select that switch in the window). Press OK. What this has done, basically, is telling the event "Don't activate this event unless these functions are met".
Now, to create a White Wind skill, first show the Battle Animation associated with the skill. Make sure to check the "Halt Processing" option.
Now, we'll need to use variables. Use a Variable Operation to get the hero's HP (this is assuming you only have one hero who can use White Wind), by selecting "Set" in the top area, and "Hero/(hero name)/HP (not Max HP)" in the bottom area. Next, use a Change Character HP, with the options "Entire Party", "Increase", and set to the variable you used above. Finally, turn the switch that activates the event OFF.

It should look something like: http://img.photobucket.com/albums/v221/odinthegreat1/asas.jpg.
Logged
Blog: The Gigaverse
Twitter: Initial Chaos

Offline thepsynergist

  • Kupo!
  • Associate
  • *
  • Posts: 159
  • I enjoy video game programming, as well as any and all RPG's
(No subject)
« Reply #7 on: October 06, 2006, 03:08:19 AM »
The problem isn't in the battle events for me.  My problem is that I can't make my character learn the switch skill, with out making it an entire battle command...
Logged
http://i212.photobucket.com/albums/cc135/thepsynergist/JeffsTrainerCard.png
Register me in your Pal Pad in Diamond/Pearl!

Offline aboutasoandthis

  • Exemplar
  • *
  • Posts: 1,915
  • Talking sucks.
Did you teach it to him?
« Reply #8 on: October 12, 2006, 12:53:51 AM »
Is your problem this?
+The character won't learn the skill.
Or this:
+The switch skill does not show up at all when in battle.

With the first case, simply teach the character the skill. Via Level Up, Battle, Whatever.

With the second case, you need a battle command that is typed to "skill." That holds all skills. A switch skill shouldn't show up in a "Skill-Subset." This part of RM is annoying as it really prevents you from making things like a Magic Command without a lot of work.

I think I solved your problem. I hope it helps.
Logged
My pokemon bring all the nerds to the yard, and they're like you wanna trade cards? Darn right, I wanna trade cards, I could trade this, but not my charizard.  



Offline thepsynergist

  • Kupo!
  • Associate
  • *
  • Posts: 159
  • I enjoy video game programming, as well as any and all RPG's
(No subject)
« Reply #9 on: October 12, 2006, 02:45:55 AM »
Oh, that's it.  My prob was the second one.  All I found was the "Link to event" option under the Battle Settings, I then made a skill called White Wind.  When I tried to set the magic type, all I found was Switch.  I figured that was it and I set it to it.  Then I taught the skill to the main character and made a battle event in which if the "White Wind" switch would turn on, it would heal the main character = to his HP.  All I succeeded in when selecting the "Blue Magic" option was the main character using a normal attack battle animation and not dealing any damage...I am wondering what the heck is wrong with my rm2k3... :|
Logged
http://i212.photobucket.com/albums/cc135/thepsynergist/JeffsTrainerCard.png
Register me in your Pal Pad in Diamond/Pearl!

Offline thepsynergist

  • Kupo!
  • Associate
  • *
  • Posts: 159
  • I enjoy video game programming, as well as any and all RPG's
Problem Solved
« Reply #10 on: October 15, 2006, 09:51:59 PM »
I found out that the problem was that my Blue Magic skills had "Skill subset" for my skills.  I switched them to "Skill" and It worked.  I appriciate all the help that was offered to me.  I will try to help other people on this site that need it, so I can return the favor.  Thanks a bunch. :D
Logged
http://i212.photobucket.com/albums/cc135/thepsynergist/JeffsTrainerCard.png
Register me in your Pal Pad in Diamond/Pearl!

  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • How to teach a character to use a switch.
 

  • SMF 2.0.10 | SMF © 2015, Simple Machines
  • XHTML
  • 2O11
  • RSS
  • WAP2
  • Simple Machines Forum