Unusual slime

Avatar
MutatedTurret
54 Posts
Posted Aug 13, 2011
I have a theme idea that revolves around having water in unusual orientations (sideways, as well as on ceiling).
However editing this as so wasn't nearly as easy as I expected. I put the water textures on different sides of the no draw box you would normally make. But in game the water just looks weirdly stretched out on the walls. Making matters worse, it is visible only around player eye-level, the rest up the wall is pitch black.
Floor water still appears normally

At first I figured it might be cubemaps or textures used. But cubemaps did not do anything to fix the issue, but instead made the water look more like water, except with a slime bumpmap (64 units, compiling cubemaps ingame)

Does anyone know if it's even possible to orient sideways water in Hammer?

Also on a side note, is there anyway to make textures semitransparent?

Advertisement
Registered users don’t see ads! Register now!
Avatar
Lostprophetpunk
409 Posts
Posted Aug 13, 2011
Replied 1 hour later
What texture are you using for it?
Avatar
SuperSoldier
31 Posts
Posted Aug 13, 2011
Replied 28 minutes later
Water can only be horizontal.

http://developer.valvesoftware.com/wiki/Adding_Water

Avatar
Killerblonde
60 Posts
Posted Aug 13, 2011
Replied 3 hours later
A work around could be using a linked_portal_door to make it appear like a wall is water, though really when the player goes to it, he is teleported to a horizontal room that is almost 'full' with water. (When underwater, gravity wouldn't apply anyway.)

Not sure how glitchy it would be, but that's the only way I can think of to get a wall of water like that. Good idea btw!

Avatar
PieGuy950
133 Posts
Posted Aug 13, 2011
Replied 3 hours later

SuperSoldier wrote:
Water can only be horizontal.

No, I've seen vertical water in some hl2 mods. It is possible, Valve just recommends that you don't to keep the map at quality standards. I'm not quite sure how to do it, though. It's probably part of the Portal 2 engine.

Avatar
ChickenMobile
2,460 Posts
Posted Aug 14, 2011
Replied 1 hour later

PieGuy950 wrote:
SuperSoldier wrote:

Water can only be horizontal.

No, I've seen vertical water in some hl2 mods. It is possible, Valve just recommends that you don't to keep the map at quality standards. I'm not quite sure how to do it, though. It's probably part of the Portal 2 engine.

When it comes to water Portal uses a different kind of rendering compared to previous source games. (That's why you don't need to build cube maps over water to get reflections) In order to make water appear horizontally you would probably need to make your own custom texture or try to mimic it.

Avatar
morrock
23 Posts
Posted Aug 14, 2011
Replied 16 minutes later

Killerblonde wrote:
A work around could be using a linked_portal_door to make it appear like a wall is water, though really when the player goes to it, he is teleported to a horizontal room that is almost 'full' with water. (When underwater, gravity wouldn't apply anyway.)

Not sure how glitchy it would be, but that's the only way I can think of to get a wall of water like that. Good idea btw!

I agree, linked_portal_doors would probably be the best way to handle it.

Avatar
MutatedTurret
54 Posts
Posted Aug 14, 2011
Replied 12 hours later
Thanks for the help all! :biggrin:
I've created a set of linked portals that allows me to make a slime water wall in which lasers and the like can pass through. Though since it utilizes a linked portal through 2 floors, it will prevent objects or the player from getting through it, but this all goes well with the theme :wink:
Avatar
Killerblonde
60 Posts
Posted Aug 15, 2011
Replied 1 day later
Glad I could help! Unusual death locations, (water on walls, pits in the cieiling,) have given me ideas for my own maps.
Advertisement
Registered users don’t see ads! Register now!
Avatar
Vordwann
767 Posts
Posted Aug 16, 2011
Replied 11 hours later
I prefer discouragement fields. Same effect, can be placed anywhere with no hassle :biggrin: