The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: cristiander on December 28, 2009, 10:42:24 PM

Title: World map?
Post by: cristiander on December 28, 2009, 10:42:24 PM
I've been tring to make a world map for my rpp for 3 days! Nothing! I can transport the player to the map, I managed to make him invisible so that it wouldn't look like my guy is climbing mountains but I realised that once I transported the player in the map I couldn't transport him back! Is there a script that I have to add in order for it to work or what! :(
Title: Re: World map?
Post by: &&&&&&&&&&&&& on December 29, 2009, 02:44:42 PM
I might be able to help if you tell me what rpp is.
Title: Re: World map?
Post by: cristiander on December 30, 2009, 05:29:09 PM
Quote from: Boe on December 29, 2009, 02:44:42 PM
I might be able to help if you tell me what rpp is.

Um.....what do you mean with rpp?

If your asking what I want then here it is:

An item that when you use it it shows a map! No player on the map. No information about where you are. Just a map.
I fought about using a picture but .... that mean working with paint or gimp(And I'm not good at this).
Title: Re: World map?
Post by: Sashikinaroji on December 30, 2009, 05:38:55 PM
Boe, like many of the people here usually are, was being sarcastic and/or being an ass... I think...

Basically though, he was calling your typo, and making a big deal of it (i know that you meant RPG, but he saw that you wrote RPP)

Although I cannot give you much help... You could take a series of screenshots of your map, put them together in paint and reduce the size for the map,  but that's a bit tedious...

Otherwise, that's the best help I can give you... Other than making your item a switch that will send you to and from the map screen by having it be a "switch" switch. (that is, having it turn the switch on the first time you use it, then off when you use it the second time.)
Title: Re: World map?
Post by: &&&&&&&&&&&&& on December 31, 2009, 06:44:50 PM
Sorry... I didn't know it was a typo. =(
I thought you where talking about some script I had never heard of.

Sashikinaroji's sounds pretty good.

The part that made me think that it was some script (and not a typo) is that part where you say you can't make him teleport back. There's no reason for this to happen. You should be able to just make a teleport event on the icon of the map to make him tele to the map you want.

So, like you have a town, over the town have an ivisible event that when touched makes the hero tele somewhere, and become visible again.

Sorry about the missunderstanding. I'm not one of the normal people who attack people for their spelling and gramar seeing as how I am horrible at both.
Title: Re: World map?
Post by: Sashikinaroji on December 31, 2009, 07:13:58 PM
Sorry bout that, I just assumed... and you know that they say when you assume? It makes an ASS out of U and ME.

By the way, absolutely love that you're rockin' the Dr. Who!  ;D
Title: Re: World map?
Post by: shaz on January 01, 2010, 11:07:44 PM
Folks, I don't think he's after a world map at all.  I think what he wants is a PICTURE of the world map that the player can call up from items or something, to get a quick overview, and then put it away again and be right back where he was.  Like a map that you can carry around with you to get an idea of where things are in relation to your current position.  Hence the need to make the player sprite transparent.  I don't think he wants something that you can walk to different locations on the world map and be transported to one of them (that'd be a bit hard if the player's invisible - you wouldn't see where you ARE, so would only guess as to where you need to go).

If you don't want to go down the route of creating a picture and using Show Image, here are a couple of other options:

In the item's common event, before sending the player to the "world map", record the current map number, player's x and y in variables (and to make it look more realistic, player's direction as well).  Then send them to the middle of your "world map".

If the world map only takes up a single screen, make every tile impassable.  Put an event right next to the player's position in all 4 directions, triggered by Action Button, and all 4 will transport the player back to the saved map, x and y position (if you recorded direction, you'll either need to reset the player's direction via script, or use conditional branches in the event to send them back - one for each direction, since you can't specify direction using a variable).

If the world map is larger than a single screen, make every tile passable so the player can freely move using the arrow keys to make the map scroll.  Add a single event set to Parallel Process.  In this event, have a loop that waits 4 frames then does a conditional branch: If Input Button C is pressed (I can't remember what the option is called exactly, but if you can't find it, shout, and I'll go look it up for you), then move them back to the original map, original coordinates, original direction and fix their opacity.

Actually, that second option would work even if the map IS the size of the screen, so I'd probably go with that one regardless.
Title: Re: World map?
Post by: cristiander on January 02, 2010, 07:47:48 PM
Quote from: shaz on January 01, 2010, 11:07:44 PM
Folks, I don't think he's after a world map at all.  I think what he wants is a PICTURE of the world map that the player can call up from items or something, to get a quick overview, and then put it away again and be right back where he was.   

That's what I want! What was I describing in the second post!? No player! No info about where you are! Just the map! I gues there's no chanse of getting what I want now but was it really tha hard to figure out?
Title: Re: World map?
Post by: shaz on January 02, 2010, 08:38:07 PM
*sigh*  I was addressing that to the person who was saying to put a town on the world map, and an event on the town so that when you hit it, it teleports you to the town.  THAT'S a world map. And they said that AFTER the second post, so they obviously didn't pick up on what you want.  (before I read your second post, that's what I thought you wanted too, because you said "world map" and that's what a world map is)

Now, did you read the rest of MY post?  Because I've explained exactly how to do what you want.
Title: Re: World map?
Post by: cristiander on January 03, 2010, 08:45:37 AM
Yes! I read it. Thanks.
But if this....thing is not called world map then how is it suposed to be called?
Title: Re: World map?
Post by: shaz on January 03, 2010, 08:49:35 AM
well, technically, it IS a map of the world, but when you say "I want a world map", most people automatically think it's something you want to be able to walk around on, and that walking into a location on the "world map" will teleport you to the detail map for that location.  That's just what a "world map" is/does, and it's probably the first association people make when they hear the words.

If you'd included the bit in your first post about it being an item that you want to use then put away again, it MIGHT have been more clear at the outset.
Title: Re: World map?
Post by: cristiander on January 03, 2010, 01:15:30 PM
OK! Got it.
Title: Re: World map?
Post by: Sashikinaroji on January 03, 2010, 09:10:37 PM
...


Am I the only one confused?

I didn't think anyone was trying to tell Cristiander how to make a world map... I, personally, was telling, in my own way, how to make a map of the world... Mind you, it wouldn't be fancy with all the scrolling and shit (it would probably be very similar to Don Miguels version on RM2k, only it would fill the whole screen), but it would be a map of the world...

:P ::)

Oh wellz... BAahahahahaha
Title: Re: World map?
Post by: shaz on January 03, 2010, 09:15:10 PM
from Boe:
Quote
You should be able to just make a teleport event on the icon of the map to make him tele to the map you want.

So, like you have a town, over the town have an ivisible event that when touched makes the hero tele somewhere, and become visible again.
Title: Re: World map?
Post by: DarkGamer on January 03, 2010, 09:18:33 PM
well, make an item and name it "map"make it infinite. Then make it a common event. Go to common events, and add a new called "Map".Make it as a paralell process.Since you don't want to use an image, that would be much easier, do this...

create a map , and do what you mean as your world map, that is what you will see after using the item.

then, go to "MAP" common event, save hero x, and y coordinates and add an option to remove all characters from the party.(if i where you i would add an arrow character, so you could search on the map with it, etc, etc).Then, add a teleport option, to the map that you made."after this make the switch that turns the map toem on on the common event of!...or it won't stop doing the teleports, and blocking the game!" Ok, that will make you go to the map. now to return by simply clicking a button, you will need this...
Add a paralell process event on the map, and add a conditional branch.
When X button is pressed, add (the members party that where there before using the item), and teleport to Hero X,Hero Y coordinates.Don't forget to make the switch to the common event "MAP", on again, or the item won't work after 1 use.

I hope you can do it.Any question, just let me know...