[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/bbcode.php on line 112: 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 112: 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 112: 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 - Fire Loop problem

Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Mon Apr 29, 2024 11:16 pm

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 posts ] 
Author Message
 Post subject: Fire Loop problem
PostPosted: Tue Aug 04, 2009 4:03 am 
Offline
User avatar

Joined: Mon Oct 20, 2008 9:25 pm
Posts: 103
Location: Canada

_________________
Image
Pray hard, die fast


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Fire Loop problem
PostPosted: Tue Aug 04, 2009 4:20 am 
Offline

Joined: Thu Mar 15, 2007 2:22 pm
Posts: 1253


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Fire Loop problem
PostPosted: Tue Aug 04, 2009 5:06 am 
Offline
User avatar

Joined: Mon Oct 20, 2008 9:25 pm
Posts: 103
Location: Canada
im using my own snd files. i just tried the stereo mono idea but still i get looping snd when i pull trigger. the problem even occurs when i copy the .ssc file over for the weapon & don't change it at all!! still loops... im confused!! can changing .ssc file only work in a client side mod like dc 0.7 & not a map or ssm??

_________________
Image
Pray hard, die fast


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Fire Loop problem
PostPosted: Tue Aug 04, 2009 5:14 am 
Offline

Joined: Thu Mar 15, 2007 2:22 pm
Posts: 1253
good question, i know sounds are all client but the server sends the network info from other players guns eg stop/start and such. however there is a bug with the mg´s in bf42 where the sound never stop until you change weapon.

viewtopic.php?f=3&t=4713


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Fire Loop problem
PostPosted: Tue Aug 04, 2009 9:50 am 
Offline

Joined: Sat Jan 26, 2008 11:58 am
Posts: 206
Location: UK / Sweden


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Fire Loop problem
PostPosted: Tue Aug 04, 2009 1:42 pm 
Offline

Joined: Mon Oct 09, 2006 12:51 pm
Posts: 782
First thing to do is check your Sound Files, you need to make sure that all your sound files are PCM 16 bit Signed 44100khz sounds, if they are not, BF1942 will not play them. You also might want to make 22100khz and 111000khz versions for players who play on lower sound settings, all sound files are .wav in bf1942. You also need to make sure you have two versions of the same sound, one should be saved in Stereo format, and the other in Mono format. Stereo Format will be used for First Person sounds, and is enable by using the "stereo" line in the .ssc. Mono will be used for 3rd Person sounds, and is enabled by not including "stereo" to that sound patch in the .ssc.

You also need to make sure the sounds are their appropriate lengths. In Battlefield 2 you can use Loop Keys, which will tell the engine at what part of the sound to loop back to the beginning, and then on the ending of that sound trigger it'll just play the rest of the sample, However BF1942 doesnt use this system. In BF1942 you need to sink the length of your sound to the speed of your gun, so if your sound fires 600 rounds a minute, you should divide 60 by it. so:

60/600 = 0.1


so your sound should be 0.1 seconds in length to loop correctly. For faster weapons, like a MG-42 at 1200 rounds a minute, it will be better to use a sound loop, where a 1 or 2 second sound contains a looping sound over and over again, as opposed to a really short one. To get reverb on your weapons after you shoot, you will need to make another sound both for stereo and mono that plays after the weapon finishes firing.

And of course, make sure to use FinishSample for your stop type! :D


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.  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 156 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