Author Topic: Limit area for sound emitted by target_speaker  (Read 3139 times)

theRifle

  • Posts: 36
  • Turrets: +4/-3
Limit area for sound emitted by target_speaker
« on: November 11, 2006, 09:05:39 pm »
I included a target_speaker emitting a sound in my map - that is no problem so far  :wink:
BUT: is there a way to limit the emitted sound to a self defined area? And if yes - how? The only thing i can do by now is to make the sound very quiet. Any ideas?

If interested, i made some screenshots ....

http://img353.imageshack.us/img353/7166/shot0042rl3.jpg
http://img171.imageshack.us/img171/7050/shot0043fy1.jpg
http://img171.imageshack.us/img171/4747/shot0044qx5.jpg
http://img171.imageshack.us/img171/5752/shot0045ck5.jpg

Lava Croft

  • Guest
Limit area for sound emitted by target_speaker
« Reply #1 on: November 12, 2006, 12:08:00 am »
If the target_speaker is in another VISblock than the player, he will not hear it. As far as I know, that is the only way to limit the propagation of sound through a map.

theRifle

  • Posts: 36
  • Turrets: +4/-3
Limit area for sound emitted by target_speaker
« Reply #2 on: November 12, 2006, 12:40:58 am »
Ok. Thanks.

Ingar

  • Tremulous Developers
  • *
  • Posts: 554
  • Turrets: +302/-7
    • Ingar's projects on the Web
Limit area for sound emitted by target_speaker
« Reply #3 on: November 12, 2006, 05:44:28 pm »
This also means that, if you compile your map with a -fast in the vis stage, you will hear the sounds from very far away. If I remember correctly, this is the case with the default radiant build settings for fast compile.

theRifle

  • Posts: 36
  • Turrets: +4/-3
Thx Ingar
« Reply #4 on: November 13, 2006, 12:15:17 am »
i will try your hint by removing "-fast" from the build options.

Btw - i looked the screenshots of your map (http://users.telenet.be/ingar/tremulous/): looks great  :D