Ambient plays at once :S

Have questions about CoD2 mapping that aren't covered in the tutorials section? Post here!

Moderator: Core Staff

Post Reply
User avatar
Creep
CJ Worshipper
CJ Worshipper
Posts: 268
Joined: August 31st, 2006, 10:32 am
Location: Hungary

Ambient plays at once :S

Post by Creep » December 22nd, 2008, 7:04 pm

Hello, I have the next problem: My ambient music plays only once :S After the plays it, there si silence. But I used the same
soundaliases, and a simply gsc, that were at my old maps :S

here is my soundaliases:

Code: Select all

name,sequence,file,vol_min,vol_max,vol_mod,pitch_min,pitch_max,dist_min,dist_max,channel,type,probability,loop,masterslave,loadspec,subtitle,compression,secondaryaliasname,volumefalloffcurve,startdelay,speakermap,reverb,lfe percentage

#Ambiance
ambient_jm_renaissance,,ambient/amb_ren.mp3,0.63,,,,,,,local,streamed,,looping,,jm_renaissance
and my gsc:

Code: Select all

main() 
{
	maps\mp\_load::main();

	game["allies"] = "american";
	game["axis"] = "german";
	game["attackers"] = "allies";
	game["defenders"] = "axis";
	game["american_soldiertype"] = "normandy";
	game["german_soldiertype"] = "normandy";

	ambientplay("ambient_jm_renaissance");

	thread st_h1();
}
anybody any idea?:S
Image

BMC
CJ Fan
CJ Fan
Posts: 140
Joined: December 15th, 2007, 4:22 pm
Location: Bucharest, Romania

Re: Ambient plays at once :S

Post by BMC » December 22nd, 2008, 8:58 pm

Load the same song again and again and again :mrgreen: As if you would put 5 songs but put the same song 5 times... my opinion
Last edited by BMC on December 23rd, 2008, 10:58 am, edited 1 time in total.
"I don't care either way. I'm tired of you assholes thinking I'm gay just because I like squirrels and guys with sunglasses." - Soviet

User avatar
Creep
CJ Worshipper
CJ Worshipper
Posts: 268
Joined: August 31st, 2006, 10:32 am
Location: Hungary

Re: Ambient plays at once :S

Post by Creep » December 23rd, 2008, 7:45 am

hmm it's better than nothing :D If nothing helps, I'll make it, ty :D
Image

User avatar
waywaaaard
Core Staff
Core Staff
Posts: 2214
Joined: February 6th, 2006, 3:18 pm
Location: Germany/Bayern

Re: Ambient plays at once :S

Post by waywaaaard » December 23rd, 2008, 12:48 pm

maybe add

Code: Select all

,,,,,,,,
at the end of your soundalias line

Code: Select all

ambient_jm_renaissance,,ambient/amb_ren.mp3,0.63,,,,,,,local,streamed,,looping,,jm_renaissance,,,,,,,,
THAT HANDS WERE NOT TRACED!
visit my blog: Link
Soviet wrote:Yeah, watch out, Peds will hit you with his +5 D-Battleaxe of homosexuality :roll:

User avatar
Pnin
CJ Fan
CJ Fan
Posts: 145
Joined: May 5th, 2008, 9:17 pm
Location: Slovenia

Re: Ambient plays at once :S

Post by Pnin » December 25th, 2008, 3:18 pm

same problem here :D

User avatar
Creep
CJ Worshipper
CJ Worshipper
Posts: 268
Joined: August 31st, 2006, 10:32 am
Location: Hungary

Re: Ambient plays at once :S

Post by Creep » December 25th, 2008, 10:24 pm

I solved it.
Ambient sounds need to be 192kbit/s bitrated :)

If you don't know how to make it, just search in google: wavelab(a simple sound cuter programme). And you can download for free the demo:) I'm using sony sound forge for this works, but wavelab is good too :)
Image

Post Reply

Who is online

Users browsing this forum: No registered users and 28 guests