Latest topics
Door sounds
3 posters
Page 1 of 1
Door sounds
Maybe this is quite a stupid question, but anyways:
I made an lmd_door and each time you use it I want it to make a sound (sound/movers/doors/door_huge_start.mp3). So I tried using the target key on the door, didn't work, and tried using a target_relay that targets both the door and the sound, it worked, but the sound kept playing over and over again. What's wrong? It'd be easier if lmd_door had a soundset key.. ¬¬
I made an lmd_door and each time you use it I want it to make a sound (sound/movers/doors/door_huge_start.mp3). So I tried using the target key on the door, didn't work, and tried using a target_relay that targets both the door and the sound, it worked, but the sound kept playing over and over again. What's wrong? It'd be easier if lmd_door had a soundset key.. ¬¬
Re: Door sounds
You should just be able to have the lmd_door's target point to a target_speaker placed near the door itself. Do you have spawnflags,1 on the target_speaker? That will loop the sound too.
Re: Door sounds
It works but it doesn't loop the sound, not even with spawnflags 1, i'll try to change the sound file.
Re: Door sounds
Put spawnflags 0 to the target_speaker and it works. Only those around can hear the snd, it starts off and doesn't loop. For my rentable house, the rentable terminal (a button) targets house_door. So it targets both the door and the target_speaker (both have targetname house_door). No need of target_relay in that case.
EDIT: Actually now I have the button targets house_door, and the door targets the sound. This way people won't spam the sound by constantly pressing the button because the sound only plays when the door opens and not when you click the button.
EDIT: Actually now I have the button targets house_door, and the door targets the sound. This way people won't spam the sound by constantly pressing the button because the sound only plays when the door opens and not when you click the button.
Cor- Standard Member
- Posts : 29
Join date : 2012-01-09
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|
Thu Aug 25, 2022 5:30 pm by Shadow
» The Sith of Qarr
Tue Mar 02, 2021 8:57 pm by Cor
» Admin Key/disable teleports
Mon May 13, 2019 4:06 am by Pierry
» Some possibly useful addons
Wed May 08, 2019 3:37 pm by Pierry
» Active lugormod servers
Wed May 08, 2019 11:23 am by Pierry
» Quick links
Wed May 08, 2019 11:12 am by Pierry
» Help with trigger_usescript
Thu Sep 22, 2016 8:16 am by flanagon
» New Lugormod U# (Windows + Linux)
Thu Sep 22, 2016 7:03 am by Ufo
» iobject terminal
Thu Sep 25, 2014 2:39 pm by flanagon