Community

The PokéCommunity

We are still working on a better slogan!

Visit Index



Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Pokémon Essentials
Reload this Page [Question] Stuck cycling in TallGrass
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
 
Thread Tools
  #1    
Old September 3rd, 2013 (08:41 AM).
AmethystRain's Avatar
AmethystRain AmethystRain is offline
Crystaline
 
Join Date: Apr 2012
Gender: Female
Posts: 235
This should maybe also go in the Bug/Reporting topic but I'd like to get a fix worked out somewhat quickly if possible--

Tested in a clean version 12 Essentials, the player can ride their bike into Tall Grass (as in, the kind from 3rd gen that you're not supposed to be able to bike through), but then becomes stuck and cannot leave the grass (without dismounting).



Basically, the way the script works out with the terrain tag, it seems that the grass is passable with a bike, until you're actually in it. If that makes sense?



One spot in, can't escape.

I believe this is the relevant script section, from Game_Map on 190
Quote:
elsif @terrain_tags[tile_id]==PBTerrain::TallGrass &&
$PokemonGlobal.bicycle && self_event==$game_player
return false
Does anyone have a solution?
With Love, Your Shadow~
Proud owner of Reborn and spearhead of the Pokemon Reborn game~
  #2    
Old September 3rd, 2013 (01:34 PM).
Nickalooose Nickalooose is offline
--------------------
 
Join Date: Mar 2008
Gender: Female
Posts: 1,129
That's easy:
Code:
      elsif Kernel.pbFacingTerrainTag==PBTerrain::TallGrass &&
         $PokemonGlobal.bicycle && self_event==$game_player
        return false
EDIT:
Just replace the lines you found with these ones lol.
  #3    
Old September 3rd, 2013 (02:15 PM).
Maruno's Avatar
Maruno Maruno is offline
Lead Dev of Pokémon Essentials
Moderator
 
Join Date: Jan 2008
Location: England
Posts: 4,026
Don't you think it's fun to be able to cycle into tall grass and get stuck?
  #4    
Old September 3rd, 2013 (05:54 PM).
jim42's Avatar
jim42 jim42 is offline
 
Join Date: Jul 2009
Gender: Male
Posts: 185
As long as you'r eable to get out by dismounting the bike and walking, actually getting stuck in long grass would make more sense than just bumping into some invisible wall.
  #5    
Old September 4th, 2013 (09:29 AM).
Nickalooose Nickalooose is offline
--------------------
 
Join Date: Mar 2008
Gender: Female
Posts: 1,129
If you play with the code you will be able to do other things than just crash into the grass... For example if you're at top speed, make the player "fall" off and white out lmao.
Personally I prefer riding in the grass at slower speed than just getting stuck, but each to their own.

You could drop a message saying, "the grass is long, get off bike?"... "don't be silly, I can't ride through grass that's longer than my hair."... "did you know this is a bicycle not a lawn-mower?!".

Just because the line I added made you stop immediately, doesn't mean you have to have that as "what it does".
  #6    
Old September 4th, 2013 (04:57 PM).
zingzags's Avatar
zingzags zingzags is offline
Creator or Pokemon Serenity
 
Join Date: Jan 2009
Location: Boston
Age: 21
Nature: Adamant
Posts: 552
Wait so you do not want the player to be stuck in tall grass, and they are not able to mount a bike in it? Just do a check if the player is in tall grass, in the mount bike method.
Pokemon Serenity is my fangame name.
name decided 12/15/09
Currently helping:
Pokemon ebony
and
Xenotime:
  #7    
Old September 5th, 2013 (11:45 AM).
AmethystRain's Avatar
AmethystRain AmethystRain is offline
Crystaline
 
Join Date: Apr 2012
Gender: Female
Posts: 235
Quote:
Originally Posted by Nickalooose View Post
That's easy:
Code:
      elsif Kernel.pbFacingTerrainTag==PBTerrain::TallGrass &&
         $PokemonGlobal.bicycle && self_event==$game_player
        return false
EDIT:
Just replace the lines you found with these ones lol.
Thank you!

Quote:
Originally Posted by Maruno View Post
Don't you think it's fun to be able to cycle into tall grass and get stuck?
Do you mean you did this on purpose? Well, it's creative but it isn't how it is in the original games, and I had been hoping to replicate that code for something else. It does make sense for a bike, but not for what I'm doing with this
With Love, Your Shadow~
Proud owner of Reborn and spearhead of the Pokemon Reborn game~
  #8    
Old September 5th, 2013 (04:58 PM).
Maruno's Avatar
Maruno Maruno is offline
Lead Dev of Pokémon Essentials
Moderator
 
Join Date: Jan 2008
Location: England
Posts: 4,026
Actually it was an oversight when I added the code which prevents cycling in tall grass, but it seemed fun and I didn't bother fixing it once I noticed it.
  #9    
Old September 5th, 2013 (05:15 PM).
zingzags's Avatar
zingzags zingzags is offline
Creator or Pokemon Serenity
 
Join Date: Jan 2009
Location: Boston
Age: 21
Nature: Adamant
Posts: 552
I wish I could give a like for the comment above!
Pokemon Serenity is my fangame name.
name decided 12/15/09
Currently helping:
Pokemon ebony
and
Xenotime:
  #10    
Old October 11th, 2013 (02:43 PM). Edited October 27th, 2013 by AmethystRain.
AmethystRain's Avatar
AmethystRain AmethystRain is offline
Crystaline
 
Join Date: Apr 2012
Gender: Female
Posts: 235
lolololol ame is a blonde post edited out because shes dumb feel free to delete this.
With Love, Your Shadow~
Proud owner of Reborn and spearhead of the Pokemon Reborn game~
Post 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 12:07 PM.

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.