GoldenEye: Source Forums

  • November 25, 2024, 12:53:38 am
  • Welcome, Guest
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Playing custom sounds  (Read 6801 times)

0 Members and 1 Guest are viewing this topic.

Troy

  • GE:S Coder
  • 00 Agent
  • ***
  • Posts: 821
  • Reputation Power: 260
  • Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!
  • Offline Offline
Playing custom sounds
« on: April 13, 2011, 01:58:08 am »

Is it possible to play custom sounds that are not included with GoldenEye: Source?  In my python file, I have tried this:

Code: [Select]
GEUtil.PrecacheSound("sound/quake/firstblood.mp3")
GEUtil.PrecacheSound("sound/quake/play.wav")

GEUtil.PlaySoundToPlayer(player, "sound/quake/firstblood.mp3")
GEUtil.PlaySound("sound/quake/play.wav")

I looked at the other game mode files, and they have an argument versus a path.
Logged
Complete - Arsenal, One Bullet is Enough, Tournament DM v2, TurboDM
Defunct - Agent Under Fire
VC - Being such a dick, KM must be stroked before springing into action.

Proxie

  • 00 Agent
  • ***
  • Posts: 573
  • Reputation Power: 141
  • Proxie is awe-inspiring!Proxie is awe-inspiring!Proxie is awe-inspiring!Proxie is awe-inspiring!Proxie is awe-inspiring!Proxie is awe-inspiring!Proxie is awe-inspiring!Proxie is awe-inspiring!Proxie is awe-inspiring!Proxie is awe-inspiring!Proxie is awe-inspiring!Proxie is awe-inspiring!
  • Offline Offline
Re: Playing custom sounds
« Reply #1 on: April 13, 2011, 05:09:44 pm »

Download this: http://www.mediafire.com/?zrn1z261gypc3g1 and follow the instructions.
Logged
Pages: [1]   Go Up