treatment chlamydia
Return to forums
Register new account
Login:
generic dapoxetine priligy

Synergy Mod Forums: Playing Sounds from a Specific Player? - Synergy Mod Forums

Jump to content


Toggle shoutbox Shoutbox

gmc.jimmy  : (08 May 2013 - 08:05 PM) The guests browsing are probably spambots or search engines.
SaRg3nT1  : (03 May 2013 - 08:41 PM) Hmm. the online at once record seems to be broken every day. If you're a guest browsing these forums, why not join? As the saying goes, "The more the merrier."
jonnyquattro  : (27 April 2013 - 11:47 AM) woot.
Stino  : (25 April 2013 - 10:14 AM) https://www.facebook.com/SynergyMod People, you know what to do!
TBC Alex  : (22 April 2013 - 01:38 PM) Do you need help no problem send me a pm or open a thread
WattoDaToyda...  : (20 April 2013 - 10:21 PM) Someone please help me with my server!
scorp75  : (19 January 2013 - 01:28 PM) Spam, spam, spam. I am saddened to see this
VOSK  : (18 January 2013 - 03:48 PM) Looking into ways to correct that.
ChexGuy  : (06 January 2013 - 06:44 PM) actually a lot of the forums have spambot posts
ChexGuy  : (06 January 2013 - 06:43 PM) holy crap the entire Synergy Discussion forum is spambots wtf
Pestilence  : (03 January 2013 - 11:38 AM) Woo synergy updates!!
Edfake  : (31 December 2012 - 10:22 PM) sourcemod should now be fixed as of 9 hours ago
Edfake  : (31 December 2012 - 10:21 PM) Happy new years!!!!
Zero Alpha 2  : (31 December 2012 - 12:27 PM) And Happy New years eve!
Zero Alpha 2  : (31 December 2012 - 12:26 PM) Its been awfully quiet in the shout box lately D:
gmc.jimmy  : (17 October 2012 - 09:04 PM) Here's a Slashdot article talking about a Steam vulnerability.
Edfake  : (15 October 2012 - 04:24 PM) If its any help, UrbanCommand check the November 24, 2011 post in news, and Forensic, check your drivers and update them all. maybe updating ditect x will help too
UrbanCommand  : (23 September 2012 - 10:43 AM) WTF i keep on getting invalid steam userID ticket any help :/
Forensic  : (16 September 2012 - 08:04 PM) ok, umm, blue screen of death, anyone know a fix?
gmc.jimmy  : (14 September 2012 - 10:42 AM) Black Mesa Download from Shack News
Resize Shouts Area

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Playing Sounds from a Specific Player? Or any player, really.

#1
User is offline   Sage J. Fox 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 5
  • Joined: 01-June 11
  • LocationThe Digital World
Basically, I'd like to set up little bits of (triggered by map events) banter between the actual player characters. Is there a way to reference players in a way so the voice files will play from them, with the proper lip syncing and all that? I'm assuming it's somehow possible seeing as they can do it a bit on their own (a player dies and all living players give their little reactions, they say ow when hurt, etc.).

I've tried having !activator as the source entity for an ambient_generic, but it still plays from itself. And I am aware of !rndplayer as far as the description goes. :P
0

#2
User is offline   Danny 

  • Synergy Player
  • PipPipPipPip
  • Group: Members
  • Posts: 59
  • Joined: 10-March 10
  • LocationOhio
Really you should turn to plugins, making or finding them from either SourceMod or EventScripts.

If you're insistent on using an entity such as ambient_generic, there is an input for it ( SourceEntityName <targetname> ) that you could use to play it from a named client.
I believe it also supports lip syncing. Info on Ambient_generic

Alternatively, if you know any python, or C/C# you could go the more global route of learning how to use SM or ES. Really you could even could code in C++ if you like loading .dlls and hooking straight to source.

An EventScripts python example of how we would do the above, and have lip syncing:
es.emitsound("player", id, soundfile, volume, attenuation)
Mavs Community Plugin Developer
BlueRpg Author
0

#3
User is offline   Sage J. Fox 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 5
  • Joined: 01-June 11
  • LocationThe Digital World
I had a feeling it'd end up being best done outside of the map itself. It's by no means going to make or break the map if it's not there, and it wouldn't really be that much of a bonus to go through all the trouble of making and then having to include all sorts of additional files.

Thanks for the information, though. I'll definitely keep that in mind should future maps I work on need need it.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users


yasmin birth control