The RPG Maker Resource Kit

Other Game Creation => Program Troubleshooting => Topic started by: Angelicanimelover on January 06, 2008, 10:33:39 PM

Title: RPG Maker 2000/2003 Cooking Mini game??? [Resolved]
Post by: Angelicanimelover on January 06, 2008, 10:33:39 PM
Does anyone know how to make a cooking mini game for RPG Maker 2000/2003? ???I found one before but my favorites got deleted ;9
Title: Re: RPG Maker 2000/2003 Cooking Mini game???
Post by: Irock on January 06, 2008, 10:47:45 PM
Could you be more specific?
Title: Re: RPG Maker 2000/2003 Cooking Mini game???
Post by: Angelicanimelover on January 06, 2008, 10:58:43 PM
how to make a cooking mini game (when the character has items like bread to make a sandwich or miso for miso soup ect....) I want to know how to make a event like that (In tales of symphonia the character finds recipes to make food;buys the ingredients then cooks it)

so my character could talk to some random NPC get a recipe and cook it....

I doupt that made sense:s
Title: Re: RPG Maker 2000/2003 Cooking Mini game???
Post by: Tezuka on January 07, 2008, 02:22:14 AM
You could use switches, example:

Switch 1: Bread
Switch 2: Lettuce

Event: If 1 and 2 are on and you press an event, say for instance, a sandwich icon in the menu you will start cooking it and you recieve one sandwich.

You could go a bit further and use Variables to add a bit of "chance" to it. You can basically make a variable of "If Sandwich is cooking, what are are the odds of it working?", so Variable 1: Sandwich cooking can triggered when you hit the sandwich icon (Along with the Bread and Lettuce switches). When this is done, you can goto the Variable side of things, so "If Variable 1 is on, use random variable numbers for the probability of sandwich cooking succeeding", after this point you can do what you want with the numbers, make it random as shown here:

(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi36.photobucket.com%2Falbums%2Fe9%2FTezuka101%2Fvar.png&hash=d331539d0841493155f98e90d95a3d474f18e6a3)


Change both zeros to the numbers of your liking.

After this, you can use this Conditional Branch:

Code: [Select]
<>Branch if Car [xxxx:Sandwich Cooking] is y or more/less
   <>Message: Failed!
   <>
: Else Handler
   <>Message: SUCCESS!
   <>Change Items: 1 Sandwich Add
   <>
: End
<>

This can seem confusing, but that is the basics.

Just replace "xxx" with switch number and "y" with the number you you want.

For the graphic side of things, you will need to do that yourself.
Title: Re: RPG Maker 2000/2003 Cooking Mini game???
Post by: Angelicanimelover on January 07, 2008, 08:54:13 PM
...um I sort of get it XD thank you:D
Title: Re: RPG Maker 2000/2003 Cooking Mini game???
Post by: Tezuka on January 07, 2008, 09:27:21 PM
Sorry, I made that little tutorial at 3AM, so it may not make sense somewhere......

PM me or reply if you have trouble with it, but make sure you try every step.
Title: Re: RPG Maker 2000/2003 Cooking Mini game???
Post by: Brady on January 10, 2008, 01:14:49 PM
Is that it resolved or you still need help?  Cuz if so i can go through the event i use and see if that heps you....
If it's resolved though, add [Resolved] to the title
Title: Re: RPG Maker 2000/2003 Cooking Mini game???
Post by: Knight Rider on January 10, 2008, 06:14:48 PM
How bout you try using items instead of switches, like so (make by Tezuka and i helped)

Code: [Select]
@>Text: Do you want to cook with the available ingredients?
@>Show Choice: Yes, No
   : When [Yes]
     @>Text: What would you like to cook?
     @>Show Choice: Sandwich, Nevermind
        : When [Sandwich]
          @>Conditional Branch: [Bread] in inventory
           @>Conditional Branch: [Lettuce] in inventory
            @>Change Item: [Bread], -1
            @>Change Item: [Lettuce], -1
            @>Control Variables: [Sandwich cooking] = Random No. (1...10)
            @>Play SE: "042-Knock03", 80, 100
            @>Wait: 5 frame(s)
            @>Play SE: "042-Knock03", 80, 100
            @>Wait: 5 frame(s)
            @>Play SE: "042-Knock03", 80, 100
            @>Wait: 5 frame(s)
            @>Play SE: "042-Knock03", 80, 100
            @>Wait: 30 frame(s)
            @>Conditional Branch: Variable [0003:Sandwich cooking] >= 5
              @>Play ME: '007-Fanfare01', 100, 100
              @>Text: SUCCESS! (Adquired 1x Sandwich)
              @>
             :Else
              @>Play ME: '005-Defeat', 100, 100
              @>FAILURE!
              @>
             :Branch End
            @>
           :Else
            @>Text: Not enough ingredients.
            @>Change Item: [Sandwich], +1
           :Branch End
       : When [Nevermind]
         @>
       :Branch End
    :When [No]
      @>
    :Branch End
@>

It's put like in XP but I'll work in 2K3.
Title: Re: RPG Maker 2000/2003 Cooking Mini game???
Post by: kathis on February 12, 2008, 06:10:22 PM
Damn you AlienSoldier you beat me too it!

When your using switches your implying that you cannot make more than one.
When using items you can see how much you gathered.
Variables can work too but it's not so nice.

When your making more than one recipe you just ad more to the choices.
when more than four recipes come up make the last one "view more"
and in it's section have the the remainder. and so on.

if you want to add chance to the game you can have a level cooking as Aliensoldier provided
and add a variable to add after you make a sandwich.

then when it comes to successful or failure you can have a random variable be randomly selected. As Tezuka shown. Then compare the two numbers.

Cooking  >= then random variable  = success  (Aliensoldier wayis suggesting that it can only be 1 varible and cooking never goes up from the looks of it. and is a random variable at every attempt...)


Adding more ingredients just means adding more conditional branches in the choice.
if you want to Unlock recipes you can have it check to see if a switch is on. The list can go one, just however you will end up with a very long event page, which isn't very nice.

but the choices and possibilities are endless.  so you might want to keep an layout so you know what you did and want. Also leave comments in the program as flags to you so you know what is what.

-kathis

ps. Brady is right if this is resolved change the title.