Try These
#13560 posted by ijed on 2014/01/30 15:30:19
On your vis command line:
-noambientsky
Disable ambient sound generation for textures with names begin-
ning with 'SKY'.
-noambientwater
Disable ambient sound generation for textures with names begin-
ning with '*WATER' or '*04WATER'.
-noambientslime
Disable ambient sound generation for textures with names begin-
ning with '*SLIME'.
-noambientlava
Disable ambient sound generation for textures with names begin-
ning with '*LAVA'.
-noambient
Disable all ambient sound generation.
But I Want Certain Water Sounds..
#13561 posted by mfx on 2014/01/30 15:32:34
Or do i have to set up triggers for them instead then?
There's An Ambient Drip Sound
that is quite nice. I'm sure some mods have support for external sounds, maybe quoth?
Nah
#13563 posted by ijed on 2014/01/30 18:47:50
Those only affect sounds added automatically by the vis process, produced by textures.
All your ambient_whatever entities will still work fine.
We already have several custom sound ents; this is for the RRP project.
You can use the ambient_general for a looping ambient sound, the only restriction being that it needs to have 'loop' data setup.
the fx_sound is for single shot sounds, although it also has replay capability.
Yeah
#13564 posted by mfx on 2014/01/30 19:09:42
Thanks Ijed!
Mfx:
#13565 posted by metlslime on 2014/01/30 22:05:51
there shouldn't be any automatically generated sound from the waterfall. Aside from the vis.exe-generated ambient sounds, there are of course mapper-placed ambients.
The only special rubicon2 code in this regard is, there is an underwater loop that plays whenever the player is underwater. If you are not underwater you should not hear it. (There is also a loop for when you are on fire.)
Metlslime:
#13566 posted by mfx on 2014/01/30 22:27:27
I got it fixed with the -noambient switches, ambient_general "survives" this. Still curious where it came from then.
It was one of the curnt.wavs, i�m sure.
Ijed?
Another Question
#13567 posted by mfx on 2014/01/30 23:28:59
can those ambient_generals be triggered?
Starting off?
Mfx:
#13568 posted by metlslime on 2014/01/31 01:10:50
i believe they can't be triggered, they are implemented the same way as other ambient_* entities which means they spawn a static sound that gets sent to the client on connection.
With quakec changes it might be possible? I haven't looked at the code in several years.
#13569 posted by metlslime on 2014/01/31 01:15:09
oh but... there are some technical issues with triggering looping sounds. The engine won't play the sound if the player is outside the range of the sound at the moment that it is activated. If this happens, the player will NEVER hear the sound until it is retriggered, and then the same range check applies. This is a huge problem and if you look at my steam traps, there is a lot of hacking to make the sound trigger continuously right around the outer threshold of the sound. At that time its' quiet enough that you won't hear it clipping/popping, and it mostly guarantees you will hear the sound when you walk closer.
Metlslime:
#13570 posted by mfx on 2014/01/31 01:31:24
The engine is doing the range-check, so any triggered sound is muted for the player when he�s out of "reach"?
Basically the mapper would have to make sure that the player is "reached" by the sound when activated, if i get it right?
Having looked at the setup you made in rub2m2,
that�s a workaround yeah, and btw those maps are fantastic (i mean not only playin them, but looking at them in an editor). Those hollow torus brushwork amazes me with its flawlessness:)
Enough praise given!
Thanks for your quick response!
Mfx:
#13571 posted by metlslime on 2014/01/31 02:40:57
correct, player needs to be in range for the sound to play.
Oh and also: the sound won't restart if you save and load the game. There was another hack i had to do to restart sounds condtionally, when a savegame is loaded.
Phone Out Of Battery!
#13572 posted by ijed on 2014/01/31 03:59:55
True, _ambient code can't do much in this respect, but the fx_sound is a bit more flexible.
You can set it to play a sound every x seconds, so if you set it to play an ambient sound, that isn't looped (but sounds as if it is) then you can kill the entity and the sound will stop playing. Same works for starting the sound.
Fx_ will start replaying after a reload! but only if you've got your triggers very carefully set up. I always thought the trigger_always of q2 was a clever hack.
Sound Manager
#13573 posted by necros on 2014/01/31 04:16:23
this was the solution i came up with for looping sounds that are started out of ear-shot: http://pastebin.com/0xpehM8C
maybe it'll be useful to someone.
Ah
#13574 posted by ijed on 2014/01/31 11:34:26
That'd be truly looping, clever stuff.
The fx_sound will have a few seconds of silence from some save game reloads! depending on how long your sound file is.
Thanks Metlslime And Necros!
#13575 posted by mfx on 2014/01/31 12:50:45
General Question...
#13576 posted by quaketree on 2014/02/01 10:50:20
I'd like to know which version of Radiant works best for Quake. Also links to the better tutorials on using it may help. I tried using it several years ago and I found it difficult to even get basic stuff done so I haven't looked at it since.
What About
#13577 posted by ijed on 2014/02/01 12:11:42
Trenchbroom?
Radiant
#13578 posted by negke on 2014/02/01 13:48:41
NetRadiant, imo. Or, if you want to use detached editing windows, the latest build of GtkRadiant 1.5 (=26 April 2007). Some people prefer 1.4 or earlier versions.
Update Bsp From Wad
#13579 posted by ranger on 2014/02/03 17:34:34
Is there a way to update the textures in a bsp from a wad?
Nope
#13580 posted by ijed on 2014/02/03 18:23:37
Not without recompiling.
QuArK Can Actually Do That...
#13581 posted by ericw on 2014/02/03 19:49:52
but it's a bit of a pain, and one texture at a time.
-Open the bsp, open the MipTex folder.
-Right click and Cut the texture you want to replace. Remember its position in the list.
-Open the texture browser (Toolboxes, Texture Browser.) You can import wads here under Edit, Import, Import (Copy) Files.
-Select the replacement texture, choose Copy from the Edit menu.
-Then select the MipTex folder in your bsp, choose "Paste Special..." from the edit menu, select "Quake 1 Texture" and click paste.
-Drag the new texture into the same position in the list as the old one.
-File, Save.
#13582 posted by digs on 2014/02/05 05:26:50
I want to use trigger_hurt to increase the health monster (dbg = -1000), but it does not work for zombie. Why?
#13583 posted by - on 2014/02/05 06:23:11
the zombie's pain function (zombie_pain) always resets it's health to 60 when it's damaged (unless of course that's fatal damage).
you could do the armor hack if you want it to be tougher, add the keys "armortype" "1" and "armorvalue" "60", and it'll have 60 extra health... it won't regen that health though.
Oh
#13584 posted by - on 2014/02/05 06:25:18
and negative damage is still treated as 'taking damage' as far as the code is concerned, which is why it uses it's pain function
|