Pete The Padre Posted September 10, 2005 could anyone help me and give me a script? i want a sound to be activated when i enter my map i got no clue how u do this plz help 0 Share this post Link to post
Chainsaw Posted September 10, 2005 script 1 (void) OPEN { ActivatorSound("thesoundyouwannaplay", volume) } this will play the sound when you start a map, at the volume level which is a number between 0 and 127. 0 Share this post Link to post
Pete The Padre Posted September 10, 2005 Chainsaw said:script 1 (void) OPEN { ActivatorSound("thesoundyouwannaplay", volume) } this will play the sound when you start a map, at the volume level which is a number between 0 and 127. am i suppose to make a new entry in XWE and paste this or what? and if so what do i name the entry? 0 Share this post Link to post
EarthQuake Posted September 11, 2005 http://www.zdoom.org/zdkb/scriptprimer.html 0 Share this post Link to post
Pete The Padre Posted September 11, 2005 im just to dumb to get that crap in the link i pasted the script in both db script and in XWE and i still couldnt hear anything, do i have to put the sound im using in the wad by using XWE? and then just type the name of the sound in the script? or do i have to URL: it? if someone could give me a step by step procedure i would be happy 0 Share this post Link to post
Alastair Posted September 13, 2005 I wouldn't know but I guess it would have to be in the WAD... (the sound) 0 Share this post Link to post
zark Posted September 13, 2005 Don't be lazy, go look up this stuff yourself, it's not rocket science. 0 Share this post Link to post
Pete The Padre Posted September 13, 2005 hehe its not lazyness im just to dumb to understand it could be rocket science for all i know :P 0 Share this post Link to post
Mancubus II Posted September 13, 2005 Pete The Padre said:hehe its not lazyness im just to dumb to understand it could be rocket science for all i know :P YOU WERE JUST TOLD IT IS NOT ROCKET SCIENCE, and yes that is the sign of laziness, "I'm just too dumb lol". No you're not, you just don't want to try. It's quite simple: Load your sound file into the wad, remember the lump name. Open the DB script editor, paste that little bit of code in but be sure to replace "thesoundyouwanttoplay" with that lump name in the previous direction. Compile. Test your map, in theory it should work. If you've done these steps exactly and it still doesn't work, THEN come back. 0 Share this post Link to post
Pete The Padre Posted September 13, 2005 Mancubus II said:YOU WERE JUST TOLD IT IS NOT ROCKET SCIENCE, and yes that is the sign of laziness, "I'm just too dumb lol". No you're not, you just don't want to try. It's quite simple: Load your sound file into the wad, remember the lump name. Open the DB script editor, paste that little bit of code in but be sure to replace "thesoundyouwanttoplay" with that lump name in the previous direction. Compile. Test your map, in theory it should work. If you've done these steps exactly and it still doesn't work, THEN come back. well thats exaclty what ive been doing! i cant get it to work still 0 Share this post Link to post