Mancubus
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 > Thunder
 
Author
All times are GMT. The time now is 20:13. Post New Thread    Post A Reply
DooMBoy
Heh
(but Stupidity still cannot be concealed)


Posts: 8509
Registered: 12-00


So, how do I get the thunder sound to work? Is there a script I have to type up or an ambient sound I have to put in the area affected by the lightning? If so, what's the sound's number?

MAP01 with lightning but no thunder sucks. :P

__________________
Heh

Old Post 09-24-02 22:51 #
DooMBoy is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Enjay
ASK ME ABOUT FOOTBALL / STEAM / DEAD CELEBRITIES / THE BLAIR WITCH PROJECT


Posts: 6382
Registered: 12-00


Try downloading my example that shows the Zdoom thunder effect.

http://members.lycos.co.uk/Enjay001/redsky.zip

Just load the WAD. It contains no levels, but modifies the sky on map01 to a red sky. At random intervals (generated by Zdoom) any sector with a ceiling of F_SKY1 will flash brighter, the sky texture will change to one with lightning strikes drawn on it and a thunder sound will play.

__________________
Meek

Old Post 09-24-02 23:35 #
Enjay is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
The Ultimate DooMer
(former) /newstuff Chronicler


Posts: 4701
Registered: 03-02



DooMBoy said:
So, how do I get the thunder sound to work? Is there a script I have to type up or an ambient sound I have to put in the area affected by the lightning? If so, what's the sound's number?


If you have the thunder sample in your wad, you will need a SNDINFO lump. Make a text file and put in the following:



SOUND_01 thunder (or whatever the name of the sound is in your wad)

$AMBIENT 1 SOUND_01 POINT RANDOM 30.0 60.0 1.0



(This makes the sound play every 30-60 seconds, and the volume plays at full, but decreases the further you get away from the sound thing. See http://zdoom.notgod.com/reference/sndinfo.html for more details)


Once you have this, you will need to place an 'ambient sound 01' thing on the map. (if you're using WA, it's easy to find the sound things on the 'new thing' menu)

btw, I don't know if you know about SNDINFO or not, so that's why I've mentioned it. If you already have a SNDINFO lump, then there could be something wrong with it, or it might just be a case of putting the sound thing in.

Last edited by The Ultimate DooMer on 09-25-02 at 22:45

Old Post 09-25-02 22:38 #
The Ultimate DooMer is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Enjay
ASK ME ABOUT FOOTBALL / STEAM / DEAD CELEBRITIES / THE BLAIR WITCH PROJECT


Posts: 6382
Registered: 12-00


Ultimate DooMer, what you say is perfectly correct. You can set up an ambient sound thing to play a thunder sound, but Zdoom has internal support for a thunder sound and further effects. The example I linked to shows those effects working.

The effects are:

The thunder sound gets played at random.

When this happens, all outside areas flash brighter.

The sky briefly uses a second image with lightning drawn on it.

Of course, it is possible to set up some very effective thunder via scripting too. I don't think you can easily change the sky. No, forget that, you can with a skybox. Anyway, the advantage of doing it via scripting is that you can change the "weather" during a level. I did something similar, if a bit primitive on level 32 of my NJZdoom2001 map set.

http://www.btinternet.com/~Enjay001/DL/njzd2001.zip

__________________
Meek

Old Post 09-25-02 23:22 #
Enjay is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 20:13. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > Thunder

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.