Notice: fwrite(): Write of 44 bytes failed with errno=28 No space left on device in /home/rmrk/domains/rmrk.net/public_html/Sources/Cache/APIs/FileBased.php on line 96
Print Page - Anybody home?

The RPG Maker Resource Kit

RMRK General => General Chat => Topic started by: LennArt on December 29, 2010, 02:58:27 PM

Title: Anybody home?
Post by: LennArt on December 29, 2010, 02:58:27 PM
Hello RMRK.

I'm a beginning Dutch RPG game maker and i use RPG XP, Photoshop and Gimp.

I'm making a game using all of RPG XPs standard textures at the moment, and when it's done i will replace them with my own :D


I'd also like to ask you guys something:

I have this map where you are in a forest, and when you pass a specific line, you stand still and some creepy guy walks up to you and demands you to give him your money. You can either choose to fight him, or to give him the money. But my question is:

How do i let him dissappear after giving the money/fighting without him coming back when passing the line again?
Title: Re: Anybody home?
Post by: EvilM00s on December 29, 2010, 03:01:20 PM
Welcome, sir. I think RM questions have their own forum, and I'm unfamiliar with XP anyway. In VX you could set a self switch that leads to a new event page which erases the event.

Anyway, enjoy your stay here.
Title: Re: Anybody home?
Post by: LennArt on December 29, 2010, 03:10:06 PM
Thank you. What is actually the difference between XP and VX?
Title: Re: Anybody home?
Post by: Dwarra? on December 29, 2010, 04:00:52 PM
VX is just the newest version of RPGmaker, a lot of features from XP have been updated, and some have unfortunately been downgraded (mapping)
Title: Re: Anybody home?
Post by: modern algebra on December 29, 2010, 05:18:08 PM
Welcome to RMRK, and EvilM00s' solution will certainly work in RMXP as well.

The differences between the makers are mostly preferential. It's easier to make decent looking maps fast in RMVX, but it's really quite difficult to make really nice maps because there are fewer layers and fewer tiles. In RMXP, there is a bit of a learning curve and maps can take a lot of time before they look good, but they can look a lot better than RMVX.

Yanfly wrote a good little article about the differences between the two here: http://wiki.pockethouse.com/index.php?title=RPG_Maker_XP_vs_RPG_Maker_VX
Title: Re: Anybody home?
Post by: LennArt on December 29, 2010, 05:33:49 PM
Thanks for the welcome guys.

I now just copied the map and it now just transferred to it after you gave him the money or beat him.

I don't really understand what you ment with the self switch though.

My problem now is to get the event not to play when you pass the line after you left the map and came back...
Title: Re: Anybody home?
Post by: modern algebra on December 29, 2010, 05:49:41 PM
Don't be transferring to a different map. That's a no-no. Switches and variables are two of the most fundamental concepts in eventing. They are worth taking the time to learn.

The first image below is the enemy event. Notice at [1] that I turn the A self-switch ON. At [2] you then create a new event page (notice at [3] that we are currently ON page 1).

The second image is of the second page of the enemy event (notice at [2]). Now, at [1], see how I check as a condition that self-switch A be on.

Pages work basically that the highest number page that meets conditions will run. As long as Self-switch A is OFF, that will be Page 1 since Page 2 doesn't meet conditions. As soon as self-switch A is turned ON, however, the event will go to page 2 since the condition is now met.

If you are performing the battle in a separate event, then you just need to use a regular switch instead of a self-switch.
Title: Re: Anybody home?
Post by: LennArt on December 29, 2010, 07:58:41 PM
Wow, that's really helpful.

But i don't have the events on the enemy itself, i got it on the ground...
Title: Re: Anybody home?
Post by: EvilM00s on December 29, 2010, 09:31:01 PM
Perhaps if you do it as Modern suggests, it will be easier. Modern is pretty smart, after all...
Title: Re: Anybody home?
Post by: modern algebra on December 30, 2010, 03:39:16 AM
Well, just use a regular switch instead. Make that the only condition on the second page, and turn it on after the battle in whatever event starts the battle.
Title: Re: Anybody home?
Post by: LennArt on December 30, 2010, 09:06:53 AM
I think i get it now.

The event is on the ground.

In that event i should make a second page, turning the switch on there.

Then in the first page (after the battle) i insert a control switch and i turn it on?
Title: Re: Anybody home?
Post by: modern algebra on December 30, 2010, 04:02:55 PM
Yeah, if by "i should make a second page, turning the switch on there" you mean select the switch as a condition for the page.

If you have any more questions on this or any other eventing problem, create a new topic in the Tutorials (http://rmrk.net/index.php/board,124.0.html) forum.
Title: Re: Anybody home?
Post by: LennArt on December 30, 2010, 05:16:23 PM
Really thanks for your help.


'll create a quick test to see how it works and then i'll put it in my game...