Resource icon

Resource Terrain Tag Side Stairs 1.0

boonzeet

Developer of Pokemon: Secrets of the Ages
Member
Joined
Mar 13, 2019
Posts
72
boonzeet submitted a new resource:

Terrain Tag Side Stairs - A simple script to allow placing stair tiles that automatically perform as side stairs

Boon's Terrain Tag Side Stairs

OIMNjMY.gif

A simple script to allow placing stair tiles that automatically perform as side stairs, with psuedo-depth effect and support for Followers.

Might conflict with some scripts if they significantly alter Game_Player.

Setup

Place this script above Main:
Ruby:
#...

Read more about this resource...
 
Last edited:

ChainedFuse

Rookie
Member
Joined
Oct 1, 2020
Posts
1
Age
24
Love the script, though after the new v18.1 update whenever you have an NPC jump or you jump (like a ledge or event) said event or player walks in place and softlocks the game.
 

boonzeet

Developer of Pokemon: Secrets of the Ages
Member
Joined
Mar 13, 2019
Posts
72
boonzeet updated Terrain Tag Side Stairs with a new update entry:

Updated to 1.2 (Fix ledges, surfing and map transfers on stairs)

Updated to v1.2. This fixes some new bugs due to the way v18 handles characters:
  • Ledges no longer get the players stuck
  • Surfing no longer triggers an encounter every time if the player's step counter has not incremented
  • Map transfers while a player is on stairs no longer cause the player to be permanently offset until next encountering stairs

Read the rest of this update entry...
 

Rose_

Rookie
Member
Joined
Aug 8, 2020
Posts
3
Age
25
---------------------------
Pokemon Essentials
---------------------------
[Pokémon Essentials version 18.1.dev]

Exception: SystemStackError

Message: stack level too deep



Backtrace:

Boon_SideStairs:117:in `move_right_stairs'

Boon_SideStairs:117:in `move_right_stairs'

Boon_SideStairs:117:in `move_right_stairs'

Boon_SideStairs:117:in `move_right_stairs'

Boon_SideStairs:117:in `move_right_stairs'

Boon_SideStairs:117:in `move_right_stairs'

Boon_SideStairs:117:in `move_right_stairs'

Boon_SideStairs:117:in `move_right_stairs'

Boon_SideStairs:117:in `move_right_stairs'

Boon_SideStairs:117:in `move_right_stairs'
Getting this error whenever I press right and same for left on 18.1. Any idea on how to fix it?
 

SilverioRB

Novice
Member
Joined
Apr 19, 2021
Posts
12
Age
29
It was working perfectly in my game, but suddently it stops to work and I don't know what to do.
The terrain is set correctly, but ir don't work.
 

ddf27

Rookie
Member
Joined
Mar 8, 2021
Posts
3
Amazing script and really easy to use! Works great for me, but I have a small issue: while walking up the stairs, entering and exiting the stairs look a bit off. For example, while exiting, the character will first move horizontally and only then move vertically.
 

SilverioRB

Novice
Member
Joined
Apr 19, 2021
Posts
12
Age
29
It looks like it doesn't work with partner trainers in Essentials 19.1, since PBTerrain doesn't exist anymore
 

SilverioRB

Novice
Member
Joined
Apr 19, 2021
Posts
12
Age
29
PBTerrain isn't referenced anywhere in the v19 script. Be sure you're copying the v19 version and not the v18 version.
Does the script for 19.1 has script set for partner trainer?
Because if so, it's bugged
My partner doesn't follow me when I'm ascending or descending a side stair... It goes up and then back of the player again.


I added the script for following partners... But looks like that script section is for v18 only
 

TechSkylander1518

Wiki Dweeb
Member
Does the script for 19.1 has script set for partner trainer?
Because if so, it's bugged
My partner doesn't follow me when I'm ascending or descending a side stair... It goes up and then back of the player again.


I added the script for following partners... But looks like that script section is for v18 only
I think for that part you'd just change the checks to directly compare the ID with the symbol- for example, $MapFactory.getTerrainTag(tile[0],tile[1],tile[2]-1) == PBTerrain::StairLeft would instead be $MapFactory.getTerrainTag(tile[0],tile[1],tile[2]-1).id == StairLeft
 

SilverioRB

Novice
Member
Joined
Apr 19, 2021
Posts
12
Age
29
I think for that part you'd just change the checks to directly compare the ID with the symbol- for example, $MapFactory.getTerrainTag(tile[0],tile[1],tile[2]-1) == PBTerrain::StairLeft would instead be $MapFactory.getTerrainTag(tile[0],tile[1],tile[2]-1).id == StairLeft
Nop
Didn't work
 

Platty

Rookie
Member
Joined
Apr 7, 2019
Posts
6
Not a big deal but I'll mention it anyways.

The player's y-position stays offset if you're in debug & are holding CTRL while on a staircase and move up/down.
Replicate by getting on a left or right staircase. While in debug, hold CTRL and move in the northern or southern direction.
Your y-position will remain offset since you never exited through the intended terrain tag.
 
Top