As anyone who has used Linedef Portals in GZDoom knows it's possible to view your own back briefly as you pass through them (this is because the sprites for the player are not absolutely perfectly synced to the player position).
It's a bit of a hacky fix, but one option to address this would be to "turn off" player sprites using a script just before a portal, and turn them back on on the other side (it'd look weird in third-person view, but who really cares about that?)
Anyone any ideas on how you could achieve this?
Whatever the solution I want to be able to return the player sprites to normal afterwards, so nothing like permanently changing the sprites or the player's Decorate file. I tried changing the RenderStyle and Alpha values for the player, but that affects the on-screen weapon as well (which I don't want). Is there a way to change the sprite a given frame calls in a Decorate file dynamically? Any and all ideas welcome!
As anyone who has used Linedef Portals in GZDoom knows it's possible to view your own back briefly as you pass through them (this is because the sprites for the player are not absolutely perfectly synced to the player position).
It's a bit of a hacky fix, but one option to address this would be to "turn off" player sprites using a script just before a portal, and turn them back on on the other side (it'd look weird in third-person view, but who really cares about that?)
Anyone any ideas on how you could achieve this?
Whatever the solution I want to be able to return the player sprites to normal afterwards, so nothing like permanently changing the sprites or the player's Decorate file. I tried changing the RenderStyle and Alpha values for the player, but that affects the on-screen weapon as well (which I don't want). Is there a way to change the sprite a given frame calls in a Decorate file dynamically? Any and all ideas welcome!
Share this post
Link to post