Forum Archive

Go Back   3D Realms Forums > 3D Realms Topics > Other Apogee/3D Realms Games > Prey
Blogs FAQ Community Calendar

Notices

 
 
Thread Tools
Old 05-25-2007, 02:16 AM   #1
Altered Reality

Altered Reality's Avatar
Gravity zones and noises
Whenever I set up a gravity zone with a nonstandard gravity value, I hear a weird noise (a low hum) coming from the gravity zone itself. You can hear it by running one of the tutorial maps about gravity. But I don't want the gravity zone to emit any noise, so I created an OGG file containing a second of silence (I named it silence.ogg), put it in the "sound" directory (inside "base") and inserted "silence" as the value for snd_gravity_loop.
However, when I load the map, I get a warning (WARNING: Couldn't load sound 'sound/silence.ogg' using default) and I get the same hum. What am I missing here? What must I do to have the gravity zone STFU?
__________________
[...] We view customers as complete morons that will never catch on and [...] we're lying to them all the time. (Gabe Newell, Valve)
I'm the worst enemy in film-making and a completely talentless idiot. (Uwe Boll)
Faith is why you are wrong. (Crosma)
Altered Reality is offline  
Old 05-30-2007, 06:39 AM   #2
Chaos
Guest
Re: Gravity zones and noises
I think this sound is in an .mtr file compared with the model by a shader.
If this is true, you have to replace the original sound path with your sound path.
After that, it could work but i'm not sure.
Maybe you make a copy from the existing file before you starting to replace the file
Chaos
 
Old 05-30-2007, 03:09 PM   #3
Altered Reality

Altered Reality's Avatar
Re: Gravity zones and noises
If I knew the name of the original audio file and where to find it in pak003.pk4, I'd just create the appropriate directories and slap my file there with the appropriate name, so the engine would load it from the actual directory instead of relying on the .pk4. Does anyone know the name of that file?
__________________
[...] We view customers as complete morons that will never catch on and [...] we're lying to them all the time. (Gabe Newell, Valve)
I'm the worst enemy in film-making and a completely talentless idiot. (Uwe Boll)
Faith is why you are wrong. (Crosma)
Altered Reality is offline  
Old 06-08-2007, 03:07 AM   #4
Altered Reality

Altered Reality's Avatar
Re: Gravity zones and noises
I found the problem at last: the file I used was corrupt.
The default sound for the gravity zone loop is sound/entities/gravity_switch/gravity_switch_idle.wav : by creating the appropriate directories and pasting there a valid silence clip with the same name, I made the gravity zones silent.

Anyway, I have 2 more questions about gravity zones. Can they be activated and deactivated through a script? Can the gravity value of a gravity zone be changed through a script?
__________________
[...] We view customers as complete morons that will never catch on and [...] we're lying to them all the time. (Gabe Newell, Valve)
I'm the worst enemy in film-making and a completely talentless idiot. (Uwe Boll)
Faith is why you are wrong. (Crosma)
Last edited by Altered Reality; 06-08-2007 at 03:49 AM.
Altered Reality is offline  
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 04:48 PM.

Page generated in 0.11415505 seconds (100.00% PHP - 0% MySQL) with 16 queries

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

Website is ©1987-2014 Apogee Software, Ltd.
Ideas and messages posted here become property of Apogee Software Ltd.