BeenJammin Posted January 27, 2010 I don't want some sounds heard from a particular point so...how many map pixels should I set these away? 0 Share this post Link to post
gemini09 Posted January 27, 2010 I think it can range up to a radius of almost 1024. The logical thing to do would be to just playtest your own map... 0 Share this post Link to post
Phml Posted January 27, 2010 I suppose it's very, very high if there is any (I've played maps with sectors ~20.000 px long and monsters from the back of there heard sounds). If you want to block sounds, you need to add "block sound" linedefs - 2 of them. 0 Share this post Link to post
BeenJammin Posted January 27, 2010 That may be logical but when I run into where it matters, I need the right length! EDIT: I'm aware of monsters not being affected 0 Share this post Link to post
printz Posted January 27, 2010 I just separate each courtyard in my level with a set of block-sound linedefs, more for ambush purposes than realistic physics. It would be interesting if a port added realistic sounds, so I couldn't hear all those monsters so clearly behind a thick obstacle... If you want to find out how far sound travels in Doom, place a Cyberdemon in a huge sector, block him in place with a stick or map geometry, start the game on that map, turn the automap grid on, type iddtiddt in the automap, and run as far as possible from the cyberdemon until his clunks cut off. Each square is 128 units wide. 0 Share this post Link to post
Sergeant_Mark_IV Posted January 27, 2010 Infinite. If you make a 10000x10000 map, put monsters on one corner, and you in the other, and fire the pistol, or punch the air, the monsters still can hear you. You must isolate the area the monsters are with walls and doors, or give all of then the "Deaf" flag. 0 Share this post Link to post
Solarn Posted January 27, 2010 Sergeant_Mark_IV said:Infinite. If you make a 10000x10000 map, put monsters on one corner, and you in the other, and fire the pistol, or punch the air, the monsters still can hear you. You must isolate the area the monsters are with walls and doors, or give all of then the "Deaf" flag. He's asking about the sound players can hear. Yes, monsters can hear any sound on a map, but players have a limited range of hearing. 0 Share this post Link to post
myk Posted January 27, 2010 Player sound attenuation may vary in different engines. Some even have compatibility settings to change this to vanilla or port behavior. In the original game, all 8th levels have less sound attenuation. This didn't survive into source ports because Paul Radek's sound code was excluded from the source release due to copyright reasons. Chocolate Doom reincorporated the phenomenon, as it aims to closely imitate the DOS executable. 0 Share this post Link to post
Quasar Posted January 28, 2010 The default attenuator function used in vanilla Doom sets sounds to 0 volume level at 1200 units' distance, and to full volume at 200 units' distance or closer. As for monsters, yes, sound propagation from their point of view is infinite, because "sound" for them is done as a sector-crawling iteration that will continue across linedefs until it meets some kind of obstruction (any 1-sided lines or a pair of sound-blocking lines). 0 Share this post Link to post