Gw Temp

Menu

Tutorial - 'Medicines' by ATARI

An item about RPGMaker 2000 posted on

Blurb

ATARI teaches a medicine item similar to System Shock 2 hypos, and treatments that you need to take every certain amount of minutes.

Body

Hi folks! It's ATARI again! This time I'm going to teach you about different medice things you can use.

The first, Hypos.

Things you need to know to use this part of the tutorial

1. Switches
2. Fork Options

Hypos are similar to the hypos you use when you play System Shock 2. For example, when the alienoid archnid attacks, (this is actually true) you get damage 3 toxin points, and each hypo takes away only 2 toxin points. Can you do something similar in your game? Sure!

Make 2 new conditions. Call one Posion 2, and the other Poison 3. Make poison 2 do more damage than regular poision, and poison 3 do more damage than poison 2. Now make a new item. Make a switch item. Call it "Poison Antidote Hypo." Make the price and description whatever you want. Make it a switch item. Make it turn on switch "Toxin Hypo." Now make a new common event. Call it, "Toxin Hypo." Make it's starting switch "Toxin Hypo." Make it an auto start event. Now make a new fork that says, "If hero condition is poison 3, then" make it change condition to posion 2 and turn off switch "Toxin Hypo." Below that in the else case, make it say, "If hero condition is poison 2, then" change hero condition to poison, and turn off swich "toxin hypo." In that else case, make a fork that says, "If hero conidition is poision, then" change the hero condition to normal, and turn off switch "toxin hypo." That's all there is to it.

2. Automated Time Medicines.

What you need to know to use this tutorial.

1. Forks
2. Varaibles.

What this is, if you get inflicted by a certain conidtion (say disease,) you get two pills from the pharmacy, and you automatically take them when you need to. However, if you take one out of time, you lose some health and have to get more. So how would you do that? It's not too hard. Make a new condition. Call it disease, make your hero lose 5 health every 2 steps. Make a new common event. Make it a parrell process that says, "IF hero condition is 'disease' then," have it turn on switch, "Diseased." Then make another common event, have it be parrell process, and make it's starting condition switch, "Diseased."

Now the first thing, you want to do, is make a new change variable event. Make it plus one to variable "disease_seconds." Then below that, put a wait 1.0. Then below that, make a new fork that says, "IF variable "Disease_seconds." is equal to 60, then," add one to variable "Disease_minutes," and set "disease_seconds" to 0. Below that, make a fork that says, "IF variable diseaes_minutes," is equal to five, then" set variable "Disease_minutes" to 0, then" below that, make a fork that says "Item 'pills' is owned (the stuff you buy) has, then" add one to variable "medicine" and remove one "pill." Below that, make a fork that says ,"If varaible 'disease_minutes' is equal to five," and "IF item 'pull' is NOT owned, then" make it set varaible medicine to zero, and display something saying you need more medicine, and that you have to start all over. Below that, make a fork that says, "IF variable 'medicine' is equal to 2, then" change condition to normal. Turn off switch "Diseased."

Now there is one more thing that you have to do. Make a new item, call it, "Pill." Make it a switch item. Cost any, description any. Make it turn on switch, "Loss." Now make a new common event. Make it an auto start event. Make it take away 75 points of health and set varaible "medicine" to zero, and then display the same message of having to start over and such.

Congradulations! That's it!

Good luck.
Remember,
"Even the greatest gamers were n00bs."
-ATARI