Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 14 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 4
Category: CoD4 MP Mapping
CoD 4 mapping and level design for multiplayer.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked
Page
Previous Page
subscribe
Author Topic: Sound problem!
Welshy
Preferred Member
Since: Feb 16, 2007
Posts: 1810
Last: Mar 22, 2020
[view latest posts]
Level 8
Admin
Forum Moderator
Im a fan of MODSonair
Im a HOST of MODSonair
Category: CoD4 MP Mapping
Posted: Sunday, Jul. 15, 2012 08:47 pm
Alright that's enough. Either return to the original topic or close the thread, you decide or I will...
Go ahead... You Play I Mod : MODSonline.com
Support Modsonline by becoming a PREFERRED MEMBER today
Have you heard the MODSonair Podcast?: www.modsonair.com
MODSonair is a weekly podcast bringing you the news from a modders perspective. Tune in every Sunday at 5pm GMT to listen LIVE.
Share |
DeekCiti
General Member
Since: Mar 13, 2008
Posts: 1293
Last: Jul 9, 2016
[view latest posts]
Level 8
Category: CoD4 MP Mapping
Posted: Monday, Jul. 16, 2012 02:38 am
Wow... [lol]

darkpheonixz4x, I've had this error before. You can always PM me anytime.
Share |
darkpheonixz4x
General Member
Since: Jul 7, 2012
Posts: 17
Last: Nov 7, 2012
[view latest posts]
Level 1
Category: CoD4 MP Mapping
Posted: Monday, Jul. 16, 2012 02:49 pm
I did everything you said. I changed the script. Nothing. I have uploaded my music file here:http://www.2shared.com/audio/muxbm_WY/kyoto.html

Please see if you can get it to work. Thanks =)
Share |
Tally
General Member
Since: Apr 21, 2005
Posts: 819
Last: Oct 26, 2012
[view latest posts]
Level 7
Category: CoD4 MP Mapping
Posted: Monday, Jul. 16, 2012 03:50 pm
darkpheonixz4x writes...
Quote:
I did everything you said. I changed the script. Nothing. I have uploaded my music file here:http://www.2shared.com/audio/muxbm_WY/kyoto.html

Please see if you can get it to work. Thanks =)


Didn't have a problem with it. Worked first time. This is how I tested it:

1. I tested it on mp_carentan (Chinatown);

1. I added a soundalias to my custom soundalias CSV file, and named it "kyoto_test". This is the soundalias for it:

Code:
kyoto_test,,custom/kyoto.wav,1,,max,,,,,auto2d,streamed,,,,all_mp,,,,,,music,nowetlevel fulldrylevel,,,,,,


I named the soundalias CSV file "kyoto.csv and added it to my mod.CSV file like this:

Code:
sound,kyoto,,all_mp


Then I compiled the mod.ff file.

2. I added a "sound" folder to my mod IWD file, and inside that folder I added another folder named "custom". Inside that I put the sound file I downloaded from your link - kyoto.wav;

3. I added a trigger_radius to a spot near the allies spawns on mp_carentan, and placed a model of a carepackage crate. When you trigger the trigger, it plays the sound to the player. Here is the code I used:

Code:
test()
{
	crate = "prop_bo_crate";
	precacheModel( crate );
	
	origin = (469, 796, -8);
	
	target_visual = spawn( "script_model", origin );
	target_visual setModel( crate );
	
	trig = spawn( "trigger_radius", origin, 0, 50, 50 );
	trig setContents( 1 );
	trig thread test_loop();
}

test_loop()
{
	for( ;; )
	{
		self waittill( "trigger", player );
		
		if( isPlayer( player ) )
		{
			if( player isTouching( self ) )
				player playlocalSound( "kyoto_test" );
		}
	}
}


You can see the test I did here on an XFire video:

http://www.xfire.com/video/5906f9/

The sound file is very large. At 33 mb, it is really not advisable to use such a big one. What I would do is edit it right down so that you only get a few seconds of music playing.

Share |
darkpheonixz4x
General Member
Since: Jul 7, 2012
Posts: 17
Last: Nov 7, 2012
[view latest posts]
Level 1
Category: CoD4 MP Mapping
Posted: Monday, Jul. 16, 2012 04:05 pm
Thank you soooo much. I think the problem was the channel. It works now. I can't thank you enough. You're like a CoD GOD! =)

PS - I saw you dancing to the song. AHAHAHA. You liked it!!!
Share |
Restricted Access Topic is Locked
Page
Previous Page
subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 MP Mapping

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»