Page 1 of 1

Heat effects

Posted: 15 Jul 2007, 20:36
by 1v0ry_k1ng
how hard would it be to implement some kind of blurring/refracting to you could have a heat tag for explosions.tdf, allowing flamethrowers to make heatwaves (c&c 3 etc)?

Posted: 15 Jul 2007, 21:31
by Snipawolf
Meh.

I am neutral on this.. If it's implemented I won't use it.

Maybe thats just the bias from CNC3 using it for everything since they are lazy with their explosion generator..

And SupCom is lazy, too, cheap ass groundflashes...

Spring wins, either way.

Posted: 15 Jul 2007, 21:35
by trepan
It should be possible with the lua features available in 0.75b1:

Code: Select all

- Explosion(weaponID, posx, posy, posz[, ownerID]) call-in
  (along with the Script.SetWatchWeapon(wID) call-out)
- DrawScreenEffects() call-in
- gl.CopyToTexture() call-out
- gl.CreateShader() call-out   (or morphed texcoords for the cheap version)
I've already shown that distortion effects can be done with the warping widget.