Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sound Issues
Gamemakingdude Offline
Senior Member

Posts: 470
Threads: 82
Joined: Nov 2010
Reputation: 9
#1
Sound Issues

PHP Code: (Select All)
void HammerScare(string &in entitystring &in type)
{
  
AddPropImpulse("sledge_1"30520"world");
  
PlaySoundAtEntity("FistPump""FistPump.snt","Player"0false);


This plays the sound.

<SOUNDENTITY>
<SOUNDS>
<Main>
<Sound File="FistPump.ogg" />
</Main>
</SOUNDS>
<PROPERTIES Volume="1" MinDistance="12" MaxDistance="50" Random="1" Interval="0" FadeEnd="False" FadeStart="False" Stream="False" Loop="False" Use3D="True" Blockable="False" BlockVolumeMul="0.7" Priority="0" />
</SOUNDENTITY>

The snt file. Its called FistPump.snt

Why isnt the sound working in the game?

Rep if like me or im helpful or you love my stories!
Stephanos house
10-06-2011, 06:32 AM
Find
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#2
RE: Sound Issues

Remove the ogg part from your snt file.

10-06-2011, 06:41 AM
Website Find
Gamemakingdude Offline
Senior Member

Posts: 470
Threads: 82
Joined: Nov 2010
Reputation: 9
#3
RE: Sound Issues

Nope doesnt do it. Still silent.

Rep if like me or im helpful or you love my stories!
Stephanos house
10-06-2011, 06:42 AM
Find
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#4
RE: Sound Issues

MinDistance="12" MaxDistance="50"

Do you know what these do? MinDistance 12 is too much.

10-06-2011, 07:03 AM
Website Find
Gamemakingdude Offline
Senior Member

Posts: 470
Threads: 82
Joined: Nov 2010
Reputation: 9
#5
RE: Sound Issues

Changing the min distance to 1 seemed to fix it! Thanks Tanshaydar!

Rep if like me or im helpful or you love my stories!
Stephanos house
10-06-2011, 07:36 AM
Find




Users browsing this thread: 3 Guest(s)