Lugormod Building Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Latest topics
» misc_bsp help
Door sounds I_icon_minitimeThu Aug 25, 2022 5:30 pm by Shadow

» The Sith of Qarr
Door sounds I_icon_minitimeTue Mar 02, 2021 8:57 pm by Cor

» Admin Key/disable teleports
Door sounds I_icon_minitimeMon May 13, 2019 4:06 am by Pierry

» Some possibly useful addons
Door sounds I_icon_minitimeWed May 08, 2019 3:37 pm by Pierry

» Active lugormod servers
Door sounds I_icon_minitimeWed May 08, 2019 11:23 am by Pierry

» Quick links
Door sounds I_icon_minitimeWed May 08, 2019 11:12 am by Pierry

» Help with trigger_usescript
Door sounds I_icon_minitimeThu Sep 22, 2016 8:16 am by flanagon

» New Lugormod U# (Windows + Linux)
Door sounds I_icon_minitimeThu Sep 22, 2016 7:03 am by Ufo

» iobject terminal
Door sounds I_icon_minitimeThu Sep 25, 2014 2:39 pm by flanagon


Door sounds

3 posters

Go down

Door sounds Empty Door sounds

Post by Soap94 Wed Feb 01, 2012 6:31 pm

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.. ¬¬
Soap94
Soap94
New User
New User

Posts : 19
Join date : 2012-01-16
Age : 29
Location : Argentina

http://lugormod.org

Back to top Go down

Door sounds Empty Re: Door sounds

Post by Zkyo Thu Feb 02, 2012 11:14 am

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.
avatar
Zkyo
Admin
Admin

Posts : 384
Join date : 2010-03-29
Age : 30
Location : Grand Rapids, Michigan, USA

https://lugorhelp.forumotion.com

Back to top Go down

Door sounds Empty Re: Door sounds

Post by Soap94 Thu Feb 02, 2012 10:00 pm

It works but it doesn't loop the sound, not even with spawnflags 1, i'll try to change the sound file.
Soap94
Soap94
New User
New User

Posts : 19
Join date : 2012-01-16
Age : 29
Location : Argentina

http://lugormod.org

Back to top Go down

Door sounds Empty Re: Door sounds

Post by Cor Tue Oct 30, 2012 5:49 pm

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.
Cor
Cor
Standard Member
Standard Member

Posts : 29
Join date : 2012-01-09

Back to top Go down

Door sounds Empty Re: Door sounds

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum