The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Tutorials and Eventing => Topic started by: patmi on July 22, 2007, 11:15:07 AM

Title: [RESOLVED] Treasure shop
Post by: patmi on July 22, 2007, 11:15:07 AM
Hello.
I wanna do a table - just like the birdcage in Aveyond. Does anyone know how to do this?
THANX
Title: Re: Treasure shop
Post by: modern algebra on July 22, 2007, 03:08:42 PM
I... don't know what the birdcage in Aveyond is... Care to inform me?
Title: Re: Treasure shop
Post by: patmi on July 22, 2007, 04:35:08 PM
Quote from: modern algebra on July 22, 2007, 03:08:42 PM
I... don't know what the birdcage in Aveyond is... Care to inform me?
U need to buy it to catch the nightingale /bird/ and u also need the seeds from the same shop. First u must pput the seeds on the ground to attract the bird and then use the cage to capture it.
The cage and the seeds are on separate tables in the shop and when u buy them, they dissapear and when u buy them both the shopkeeper tells u he doesnt have anything else for you to buy.
I want a table and a statue to be sold.
Title: Re: Treasure shop
Post by: shaz on July 22, 2007, 10:07:18 PM
wow - that's not quite how it goes in Aveyond, but I know what you're asking.

You need a tileset that has a table in it, so place the table.  Then put an event on the table that has 2 pages.  First page has no preconditions, and in the graphic you place the image of the birdcage that you want displayed there (you might have to find an image for that too).  Have an Action Button trigger to give the option to buy it, and if player chooses yes, set a switch (not a self-switch) on.  Then in the second page, have that switch as a precondition, and no image.  So first time through the cage will appear on the table.  Player inspects it, has the option to buy.  If they say no, switch stays off and birdcage stays on table.  If they say yes, switch goes on and birdcage disappears (in that choice handling you'll also have to do the money changing and item changing so player pays for and receives the birdcage).  Then anytime they come back to that shop, there's no birdcage because they've already taken it.
Title: Re: Treasure shop
Post by: Kokowam on July 23, 2007, 01:11:59 PM
Use a self-switch instead of a regular switch, though.
Title: Re: Treasure shop
Post by: patmi on July 23, 2007, 03:58:53 PM
Can someone please post screenies for this event, please?
THANX

PS : How can I make a NPC - for example a sweeping maid - make her sweep whenewer I enter the house? Screenies please....
THANX
Title: Re: Treasure shop
Post by: Kokowam on July 23, 2007, 05:05:46 PM
For a sweeping thing, you need the correct sprite set...
Title: Re: Treasure shop
Post by: patmi on July 23, 2007, 05:54:31 PM
Quote from: mastermoo420 on July 23, 2007, 05:05:46 PM
For a sweeping thing, you need the correct sprite set...
I have the maid with the broomstick.
Title: Re: Treasure shop
Post by: Kokowam on July 23, 2007, 06:04:59 PM
Then fiddle around with one of the event things at the bottom that say stuff like Move Animation, Stop Animation, etc. Tick one at a time and then Test Play your game.
Title: Re: Treasure shop
Post by: patmi on July 23, 2007, 06:41:25 PM
Quote from: mastermoo420 on July 23, 2007, 06:04:59 PM
Then fiddle around with one of the event things at the bottom that say stuff like Move Animation, Stop Animation, etc. Tick one at a time and then Test Play your game.
THANX

PS: In one map I have a dragon that waana become a human. When he become a human he dissapears and appears in another map where a girl is. How can I make the girl say something only when the boy is in the map? On first page she introduces herself and on the second she should say she likes the boy, but only in the case the boy is already on the map. How can this be done?
Title: Re: Treasure shop
Post by: Kokowam on July 23, 2007, 06:47:46 PM
When he becomes human, turn on a switch which I will call "LOL." That way, when you make an event page, make a switch pre-condition of LOL that will make sure you are a boy when the girl says she likes the boy.
Title: Re: [REQUEST]Treasure shop
Post by: shaz on July 23, 2007, 09:53:56 PM
Quote from: mastermoo420 on July 23, 2007, 01:11:59 PM
Use a self-switch instead of a regular switch, though.
Won't a self switch reset when you go back onto that map?  So if you leave and come back it'll be back on the table for you to buy again.  Only a regular switch would make it appear once and then never again.
Title: Re: [REQUEST]Treasure shop
Post by: Kokowam on July 23, 2007, 09:57:21 PM
Self-switch is the exact same as a switch except it works only within the event you're working with. That saves the use of getting millions of switches to get your chests working.
Title: Re: [REQUEST]Treasure shop
Post by: shaz on July 23, 2007, 10:12:21 PM
ah thanks - I thought they reset when the maps started!  you learn something new every day ;)
Title: Re: [REQUEST]Treasure shop
Post by: Kokowam on July 23, 2007, 10:49:08 PM
Not me. My brain doesn't have that function anymore. Anyways, patmi, if this was resolved, add [RESOLVED] to the topic title. ;D
Title: Re: [REQUEST]Treasure shop
Post by: patmi on July 24, 2007, 11:15:48 AM
Quote from: mastermoo420 on July 23, 2007, 10:49:08 PM
Not me. My brain doesn't have that function anymore. Anyways, patmi, if this was resolved, add [RESOLVED] to the topic title. ;D
Thank you very much for your help.