Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Pokémon Essentials
Reload this Page [Question] Location Signposts

Notices
For all updates, view the main page.

Pokémon Essentials All questions and discussion about Pokémon Essentials, the Pokémon game kit for RPG Maker XP, go in here. Also contains links to the latest downloads and the Essentials Wiki.



Reply
 
Thread Tools
  #1    
Old December 25th, 2012 (12:42 AM).
Cykes's Avatar
Cykes Cykes is offline
Gold Tier
 
Join Date: Dec 2008
Location: Canada, BC
Posts: 354
In the script PokemonField around line 134, there's all the things about the location signpost. I have a few questions about it.
  1. Is there a paramater to force a specific windowskin versus what the player is using for the menu? Or would a whole new window class need to be created for that?
  2. To go with the question above, Emerald introduced skins for location signposts depending on the type of location. (ie. towns had a wooden sign, cities had a brick sign). Is the best way to go about implementing this similar to how NOSIGNPOSTS is implemented?

Cheers.
__________________
I have a Twitter.
Why not post your game on Relic Castle?
I'm sure you have a lovely game. <3
Reply With Quote
  #2    
Old December 25th, 2012 (01:08 PM).
Maruno's Avatar
Maruno Maruno is offline
Lead Dev of Pokémon Essentials
Moderator
 
Join Date: Jan 2008
Location: England
Posts: 3,964
There's no way currently to make the location signpost windowskin vary depending on what kind of location it is. You could quite easily change it for all signposts at once, though (to the same one).

The question is how to decide which windowskin to use for a given map. Perhaps some override array (barely like NOSIGNPOSTS) could do if you weren't bothered about making it tidy (which I am).
__________________
Reply With Quote
  #3    
Old December 25th, 2012 (03:18 PM).
Luka S.J.'s Avatar
Luka S.J. Luka S.J. is offline
@LukaSJ0
 
Join Date: Dec 2008
Location: Croatia
Age: 21
Gender: Male
Nature: Adamant
Posts: 804
Quote originally posted by Maruno:
The question is how to decide which windowskin to use for a given map.
What I've done is change the windowskin depending on certain parameters of the map. So for instance, if the map name includes "Route", a route skin will be displayed. If the map has cave encounters, a cave skin will be displayed. My preferred method is with the inclusion of certain parts of the map name, like "City", "Town", "Forest", "Woods". I know it's not very specific, and has to be organized to work properly, but it is an easy workaround.
__________________
Reply With Quote
  #4    
Old January 2nd, 2013 (02:59 AM).
Krlos S/A Krlos S/A is offline
 
Join Date: Jan 2013
Gender: Male
Posts: 1
Quote originally posted by Daedalus:
In the script PokemonField around line 134, there's all the things about the location signpost. I have a few questions about it.
  1. Is there a paramater to force a specific windowskin versus what the player is using for the menu? Or would a whole new window class need to be created for that?
  2. To go with the question above, Emerald introduced skins for location signposts depending on the type of location. (ie. towns had a wooden sign, cities had a brick sign). Is the best way to go about implementing this similar to how NOSIGNPOSTS is implemented?

Cheers.
sorry my english, I'm brazilian. I wonder how the change of location signpost windowskin?
Reply With Quote
  #5    
Old January 3rd, 2013 (06:05 PM). Edited January 3rd, 2013 by Cykes.
Cykes's Avatar
Cykes Cykes is offline
Gold Tier
 
Join Date: Dec 2008
Location: Canada, BC
Posts: 354
Quote originally posted by Krlos S/A:
I wonder how the change of location signpost windowskin?
Although I appreciate both of your answers (I'll likely take a shot at the override array if I feel patient enough) this is more the question I needed answered.
__________________
I have a Twitter.
Why not post your game on Relic Castle?
I'm sure you have a lovely game. <3
Reply With Quote
  #6    
Old January 4th, 2013 (03:52 AM).
Maruno's Avatar
Maruno Maruno is offline
Lead Dev of Pokémon Essentials
Moderator
 
Join Date: Jan 2008
Location: England
Posts: 3,964
To change the signpost's windowskin at all, go to PokemonField and find class LocationWindow. In the def initialize there, put the line @window.setSkin("Graphics/Windowskins/goldskin"). The particular windowskin you use may vary.

From there, it's a matter of deciding how you want to change the windowskin for each different map. It's simple enough to do, so long as you've got a system sorted out.
__________________
Reply With Quote
Reply
Quick Reply

Sponsored Links
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are UTC -8. The time now is 08:50 PM.