Page 1 of 1

Fountain

Posted: Mon May 17, 2004 11:18 am
by Stitch
I don't really know where to post this, but I think there's gonna be scripting involved (if possible), so I posted here...

Well, the thing is, I want to make a fountain in my map. Not just the "statue" (<-- not really something to ask about that huh? :P ) but also the SPLASHING water... and here is the thing: is it possible?? And if yes, can anybody tell me how to do it?

I think it's not possible, 'cause I haven't seen it in any map yet...
but it's worth the try...

CYA!!!

big leak

Posted: Mon May 17, 2004 1:08 pm
by tltrude
You can use the water leak for barrels, but to get fancy, you'll need some new .tik files. here is one I made. if you name the file "bigwaterleak.tik" and put it in main/models/fx, you will see it in the fx models menu.

Code: Select all

TIKI
setup
{
	scale 1.0
	path models/fx/dummy
	skelmodel dummy2.skd
}

init
{
	server
	{
		classname effectentity
		notsolid
		rendereffects +dontdraw
	}
	client
	{
		//cache some stuff used in this effect
			cache barrel_water_drop.spr
			cache models/fx/barrel_water_long.tik

		originemitter bigwaterleak
		(
			spawnrate 72.00
			model barrel_water_drop.spr
			alpha 1.0
			life 1
			scalemin 0.5
			scalemax .75
			scalerate 2.50
			offset 0 0 1
			offsetalongaxis crandom 1 0 0
			velocity 64
			randvelaxis range 8 -8 range 8 -8 range 8 -8
			accel 0 0 -800
		)

		originemitter bigwaterleak2
		(
			spawnrate 72.00
			model models/fx/barrel_water_long.tik
			align
			alpha 1.0
			count 4
			life 1
            	scalemin 3.0
            	scalemax 3.25
            	scalerate 1.5
            	offset 0 0 1
			offsetalongaxis crandom 1 0 0
			velocity 64
			randvelaxis random 32 crandom 16 crandom 16
			accel 0 0 -800
			physicsrate every
		)

	}
}

animations
{
        idle dummy2.skc
	start dummy2.skc
	{
		client
	        {
			enter emitteron bigwaterleak
			enter emitteron bigwaterleak2
			enter loopsound liquid_leak
	        }
	}
	stop dummy2.skc
	{
		client
	        {
	    		enter emitteroff bigwaterleak
			enter emitteroff bigwaterleak2
			enter loopsound liquid_leak wait
		}
	}
}

/*QUAKED fx_bigwaterleak(0.0 0.5 0.5) (-8 -8 -8) (8 8 8)
By tltrude: Water stream for a dam with liquid_leak sound--no ground splat.
*/

Posted: Mon May 17, 2004 2:58 pm
by Stitch
ha, cool :shock:
thanks

Posted: Mon May 17, 2004 3:56 pm
by Krane
In my romestreets map I made a fountain, no water splash, just a custome texture for the falling water.

Posted: Mon May 17, 2004 4:52 pm
by Mj
Yea, if you make an animated water texture on a cone shaped brush, and a small splash FX (if there is one)...