View Full Version : Door Sounds
peripheralvision
13-09-2008, 02:01
Ok. im having some trouble addind target_speakers that work when a door opens. so ive placed a target_speaker entity near the door, set its noise to one of the various door sounds (sound/movers/doors/door7.mp3), and have the door targeting the target_speaker with both 'target' and 'target2' (so that it makes the noise both when it opens and closes). This however doesnt work very well.. the sound refuses to stop after the door closes.. I tried the loop_off spawnflags, but this didnt work either.. any suggestions?
thanks,
peri
RichDiesal copypasta;
To look up the soundsets you can use for doors, open up the sound/sound.txt file and do a text search for... well, the word "door." Add the key soundset and the value for the soundset you want. I will be using large_door for mine.
peripheralvision
13-09-2008, 04:16
;*********************
;impdoor1
;*********************
bmodelSet impdoor1
subWaves movers/doors door1start door1move door1stop door1start door1stop
so the soundset value would be "impdoor1"?
peripheralvision
13-09-2008, 04:32
kk i got it to work
peripheralvision
13-09-2008, 13:35
ok next question :)
so i made a texture using a picture i found online.. really simple. its in JPEG format.. i placed it in a pk3 folder in my base folder and it appears in GtkRadiant, but in game it shows me a big white box with a grey center (the shader not found texture).. any idea how to fix this?
It MUST be a power of 2 by a power of 2, so P x P where P is a power of 2. Recommended numbers are things like 64, 128, 1024, ect.
did you do that ?
peripheralvision
13-09-2008, 15:28
yes i knew that..
edit: woops.. lol maybe i didnt :/ lol i had the pixels to 69 x 256.. my bad lol sry
QUESTION! lol
ambiance sound... how do i set it? im guessing it isnt a target_speaker lol
if you mean like general music for the entire map? just add a
music <song> value to your worldspawn. this will correspond to a .mp3 file in the music directory of your accompanying pk3 and gamefiles...
as for your door thing, that's very complicated. look at a door on the hoth sample map or something it should have a value like sound <impdoor> or something and it plays that sound when it opens and closes
peripheralvision
15-09-2008, 02:51
lol the door thing isnt very complicated lol.. i got it to work :) and if i can get it to work it isnt hard lol.. its only soundset key.. thanks to tom i now know that
edit: what do u mean by worldspawn? cause the shaders are classed as worldspawn
lol the door thing isnt very complicated lol.. i got it to work :) and if i can get it to work it isnt hard lol.. its only soundset key.. thanks to tom i now know that
edit: what do u mean by worldspawn? cause the shaders are classed as worldspawn
Click on a normal brush and press n, then you can edit the worldspawn.
peripheralvision
15-09-2008, 19:29
ok thought so thanks :)
QUESTION! lol getting tired of answering me yet? o.O
Ok so i was wondering, to make a control panel that controls a door, u texture a brush and place a trigger_multiple.. or just us a misc_model_usable, but i prefer the trigger_multiple..
ok so i texture the brush and place the trigger_multiple, but how do i get the texture to change from red to green when the door is opened?
This is fairly easy once you get the hang of it.
First, make the control console with the red texture. Turn it into a func_useable with these fields:
targetname / door1
Now, copy that brush, put the green texture on instead, and use these fields:
targetname / door1
spawnflags / 1
Now, create a brush that is 48 x 48 x 96 textured with system/trigger. Make it into a trigger_multiple with the following keys:
target / door1
wait / 2000
spawnflags / 7
angle / (whatever the angle is to the button)
Then, give the func_door the targetname door1 with the TOGGLE box checked.
incase you dont know about this site
all basic things can be found here
http://www.richdiesal.map-craft.com/tutorials/index.html
peripheralvision
15-09-2008, 23:33
kk i got that to work and thanks for the website.. it really helpful :)
but amongst all the good stuffs they have there, i was unable to find this.. so new question!! lol -_-
so ive made a texture with writing on it.. but when i place it GtkRadiant, the righting appears backwards.. as in from right to left.. is there anyway to flip the texture? ive already tried flipping the brush etc, and i was unable to find an option in the surface inspector to rotate its z axis.. to flip it upside down.. any suggestions on how to fix?
kk i got that to work and thanks for the website.. it really helpful :)
but amongst all the good stuffs they have there, i was unable to find this.. so new question!! lol -_-
so ive made a texture with writing on it.. but when i place it GtkRadiant, the righting appears backwards.. as in from right to left.. is there anyway to flip the texture? ive already tried flipping the brush etc, and i was unable to find an option in the surface inspector to rotate its z axis.. to flip it upside down.. any suggestions on how to fix?
select the surface with the texture on it , then press "s" (surface inspector)
then "unlock" and take away the "-" (minus) at H Shift , and click "done"
peripheralvision
08-10-2008, 23:32
been a long time since i asked a question ;) lol
this is only about a lost texture tho.. does anyone know that name of the texture used in SP mode for electrified floors?
edit: or shader...
Powered by vBulletin™ Version 4.0.0 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.