Water is essentially just a flat plane and when the player reaches a certain distance below it an animation is triggered right? just like when you use a ladder.. Any ideas on making an object (flat plane) which will trigger the swimming/floating animation when you are on it? Could be cool for custom water levels and especially being then able to create a tunnel under water..
Sounds possible but Im not sure on the code for triggering animations like this/ladders.. I know its just a matid for ladders. can a custom one be made for a mod which would get the swimming animations going?
Re: Fake water acting like real water..
Posted: Thu Jan 14, 2010 6:47 pm
by Apache Thunder
Not that I know of. I tried giving the mat ID for water to a mesh for a swimming pool in Gulf of Oman, but the swimming action wasn't triggered. I couldn't jump while on the water mesh though.
Re: Fake water acting like real water..
Posted: Thu Jan 14, 2010 8:12 pm
by Poow
And do not touch materials with water IDs with a vehicle
But it looks funny to shoot at one.
Re: Fake water acting like real water..
Posted: Fri Jan 15, 2010 2:40 am
by freddy
perhaps the swim animation is triggered by the GeometryTemplate.waterLevel 38 (example) that would mean its hardcoded in the exe?
maybe you could try this by setting different values for server/client
Re: Fake water acting like real water..
Posted: Fri Jan 15, 2010 3:49 am
by Losnar
That's pretty cool stuff. Sticky ground is good. What happens with the vehicle, it shuts down and takes damage? I like it.
Re: Fake water acting like real water..
Posted: Fri Jan 15, 2010 7:54 pm
by Apache Thunder
Yeah. Apparently I forgot to set the mat ID for a concrete road block in my Midnight at Berlin map. So the default was 1. (which happens to be the mat ID for water).
So even barely running into one even at really slow speed resulted in the vehicles exploding from hitting it. Also note that when I drove into them very very slow so that it won't kill me, the vehicle almost goes through the object entirely! It gets nudged back eventually, but it is a very odd behavior for a mat ID. No other mat ID behaves like this when used on a object mesh.
Re: Fake water acting like real water..
Posted: Sat Jan 16, 2010 3:17 pm
by Poow
Apache Thunder wrote:
So even barely running into one even at really slow speed resulted in the vehicles exploding from hitting it.
Yea, looks stupid^^
No other mat ID behaves like this when used on a object mesh.
My wooden car (never finished it) had the "wood" ID it was quite funny you could drive into the tanks without getting any damage but the tanks exploded in seconds.