Page 1 of 1
Swimming pool and blob
Posted: Sat Dec 22, 2007 10:30 pm
by Vandal
Hey im new!and i want to know how to make a pool where the player can swim and an object that is like a blob like the loco roco guys! thx for all your help!!

Posted: Sun Dec 23, 2007 6:18 pm
by Destron
I'm not really sure what you mean with the Loco Roco thing, but if you're looking for a good water tutorial, check this out:
http://www.realityfactory.info/forum/vi ... php?t=1525
Not sure about the swimming thing, though... you'll probably have to do some script editing so that the player animations change while he's in the water.
Posted: Sun Dec 23, 2007 6:31 pm
by bernie
Virgil and Nadia both can swim. So can universal human and universal woman with virgils animations.
Posted: Sun Dec 23, 2007 8:46 pm
by Vandal
if swimming is possible then how? and by blob i mean when the player collides with it he gets stuck and his health decreases
Posted: Thu Dec 27, 2007 5:39 pm
by Jay
You need a Liquid entity. The Liquid entity simulates liquids (yeah i think you guessed that...). You can make thinghs ranging from normal water to lava to zero-g, swamps are also possible.
First, you must have your water brush (in the level editor) and make it a world model. Then, when you have the world model, you must create a liquid entity (it does not matter where it is) and assign the model to it in its entity attributes. This makes the water-brush a real 'water'-brush.
You now have a basic water liquid which can furthermore be adjusted with the entries of the liquid entity. Search in the docs under the Liquid entity for more info. You can, for example, make the player's movements slower or you can reverse the rulus of gravity, allowing thinghs that fall into the liquid to be swimming on top of the liquid. (the player will be pushed upwards too, so be carefull with that)
btw, welcome to the forums and merry cristmas!

thx..
Posted: Thu Jan 24, 2008 4:16 pm
by Vandal
Srry for replying late but thx! But What is a world model?
