AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Sound file is looping... why ??? (https://forums.alliedmods.net/showthread.php?t=41073)

Geesu 07-08-2006 15:29

Sound file is looping... why ???
 
1 Attachment(s)
This is my code:

Code:
// Play ultimate blocked sound emit_sound( id, CHAN_STATIC, g_szSounds[SOUND_DISPELL], 1.0, ATTN_NORM, 0, PITCH_NORM );


And NO it isn't in a loop, there is a print statement above it which is never called. the sound dispell is this:

Code:
copy( g_szSounds[SOUND_SPELLSHIELD] , 63, "warcraft3/SpellShieldImpact1.wav" ); // Dispell an ultimate - played on blocker


I've attached the sound file, I was thinking maybe the sound file has some built in loop thing? I don't know, it's weird...

Basically it plays normally, but then it just starts looping (it doesn't loop entirely, it only loops like the first 0.5 seconds)

karlos 07-08-2006 20:23

Re: Sound file is looping... why ???
 
yours had a mark inside, do not know if it was a loop mark or something else

try this one, i removed the mark

EDIT:
attachment removed

Geesu 07-08-2006 20:25

Re: Sound file is looping... why ???
 
It had a mark? what does that mean?

Also, ty :)

karlos 07-08-2006 20:40

Re: Sound file is looping... why ???
 
sounds can contain marks to force loops ( i do not know much about it )

i opened the wav with a sound editor and then saw that there is a mark called "Poof"

Geesu 07-08-2006 21:14

Re: Sound file is looping... why ???
 
Awesome thanks :) Care to saw what editor you used so I can take a peak?

Thanks!!!
Josh

karlos 07-09-2006 06:41

Re: Sound file is looping... why ???
 
sound forge


All times are GMT -4. The time now is 08:04.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.