Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
GamingMarine

Having problems with making a sound loop

Recommended Posts

I've spent hours trying to get a sound effect I downloaded to loop in my game. I've converted the same file into multiple different formats, and not a single one of them worked.

 

Here's the DECORATE for the actor who should play this sound. I based it off one of the tortured marines in Hell on Earth Starter Pack:

ACTOR ImpaledDoomer : DeadStick replaces DeadStick
{
  Radius 16
  Height 64
  Health 200
  +SOLID
  +SHOOTABLE
	DropItem "HealthPlus" 128
	DropItem "HealthPlus" 128
	DropItem "ArmorShard" 128
	DropItem "ArmorShard" 128
	DropItem "Stimpack" 128
	DropItem "Clips" 128
	DropItem "Shells" 128
    bloodtype "DeadBlood"
  States
  {
  Spawn:
	TNT1 A 0 NoDelay A_PlaySound("TORTURE5, 256")
	POLC ABCBABCBABCBABCBABCBABCBABCBABCBABCBABCBABCBABCBABCBABCBABCBABCBABCBABCBABCBABCBABCBABCB 4
	Loop
  Death:
	POLC A -1 A_PlaySound ("DSMADTH")
	Stop
  }
}

And here's the SNDINFO for the file.  I swear I made no typos whatsoever:

 

TORTURE5 TORTURE5

 

For those who are wondering, the file started off from, get this: a video of a halloween decoration. I downloaded the video, and edited it in Windows Movie Maker, to remove any pauses. I converted the .wlmp file into .mp4, and went onto an online audio converting site, and tried just about every format. Like I said, none of them worked.

 

Hopefully, there's someone out there who can help me out on this.

 

Share this post


Link to post

Edit: Or just what Blue Shadow said below and everything I wrote can be ignored!

 

Is the issue you can't get it to play, or you can't get it to loop?

 

I'm no expert, but if looping is the issue have you tried setting up the looping parameters in the SNDINFO lump, not in DECORATE?

 

In my experience of creating environmental sounds basically everything (volume, sound type, loop frequency etc. etc.) has be defined in SNDINFO before you even place the sound in your map.

 

If it's not playing at all, perhaps try mp3 format, not mp4. I know underneath they can be the same file, but extensions matter.

Edited by Bauul

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×