News | Forum | People | FAQ | Links | Search | Register | Log in
Mapping Help
This is the place to ask about mapping problems, techniques, and bug fixing, and pretty much anything else you want to do in the level editor.

For questions about coding, check out the Coding Help thread: https://www.celephais.net/board/view_thread.php?id=60097
First | Previous | Next | Last
Try These 
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.. 
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 
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 
Thanks Ijed! 
Mfx: 
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: 
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 
can those ambient_generals be triggered?
Starting off? 
Mfx: 
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. 
 
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: 
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: 
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! 
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 
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 
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! 
 
General Question... 
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 
Trenchbroom? 
Radiant 
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 
Is there a way to update the textures in a bsp from a wad? 
Nope 
Not without recompiling. 
QuArK Can Actually Do That... 
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. 
 
I want to use trigger_hurt to increase the health monster (dbg = -1000), but it does not work for zombie. Why? 
 
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 
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 
First | Previous | Next | Last
You must be logged in to post in this thread.
Website copyright © 2002-2024 John Fitzgibbons. All posts are copyright their respective authors.