Main Menu
  • Welcome to The RPG Maker Resource Kit.

How to make an inn?[PROBLEM SOLVED]

Started by syafiqpilot, April 27, 2010, 01:56:59 PM

0 Members and 1 Guest are viewing this topic.

syafiqpilot

Hey i want to make an inn..i mean like i can check in at the inn ..How?also how to make graphic event move?like people moving one place to other,people going out from door.How?

Grafikal

To make a simple and successful Inn, do something like this:

:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Text:
   Welcome! A night's stay is only 10 G. Would you like to stay a night?
Choice Branch:
   >Yes:
         Conditional Branch: IF [Gold] > 10 G
               >I'm sorry, you don't seem to have enough money to stay the night.
               >Exit Event Processing
         ELSE:
               Text:
                    Have a good night!
               Decrease Gold: -10
               Tint Screen: -255,-255,-255 30Frame(s)
               SE: (whatever sound effect you want for a good sleep)
               Party Recover ALL
               Wait: 60 Frame(s)
               Tint Screen: 0,0,0 30Frames(s)
               Exit Event Processing
   >No Thanks:
          Text:
               Ok. Please come back if you need a good night's sleep.
          Exit Event Processing
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

So basically, you walk up to the NPC, the player interacts with the event and the first thing that happens is a text message from the NPC is displayed telling you the price and asking if you want to stay the night. Just after that, a choice box will appear with a YES or NO answer. If yes, then there's a conditional statement checking if you have the correct amount of gold to stay the night. If you do, then the NPC will display a text message, you'll lose 10 gold (for the price), the screen will take 30 frames to fade to black, a sound effect will play denoting that you're sleeping or something, the whole party will recover their stats, the screen will stay black for about 2 seconds, then take 30 frames to fade back to normal. Then you're done. If you do NOT accept sleeping the night, then the NPC will display a text message saying that you can comeback whenever.

Zylos

http://rmrk.net/index.php/topic,32016.0.html

:mad:


Also, to make people move, just use the move event command.




syafiqpilot

Quote from: grafikal on April 27, 2010, 03:40:19 PM
To make a simple and successful Inn, do something like this:

:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Text:
   Welcome! A night's stay is only 10 G. Would you like to stay a night?
Choice Branch:
   >Yes:
         Conditional Branch: IF [Gold] > 10 G
               >I'm sorry, you don't seem to have enough money to stay the night.
               >Exit Event Processing
         ELSE:
               Text:
                    Have a good night!
               Decrease Gold: -10
               Tint Screen: -255,-255,-255 30Frame(s)
               SE: (whatever sound effect you want for a good sleep)
               Party Recover ALL
               Wait: 60 Frame(s)
               Tint Screen: 0,0,0 30Frames(s)
               Exit Event Processing
   >No Thanks:
          Text:
               Ok. Please come back if you need a good night's sleep.
          Exit Event Processing
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

So basically, you walk up to the NPC, the player interacts with the event and the first thing that happens is a text message from the NPC is displayed telling you the price and asking if you want to stay the night. Just after that, a choice box will appear with a YES or NO answer. If yes, then there's a conditional statement checking if you have the correct amount of gold to stay the night. If you do, then the NPC will display a text message, you'll lose 10 gold (for the price), the screen will take 30 frames to fade to black, a sound effect will play denoting that you're sleeping or something, the whole party will recover their stats, the screen will stay black for about 2 seconds, then take 30 frames to fade back to normal. Then you're done. If you do NOT accept sleeping the night, then the NPC will display a text message saying that you can comeback whenever.

Okay but i'm using RPG Maker xp..So is it the same ?

syafiqpilot

Okay i just create my own inn style using the event :) Thnx for the help anyways

Seroms_01

syafiqpilot I was wondering if It worked cause I found I minor error in the Event.

grafikal I don't mean to be picky but for people who are new and are trying to find tutorials i would like to add that you got the

Conditional branch: If [GOLD] > 10G Sequence.

Switched with:

The Branches Else statement.

I don't want to seem like ocdish but ya that all.
         
I you want to check /just read this over,

Conditional Branch: IF [Gold] > 10 G
                >I'm sorry, you don't seem to have enough money to stay the night.
                >Exit Event Processing
          ELSE:
                Text:
                     Have a good night!
                Decrease Gold: -10
                Tint Screen: -255,-255,-255 30Frame(s)
                SE: (whatever sound effect you want for a good sleep)
                Party Recover ALL
                Wait: 60 Frame(s)
                Tint Screen: 0,0,0 30Frames(s)
                Exit Event Processing
    >No Thanks:

Zylos

First of all, the thread is several months old and the original poster has long since left (new people who come just for resources and advice tend to do so once they've found what they're looking for).

Secondly... what the heck is different about what you wrote and what Grafikal wrote? The event should work just fine with the commands that he gave.