I am looking for a way to make an item that displays a map of the world. The thing is I have done
this before but I can't recall what I did. I am using Omegas7's map saver but my map is 400 by 400, so no dice.
So I split it up and tried to put it together in GIMP but it was unsuccessful. I remember splitting the map up the
last time I did this. I don't know if it's related but I also have Hime's Connected Maps. the attached file is
the map for my last game which was 425 by 425, and I don't know how I accomplished it. Any help
would be greatly appreciated.
you never mentioned what your problem is.
usually that is as easy as attaching a common event to an item, and have that common event contain exactly three commands: show picture for the map, empty show text for the wait to keypress and then erase map.
if the map is too large you'll need to shrink it in an image program
most people use a mapshot script to capture the map that you are currently playing on.
Then you take that image and resize it to be the same size as your game resolution or smaller.
From there you can use other scripts or show picture command to display the image.
my problem is I don't know how to create a picture of my map
so I can bring it up in the game. I am using the scripts as mentioned.
map is 400 by 400.
As Andar and Roninator said, you would use the map screenshot script you have to get a picture of your map on your clipboard--then paste it into an image editing software, such as GIMP, Photoshop, or even MS Paint.
Once you have it in your image software of choice, you would need to resize it so it will fit your game's resolution. This has nothing to do with how big the map is in tiles, it is entirely about how big the game window is in pixels. I use mainly RMXP, and my games can't show images more than 640x480px because that's how big the game window (the game's resolution) is. I think VXA has a slightly higher resolution (for a slightly larger game window), but I don't know off the top of my head what it is.
For the sake of instruction, let's just say that you need it to fit in a 640x480 game window. Your map in particular would turn out 640x640 max, because you're using a square map. Save that file (for demo purposes, I'll call it "WorldMap.png"), and import it into your project in the Pictures folder.
Go into the database, then go into the Common Events tab. Andar suggested using Show Picture, Show Text: [blank], Erase Picture--but I've always done it a little differently. My events for this type of function go something to the tune of:
Show Picture: 001 "WorldMap.png"
Loop:
>If Button [C] is being pressed:
>>Erase Picture: 001 "WorldMap.png"
>>Exit Event Processing
>Else
>>Wait 5 Frames
Repeat Loop
I don't have the engine on this computer to check that that's exactly how I have mine set up, but it's in the ballpark and it should get you started if Andar's simpler ShowText suggestion doesn't!
Once you have that common event set up, you can create your "World Map" item and set it to call that common event when used.
Hope that helps you!
VX ACE's native resolutions are 544x416 and 640x480 only.
Via scripting, you can make a very large map move in any of the 4 basic directions to show the hidden parts of that map at will.
thanks guys! I figured it out!