Go Back   Steam Users' Forums > Steam Tool Discussions > Source Level Design

Reply
 
Thread Tools Display Modes
Old 08-01-2012, 09:32 AM   #1
Rooibos1989
 
 
 
Join Date: May 2012
Reputation: 0
Posts: 16
Triggering Car Alarm

I was just wondering if there was a way to have a trigger_once activate a car alarm. I tried having the trigger's output "wake" the car alarm but It doesn't seem to work. Any thoughts/ideas on how to make this work right?
Thanks!
Rooibos1989 is offline  
Reply With Quote
Old 08-02-2012, 12:21 PM   #2
ProdigalMaster
 
 
 
Join Date: Oct 2008
Reputation: 16
Posts: 139
You assume 'car alarm' is some kind of entity?

I have never heard of it, how can you activate it if it doesn't exist? Correct me if I'm wrong.

Anyway, just make an ambient_generic, find a car alarm sound or make a custom one, make sure you have the right flags checked (ensure it loops and doesn't begin before it is triggered). Name it. Then make a trigger_once and in the outputs: onTrigger > nameOfAmbient_generic > play sound
ProdigalMaster is offline   Reply With Quote
Old 08-02-2012, 01:00 PM   #3
ICantShoot
 
 
 
Join Date: Jan 2005
Reputation: 323
Posts: 5,223
Here's an example for you how to have 3 different car alarms on a single map. http://server2.pelipurkki.fi/~dustin...AUTO_TESTI.vmf

Each time the trigger is passed, the director will pick one of the cars. I used this on my campaign so i know it works.
ICantShoot is offline   Reply With Quote
Old 08-02-2012, 04:46 PM   #4
episoder
 
Join Date: Aug 2011
Reputation: 60
Posts: 1,125
Quote:
Originally Posted by ICantShoot View Post
Here's an example for you how to have 3 different car alarms on a single map. http://server2.pelipurkki.fi/~dustin...AUTO_TESTI.vmf

Each time the trigger is passed, the director will pick one of the cars. I used this on my campaign so i know it works.
why the map crashes my hammer? lol

you can even do that without the director. just a trigger with a logic_case that randomly picks a logic_relay to run a sound and other events.
episoder is offline   Reply With Quote
Old 08-03-2012, 02:59 AM   #5
ProdigalMaster
 
 
 
Join Date: Oct 2008
Reputation: 16
Posts: 139
Oh I see, l4d! Next time put that in the info or you will confuse people like me!
ProdigalMaster is offline   Reply With Quote
Reply

Go Back   Steam Users' Forums > Steam Tool Discussions > Source Level Design


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -7. The time now is 12:13 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Site Content Copyright Valve Corporation 1998-2012, All Rights Reserved.