• ✨ ARCHIVE MODE ✨
    The forum has now been set to read-only mode, no new posts, resources, replies etc will not be possible.
    We recommend you join our Discord server to get real-time response: Discord Invite Link

Fixed [Indev 0.52.1] Phasing into Stairs

Chaos7777

Trainer
Contributor
Came up with this real quick and tested it. Let me know what ya think.
Put this at the same location as the stair (It does not prevent players from going up them)
Code:
{"Entity"{ENT[{"EntityID"{str[ScriptBlock]}}{"Position"{sngArr[STAIR LOCATION]}}{"TexturePath"{str
[CENTER]}}{"Textures"{recArr[[0,48,16,16]]}}{"TextureIndex"{intArr[0,0]}}{"Collision"{bool[0]}}{"ModelID"{int[0]}}{"Action"{int[0]}}{"AdditionalValue"{str[ANYFOLDER\STAIRGLITCH]}}{"Rotation"{int[0]}}]}}
-------------And Anywhere yall see fit for the text.---------------
Code:
version=2

:if:<register.registered(STAIRGLITCH)>=False
@Player.Turn(2)
@Player.Move(1)
@Player.Turn(2)
@Text.show(Stair glitch. We know!)
:endif

:end
---------------------------------------------------------------------
It's not actually fixing the problem, but it forces the player out of the stairs to just try again and prevents them from getting stuck. I tested it out in the open and it does what I intended, however I could not get the stair glitch to work to see if it would work while inside the stairs. I cant think of any reason it wouldn't though.
 
Last edited:

Darkfire

Administrator
Administrator
P3D Developer
Came up with this real quick and tested it. Let me know what ya think.
Put this at the same location as the stair (It does not prevent players from going up them)
Code:
{"Entity"{ENT[{"EntityID"{str[ScriptBlock]}}{"Position"{sngArr[STAIR LOCATION]}}{"TexturePath"{str
[CENTER]}}{"Textures"{recArr[[0,48,16,16]]}}{"TextureIndex"{intArr[0,0]}}{"Collision"{bool[0]}}{"ModelID"{int[0]}}{"Action"{int[0]}}{"AdditionalValue"{str[ANYFOLDER\STAIRGLITCH]}}{"Rotation"{int[0]}}]}}
-------------And Anywhere yall see fit for the text.---------------
Code:
version=2

:if:<register.registered(STAIRGLITCH)>=False
@Player.Turn(2)
@Player.Move(1)
@Player.Turn(2)
@Text.show(Stair glitch. We know!)
:endif

:end
---------------------------------------------------------------------
It's not actually fixing the problem, but it forces the player out of the stairs to just try again and prevents them from getting stuck. I tested it out in the open and it does what I intended, however I could not get the stair glitch to work to see if it would work while inside the stairs. I cant think of any reason it wouldn't though.
Too many stairs + laziness = not gonna bother
we will look into fixing the actual glitch again as we move closer to Alpha
for indev the "escape clause" we put in works
 

Chaos7777

Trainer
Contributor
Haha yeah I guess it would be a hassle. I wasn't able to actually see anything to fix it. Mine would only prevent people from wanting to "explore" lol then complain they're stuck later :p Hopefully you guys find what causes it.
 
Top