Talk:Ambient generic

From Valve Developer Community
Revision as of 12:29, 5 August 2006 by TomEdwards (talk | contribs) (Defenition List)
Jump to navigation Jump to search

Is it possible to stop a music MP3 playing? I've got a section of my map where if the player goes very quickly, they'll trigger the next track before the previous one has ended. Ideally, I'd fade the old one out and start the new one, but that doesn't appear to work - instead I get both playing simultaneously. Any ideas? --Cargo Cult 14:58, 29 Aug 2005 (PDT)

Found that the stopsound command does the trick, in a rather hacky manner - it stops everything playing. I've got a point_clientcommand to do this - a logic_relay timer counts down so that if the first music track finishes playing naturally, it disables the logic_relay thingy which would send the stopsound command. If that makes sense. The second, command-sending logic thingy also starts up the relevant soundscape and ambient sounds... --Cargo Cult 13:46, 30 Aug 2005 (PDT)
I know it's most likely too late, but wouldn't it be easier to just kill the entity? --Vaarscha 14:22, 19 Mar 2006 (PST)
FadeIn and FadeOut are in as of Episode One.

Defenition List

I've converted this article to use the Wiki's DL system, which simplifies markup considerably. There are a few minor problems:

  • The table breaks the list into three due to a Wiki limitation
  • Another Wiki limitation means that the Flags had to have their semicolons replaced with dashes
  • I couldn't convert the Template:I Targetname, as that would have messed up other articles

Nothing too major. What do people think? With some find/replacing (perhaps even at Valve's end) the conversion could be fairly quick. --TomEdwards 12:29, 5 Aug 2006 (PDT)