Multipurpose Item By Region

jasonluthor

Villager
Member
Joined
Jul 7, 2014
Messages
21
Reaction score
6
First Language
English
Primarily Uses
So I've been working through my first game and I'm... puzzled. I've tried a few different things but I'm honestly just unable to come up with how to have an item have several uses when varied by region. For instance. If there is a region painted 1, you get a deep ping. Region painted 2, higher ping. This goes all the way to a region painted 5 at which you get the highest ping possible. For now, that's all I want to accomplish, and I'm not sure if it's possible or if I'm just ignorant to the ways of RPG Maker beyond this point.
 

Zoltor

Veteran
Veteran
Joined
Jan 18, 2014
Messages
1,550
Reaction score
211
First Language
English
Primarily Uses
So I've been working through my first game and I'm... puzzled. I've tried a few different things but I'm honestly just unable to come up with how to have an item have several uses when varied by region. For instance. If there is a region painted 1, you get a deep ping. Region painted 2, higher ping. This goes all the way to a region painted 5 at which you get the highest ping possible. For now, that's all I want to accomplish, and I'm not sure if it's possible or if I'm just ignorant to the ways of RPG Maker beyond this point.
This is easy if you use a Region code script.

Such enables regions to call common events when you walk onto them.

In the common event, you want to turn on a switch(when you leave the region, you'll want to turn off a switch for the other region, while turning on a switch for the new region)

Then with the item's common event, you'll just need condition branches for each effect/region(aka switch).
 
Last edited by a moderator:

YoraeRasante

Veteran
Veteran
Joined
Jun 6, 2014
Messages
1,643
Reaction score
420
First Language
Portuguese
Primarily Uses
RMMV
or set a variable to the region's value and put a conditional branch for each variable value?
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
What is a "ping"? And what does it have to do with items?


Give the item a common event. In the common event, use Control Variables to put the current region id (Other > Game Data, I think) into a variable. Then use a series of conditional branches to determine what to do based on what the variable is set to.
 

jasonluthor

Villager
Member
Joined
Jul 7, 2014
Messages
21
Reaction score
6
First Language
English
Primarily Uses
Well it's functioning now. Just took some trial and error.

A 'ping' is like the ping on a sonar. The closer to an object the louder and more frequent the return sound is. Submarines launch these 'pings' to get an estimate of distance to an object. In my game you're hunting ghosts, so you'll have rooms where you'll be alerted to the presence of a potential supernormal entity in the room. You use the Q button to 'ping' the room. As you move closer to the ghost (technically speaking, as you pass from regions farther away from the target object to regions closer to it) the 'ping' changes in sound from a very low tone to a very high one as you hit Q.

The point is that as an audio cue it lets you know as you're closing in on your target. This will get more complicated as I expand the size of rooms or vary up regions. Pings may eventually lead to secret passages further into the haunted locations you're exploring. I changed the system so that you have a key item permanently in your invetory, "The Spook Scanner". It's now only enabled in particular parts of the haunted houses you explore. When you enter the room a low 'ping' will announce this is an 'exploration area' where you should be using your pings to track the ghost.
 

YoraeRasante

Veteran
Veteran
Joined
Jun 6, 2014
Messages
1,643
Reaction score
420
First Language
Portuguese
Primarily Uses
RMMV
Cool.
If you won't use the dash, you could make the "ping" be activated by it's button instead of always having to enter the menu too
 

jasonluthor

Villager
Member
Joined
Jul 7, 2014
Messages
21
Reaction score
6
First Language
English
Primarily Uses
Yes! I have it set to condition variable "push button" now so you don't have to go to menu (since you'll be using it so often)
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
All sorted out, then? Or do you still need help with some aspect(s)?
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,867
Messages
1,017,062
Members
137,575
Latest member
akekaphol101
Top