Community

The PokéCommunity

We are still working on a better slogan!

Visit Index



Advertise here

Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Pokémon Essentials
Notices

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.

Post Reply
Click here to go to the first staff post in this thread.  
Thread Tools
  #1    
Old July 21st, 2013, 11:20 PM
Larryturbo
 
Join Date: May 2013
Gender: Male

Advertise here
I want to create a bridge similar to the one in Roark's gym.A bridge that you can walk under it in any direction,while at the same time not being able to walk off when you are on it.Is that possible?

I have set the bridges .it seems I can walk both over and under no problem,but I can also jump of if I go down or up.
  #2    
Old July 22nd, 2013, 01:00 AM
Kaito123
 
Join Date: Jul 2012
Gender: Male
Go to your Database to Tilesets, then look at the "Passage (4 dir)" from your Bridge. The Tiles, there are at the Most left or right side, you Must deactivate that you can go more left or more right

Sorry for my english, I'm German
  #3    
Old July 22nd, 2013, 02:55 AM
Larryturbo
 
Join Date: May 2013
Gender: Male
I know what you mean but if I disable the passage from those directions,I will make it impossible for the player to go underneath,one solution would be to put some invisible blocks that don't allow movement
from a single direction,so I then would be able to restict up movement while allow down, the problem is that the bridge tiles are 1 square wide so it would be impossible to implement.

Another thing I just thought is to set some events on the sides of the bridge that would turn Through ON for the player.This would be extremely dangerous,what if the player decides not to go under the bridge.

Last edited by Larryturbo; July 22nd, 2013 at 03:33 AM.
  #4    
Old July 22nd, 2013, 04:41 AM
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
Have you considered looking at the several examples of bridges in the example maps? They work just fine.
  #5    
Old July 22nd, 2013, 05:49 AM
Larryturbo
 
Join Date: May 2013
Gender: Male
I just can't do it. I'll simply remove that bridge.The bridge scripts are all over the place and are dependent on other scripts ,meaning that it's really difficult to edit and keep track,thanks for your help anyways.
  #6    
Old July 22nd, 2013, 03:36 PM
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
Honestly, you don't need to fiddle with any scripts. I did all the script-related stuff when I wrote the bridge scripts.

All you need is to set your bridge tiles to terrain tag 15, priority 4, and give them movement permissions as if you were walking on them (i.e. can walk east/west but not north/south for your bridge). Then use two (sets of) events for each of the bridge, which call pbBridgeOn or pbBridgeOff depending on whether they're nearer or further from the ends of the bridge respectively - see the example maps.

It's not difficult.
Post Reply
Quick Reply

Sponsored Links


Advertise here
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
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 01:09 AM.

About Us
© 2002 - 2014 The PokéCommunity™, pokecommunity.com. Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.

Copyright
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 The PokéCommunity / PokéCommunity.com. PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator. Header artwork by Jordanice of deviantART.

Social Media
If you would like to stay up-to-date with us on the go, when we're down, or other such things, follow us on social media sites--most notibly Twitter, Facebook, and Google Plus--by clicking on the links provided.

Design presented by Peitharchia. Special thanks to Hiroshi Sotomura and Ausaudriel.