Re: Pouring water
Posted by Orpheus on
Thu Mar 17th 2005 at 10:25pm
Posted
2005-03-17 10:25pm
Orpheus
member
13860 posts
2024 snarkmarks
Registered:
Aug 26th 2001
Occupation: Long Haul Trucking
Location: Long Oklahoma - USA
Actually, this issue hasn't arisen yet, but will soon enough. I also want to pour hot liquids not water.
As you know, I am currently inspired to create a castle map. I want to have caldron's of hot stuff to pour on unsuspecting fraggers below. I was curious, since the engine supports falling objects, would it be possible to pour hot tar/stuff and have it actually pour?
if there is no solution, please feel free to delete this but, I wanted time to work out any possible bugs in advance, before i built a section dedicated to a stunt thats impossible.
thanx in advance.
Re: Pouring water
Posted by rs6 on
Thu Mar 17th 2005 at 10:33pm
Posted
2005-03-17 10:33pm
rs6
member
640 posts
94 snarkmarks
Registered:
Dec 31st 2004
Occupation: koledge
Location: New Jersey, USA
Im pretty sure their isn't. You would need liquids that would rely on pyshics for that and the source engine either doesn't have it all, or doesn't have enabled.
Re: Pouring water
Posted by brett5010 on
Fri Mar 18th 2005 at 7:40am
80 posts
18 snarkmarks
Registered:
Jan 6th 2005
Occupation: Student
Location: Australia
Make half a million physics brushes that are reallllly small. Have them
ontop of a func_door so when the door is activated it pushes them down.
Then maybe have some red steam and some smokestacks ( or whatever the
entity is called ) ?
Just an idea :razz:
Re: Pouring water
Posted by Crono on
Fri Mar 18th 2005 at 9:07am
Crono
super admin
6628 posts
700 snarkmarks
Registered:
Dec 19th 2003
Location: Oregon, USA
I-M-P-O-S-S-I-B-L-E ... the way you're thinking.
The water and liquids in HL2 don't use physics at all (They're might be some initial values though). In fact, it's just a sine wave. (I said this in another thread where someone was asking how to make a waterfall) It's a pretty old trick, actually. You map out this wave function and then apply shaders, alphas, textures and maps to the surface (0 or 1, top or bottom) and BAM real looking, sitting, water.
That's why there's no "falling" water or anything like that in HL2. The reason why they didn't implement it is the same reason they don't implement REAL lighting. Far too complex to run in real time.
However, the rumored PPU's will help. I think there was an article about it and how it can calculate liquid physics to a much higher degree then the CPU (because the CPU is being used for many things and this processor would be dedicated) and apparently it looks more realistic then anything else that's been done in real time before.
However, in HL2, I don't know why they didn't do a small collision system with the water and a player or objects that would change the properties of the sine waves that is the water. If they did about 3 waves and molded them together you'd at least have things like ripples and force in the water (making the starting intersection axis where ever the collision point is). THAT I know they could have done, but they just used 2d sprites instead (for splashing and ripples).
Oh well.
Anyway, I'm sure you can do something like this, but it'll be simulated. As to the specifics I'm not sure. Mess around with what you can and let us know what you come up with :smile:
Re: Pouring water
Posted by brett5010 on
Fri Mar 18th 2005 at 9:25am
80 posts
18 snarkmarks
Registered:
Jan 6th 2005
Occupation: Student
Location: Australia
COuldnt you just make alot of brushes with water texture and tie them to func_physbox?
Re: Pouring water
Posted by Andrei on
Fri Mar 18th 2005 at 1:55pm
Andrei
member
2455 posts
1248 snarkmarks
Registered:
Sep 15th 2003
Location: Bucharest, Romania
Perhaps this can be achieved with an entitie that spawns two pools of
water (distance adjustable, like with the func_usableladder) of certain
proportions; one being the source basine and the other the
destination, and have particles act like pouring water. And, to make
the thing nicer, a special transparent "looping" model could be used to
simulate a waterfall by making something like a tankthread effect. If they had only cared...
Re: Pouring water
Posted by Leperous on
Fri Mar 18th 2005 at 2:25pm
Leperous
Creator of SnarkPit!
member
3382 posts
1635 snarkmarks
Registered:
Aug 21st 2001
Occupation: Lazy student
Location: UK
Hah, only here can you have Crono's incredibly detailed technical post followed up by one of the most ridiculous suggestions I've heard this week :biggrin:
I would think that a reasonable looking effect using sprites/beams could work- a recent map had a sprite waterfall in it that didn't look too bad, and if this was adapted to show a stream that started when the cauldrons were tipped...
Re: Pouring water
Posted by Sub-Zero on
Fri Mar 18th 2005 at 7:10pm
53 posts
15 snarkmarks
Registered:
Feb 16th 2005
Occupation: Student
Location: USA
This would be a good question to possibly ask the team that made the
Source engine.. as far as i know i hanvt heard of anything like this..
but it is possible in other game engines.. (unreal, atleast i think) so
why wouldnt it be available here...
good luck...
and i know u dont want to hear this.... but u might want to post this question on VERC
Re: Pouring water
Posted by rs6 on
Fri Mar 18th 2005 at 10:45pm
Posted
2005-03-18 10:45pm
rs6
member
640 posts
94 snarkmarks
Registered:
Dec 31st 2004
Occupation: koledge
Location: New Jersey, USA
there is a lot inside the source engine yet to be enabled, so it may be in there we just don't know it yet.
Re: Pouring water
Posted by tajgenie on
Sat Mar 19th 2005 at 3:58am
32 posts
3 snarkmarks
Registered:
Nov 12th 2004
Couldn't you make a cloud of fog, but really really dense and red (or
whatever color)? Then you could give the sprites some downward velocity
and hope it looks like a liquid. Plus, it will look like it's covered
in vapor, giving the illusion of being really hot, when really it's
just a cloud hiding a cheap liquid effect.