Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
Mordeth

Portal + deep water

Recommended Posts

How you do create a deep water effect for a sector that also has a linked ceiling portal?

After some attempts, the effect still breaks when going underwater (usually HOM on underwater sides) although it looks OK from anywhere else.

With non-linked portals I've been able to get it working (...most of times) by making the floor of the portal at the same height as the affected sector and applying the same deep water effect to both. Obviously I can't do the same thing with linked portals.

Share this post


Link to post
Mordeth said:

How you do create a deep water effect for a sector that also has a linked ceiling portal?

After some attempts, the effect still breaks when going underwater (usually HOM on underwater sides) although it looks OK from anywhere else.

With non-linked portals I've been able to get it working (...most of times) by making the floor of the portal at the same height as the affected sector and applying the same deep water effect to both. Obviously I can't do the same thing with linked portals.



Yeah, that's a bug. I still need to work on that. Really, the pointer to the ceiling portal structure should be NULLed when below the deep water. I'll fix that.

Share this post


Link to post

Ok so here is the problem...

242 makes a three part partition of a sector:
- upper part (water above you?)
- middle part
- lower part (water)

ok.. so I can disable rendering portals for a sector depending on where the player is in the fakey goodness, as long as the ceiling of the sector is exactly the same height as the control sector ceiling. This means you won't be able to close a door through a portal with deep water in it... :( I hope this is ok...

Share this post


Link to post

Hey Mord, any chance of a Mordeth page update? It's been almost two and half years since the last one...

Share this post


Link to post

Jonathan said:
Hey Mord, any chance of a Mordeth page update? It's been almost two and half years since the last one...


Was going for the record... :)

Share this post


Link to post

SoM said:
ok.. so I can disable rendering portals for a sector depending on where the player is in the fakey goodness, as long as the ceiling of the sector is exactly the same height as the control sector ceiling. This means you won't be able to close a door through a portal with deep water in it... :( I hope this is ok...


I guess it is. This is just to enable basic stuff, like a deep water river under a skybox or something.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×