View previous topic :: View next topic |
Author |
Message |
Greenwado Well, it's just me, what did you expect?

Joined: 09 Aug 2010 Posts: 70 Location: Okacha (OK-A-CHA)
|
Posted: Mon Oct 11, 2010 1:42 pm Post subject: Map Item? |
|
|
Is it possible to make a map item that displays a map of the world or a certain region? Could it be sold in a store? Thanks  _________________ Happy RPG Makin |
|
Back to top |
|
 |
msw188
Joined: 02 Jul 2003 Posts: 1041
|
Posted: Tue Oct 12, 2010 8:32 am Post subject: |
|
|
This is pretty easy, but you need the map to be drawn as a bmp, then import it as a backdrop. Have the given item call a textbox that is actually empty, but set to display the map backdrop. Then this item can be sold in a store like any other. _________________ My first completed OHR game, Tales of the New World:
http://castleparadox.com/gamelist-display.php?game=161
This website link is for my funk/rock band, Euphonic Brew:
www.euphonicbrew.com |
|
Back to top |
|
 |
chronoboy Into the past with a splash

Joined: 04 Jun 2010 Posts: 162 Location: Canada
|
Posted: Wed Oct 13, 2010 10:58 am Post subject: |
|
|
The Game player has a built-in map viewer that is tied to the main menu.
Here are a few options you can choose to make it work the way you need it:
Edit the main menu's map option and make it visible when a tag is enabled. Create an item and set it to enable this tag if the item has been obtained. When the player buys the map, they will automatically see a new menu option when they press ESC to view the map using the built-in map viewer.
Other option would involve some plotscripting, if you want the map item to be area/dungeon-specific:
Code: | plotscript, harbour map, begin
if (current map := map:Harbour) then (show mini map)
end |
Unfortunately, the player would not be-able to view this map away from the area unless you use some more advanced plotscripting, mainly teleporting to the map, displaying the mini map, and teleporting the player back to where they were. I can provide how this is done, if you would like.
You would then attach this plotscript to a textbox and set "instead of" to run that plotscript. Assign the textbox to the item, and put it in a shop. You could also attach the plotscript to the main menu's map option, but you will need to make a special wrapper for it to do some checks.[/code] _________________ Current project: Chronoboy Adventures
Website: http://www.chronoboy.com/ |
|
Back to top |
|
 |
Greenwado Well, it's just me, what did you expect?

Joined: 09 Aug 2010 Posts: 70 Location: Okacha (OK-A-CHA)
|
Posted: Wed Oct 13, 2010 3:49 pm Post subject: |
|
|
Thanks guys
I think I'll try the first idea _________________ Happy RPG Makin |
|
Back to top |
|
 |
|