Castle Paradox Forum Index Castle Paradox

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Gamelist   Review List   Song List   All Journals   Site Stats   Search Gamelist   IRC Chat Room

Map Item?

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
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)

PostPosted: Mon Oct 11, 2010 1:42 pm    Post subject: Map Item? Reply with quote

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 Smokin'
_________________
Happy RPG Makin
Back to top
View user's profile Send private message
msw188




Joined: 02 Jul 2003
Posts: 1041

PostPosted: Tue Oct 12, 2010 8:32 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
chronoboy
Into the past with a splash




Joined: 04 Jun 2010
Posts: 162
Location: Canada

PostPosted: Wed Oct 13, 2010 10:58 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Greenwado
Well, it's just me, what did you expect?




Joined: 09 Aug 2010
Posts: 70
Location: Okacha (OK-A-CHA)

PostPosted: Wed Oct 13, 2010 3:49 pm    Post subject: Reply with quote

Thanks guys Razz

I think I'll try the first idea
_________________
Happy RPG Makin
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP! All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group