Reaper Grimm
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > More ambient sounds
 
Author
All times are GMT. The time now is 13:42. Post New Thread    Post A Reply
MagnuM
Banned


Posts: 451
Registered: 03-03


How do i get a sound to play when i cross over a particular two sided linedef? Can i tag an ambient sound to it or something of that sort? I just want the sound to play once right after i cross over the linedef.

Old Post 10-10-04 04:30 #
MagnuM is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Darkhaven
Banned


Posts: 1127
Registered: 07-04


code:
#include "zcommon.acs" Script 1 (void) { SndSequence("DSSOUND", 0); }


I believe that's right.

Old Post 10-10-04 09:06 #
Darkhaven is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
The Ultimate DooMer
(former) /newstuff Chronicler


Posts: 4449
Registered: 03-02


activatorsound ("sound", volume) plays the sound from where you're standing. (a guarantee of full volume in single player, and very useful in multiplayer)

sectorsound ("sound", volume) plays the sound in the sector the line is facing. (not very effective IMO)

thingsound (tid, "sound", volume) plays the sound from the appropriate thing. (can be useful, as you can make the sound come from nearby somewhere, like a scream or an explosion)

ambientsound ("sound", volume) plays the sound at full volume across the map. (but it must be defined as ambient in sndinfo)

All of these use the logical sound names (ie. the ones defined in sndinfo) and volume goes from 0-127. They are internal functions though, so they have to be in a script.

Old Post 10-10-04 14:06 #
The Ultimate DooMer is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 13:42. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > More ambient sounds

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Forums Directory