Burial Grounds Forums
http://www.burial-grounds.com/forum/

my water needs sloshing!
http://www.burial-grounds.com/forum/viewtopic.php?f=4&t=5596
Page 1 of 1

Author:  MelGibbsome [ Sat Mar 18, 2006 11:05 pm ]
Post subject:  my water needs sloshing!

I have a river in the middle of my map and I need to get the engine to play the default water footsteps when players run through it, are in it.

here's the code for my water texture:

Code:
textures/BelleauWood/fluid_surge

{
   //liquid
   water

   noShadows
   translucent
   nonSolid
   twoSided
   

   {
      blend add   
      map textures/BelleauWood/fluid_blue_bubble1big.tga
      rgba fluid_inverse_surge[time*0.05]
      scroll 0, time * .1
   }

   {
      blend add
      map textures/BelleauWood/fluid_blue_bubble2big.tga
      rgba fluid_inverse_surge[time*0.05]
      scroll   0, time * .5
   }
   
   {
      blend add
      map textures/BelleauWood/fluid_green_bubble3big.tga
      rgba fluid_inverse_surge[time*0.05]
      scroll 0, time * .3
   }

   {
      blend add   
      map textures/BelleauWood/fluid_blue_bubble1big.tga
      rgb fluid_surge[time*0.05]
      scroll 0, time * .7
   }

   {
      blend GL_DST_COLOR, GL_ONE
      map textures/BelleauWood/fluid_blue_bubble2big.tga
      rgb fluid_surge[time*0.05]
      scroll   0, time * 1.3
   }

   {
      blend GL_DST_COLOR, GL_ONE
      map textures/BelleauWood/fluid_green_bubble3big.tga
      rgb fluid_surge[time*0.05]
      scroll 0, time * 1.6
   }




}




its basically the fluid surge texture from the game, but I had to modify how it looks and I just got done playing with the liquid and water commands to evoke water footstep sounds (neither worked and i left the former in the file, but remmed out).

unlike the tutorial, im not trying to use my own sounds...im fine with the default ones that came with the game....my problem is getting to them to be evoked when a player is in my river.

thanks!

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/