It is currently Sun Nov 19, 2017 4:40 pm


Post a new topicPost a reply Page 1 of 1   [ 1 post ]
Author Message
 Post subject: my water needs sloshing!
PostPosted: Sat Mar 18, 2006 11:05 pm 
Newbie
Newbie

Joined: Thu Mar 02, 2006 6:22 am
Posts: 9
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!

_________________
Every man dies. Not every man REALLY LIVES!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post a new topicPost a reply Page 1 of 1   [ 1 post ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
twilightBB Style by Daniel St. Jules of Gamexe.net