[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4668: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4670: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4671: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4672: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
Battlefield Modding Tutorials BFMODS • View topic - Radio Sounds

Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Fri Nov 01, 2024 12:01 am

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 7 posts ] 
Author Message
 Post subject: Radio Sounds
PostPosted: Sat Jul 11, 2009 3:25 am 
Offline
User avatar

Joined: Thu Oct 23, 2008 6:47 pm
Posts: 935
Location: Charleston S.C.
hey, I'm back again with more sound problems. In a new mod I'm working on I'm going to have a radio in a map that sits there and plays music. I already have the thing ingame (it's a little wooden retro radio, it's real fun) but I cant make it produce sound I've tried alot of different sound 'codes' but none seem to produce the .wav music file. where should I start with a sound like this?

_________________
Image


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Radio Sounds
PostPosted: Sat Jul 11, 2009 3:56 am 
Offline

Joined: Mon Oct 09, 2006 12:51 pm
Posts: 782
Its most likely not your .ssc, instead check your sound. If it is not saved in the proper codec the game will not play the sound.


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Radio Sounds
PostPosted: Sat Jul 11, 2009 4:20 am 
Offline
User avatar

Joined: Thu Oct 23, 2008 6:47 pm
Posts: 935
Location: Charleston S.C.
how do I know if it's 'proper'? windows media player plays it just fine. it probably is my .ssc.

_________________
Image


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Radio Sounds
PostPosted: Sat Jul 11, 2009 4:34 am 
Offline

Joined: Mon Oct 09, 2006 12:51 pm
Posts: 782
Yes, but windows media player isnt the BF1942 sound engine. BF1942 takes a specific codec to play. Get a free program called Gold Wave, and open a vanilla file to find the codec, then save your new sound with the codec.


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Radio Sounds
PostPosted: Sat Jul 11, 2009 8:24 am 
Offline
User avatar

Joined: Thu Feb 05, 2009 7:54 pm
Posts: 487
Location: Germany
You also can try to run the debugger with your map. If a soundfile is called correctly in the ssc but has a wrong codec/format, the debugger usually gives an error/warning message. No guarantee though....better do what archimonde already stated ;)

Or post your ssc here.

_________________
Kampagne XI - Vereinte Achsenmächte


xFire: wgpsenshi


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Radio Sounds
PostPosted: Sat Jul 11, 2009 10:16 am 
Offline

Joined: Sat Jan 26, 2008 11:58 am
Posts: 206
Location: UK / Sweden
http://is82.com/e107_plugins/forum/foru ... c.php?6730

Thats a old tutorial one of the guys put together at is82.. should help you get it running.


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Radio Sounds
PostPosted: Sat Jul 11, 2009 4:47 pm 
Offline
User avatar

Joined: Thu Oct 23, 2008 6:47 pm
Posts: 935
Location: Charleston S.C.
EDIT: now I got it working perfectly after changing the code a bit. thanks for the help guys!

_________________
Image


Top
 Profile Send private message E-mail  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 76 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Group