Re: Sound to Start a level
Posted by scullysguy on
Thu Apr 1st 2004 at 2:22pm
4 posts
0 snarkmarks
Registered:
Feb 20th 2004
Occupation: Structural Civil Engineer
Location: Saint Louis, Missouri
This may be a really simple question...as I am new at this, but how can I get a .wav file to play when a player enters the game and when a player is killed by...say..the rocket?
Thanks in advance
Re: Sound to Start a level
Posted by fraggard on
Thu Apr 1st 2004 at 2:31pm
1110 posts
220 snarkmarks
Registered:
Jul 8th 2002
Occupation: Student
Location: Bangalore, India
If your entity has the name "game_playerjoin", it will be triggered when a player joins. If it has the name "game_playerdie" it'll trigger when a player dies.
Just create ambient_generic's with the properties you require and set their names as you need :smile:
"game_playerspawn" triggers when a player spawns/respawns.
Re: Sound to Start a level
Posted by scullysguy on
Thu Apr 1st 2004 at 2:48pm
4 posts
0 snarkmarks
Registered:
Feb 20th 2004
Occupation: Structural Civil Engineer
Location: Saint Louis, Missouri
I saw that ambien_generic thing yesterday but could not find it in Hammer. How do I use that?
Again...thanks
Re: Sound to Start a level
Posted by scullysguy on
Thu Apr 1st 2004 at 3:14pm
4 posts
0 snarkmarks
Registered:
Feb 20th 2004
Occupation: Structural Civil Engineer
Location: Saint Louis, Missouri
Can the game_playerdie be set for a specific weapon?
Thanks
Re: Sound to Start a level
Posted by wil5on on
Thu Apr 1st 2004 at 3:44pm
wil5on
member
1733 posts
570 snarkmarks
Registered:
Dec 12th 2003
Occupation: Mapper
Location: Adelaide
I don't think so.
And please, edit your existing posts instead of triple-posting.