Battlefield Modding Tutorials BFMODS https://battlefieldmodding.com/ssm/phpBB3/ |
|
Some trouble with AreaObjects.... https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=3&t=4801 |
Page 1 of 2 |
Author: | Apache Thunder [ Wed Apr 01, 2009 12:46 am ] |
Post subject: | Some trouble with AreaObjects.... |
I am coding AreaObjects for the first time as I am doing some upgrades to the Golf of Oman map conversion for my mod. I got all the custom ambient sound effects to work via AreaObjects only problem here is that whenver I am in the "trigger" range of one and therefor a ambient sound is playing, it endsup silancing most weapon fire sound effects. For example I am near a area where an AreaObject has triggered some neat background noise of birds singing and such. I fire my weapon, but only the first shot is heard and the rest is silant except for bullet impacts and shell ejection sound effects. This only seems to effect small arms as things like tanks weapons and engine sounds and such are not effected. I suspect I screwed up somewhere in the sound script files the area objects use. Any help from someone familiar with coding this stuff would be appreciated. (and no this isn't a server side mod) |
Author: | Sheppard [ Wed Apr 01, 2009 12:48 am ] |
Post subject: | Re: Some trouble with AreaObjects.... |
When will you learn that its "Gulf" not "Golf" ! ![]() |
Author: | Apache Thunder [ Wed Apr 01, 2009 12:52 am ] |
Post subject: | Re: Some trouble with AreaObjects.... |
lol sorry. Typo. Don't worry the map isn't spelled like that ingame. ![]() EDIT: After further checking it is spelled wrong ingame. LOL. Don't blame me though. I didn't make the map, so whoever converted it spelled the base path wrong....I should be able to correct it without much trouble. I checked the vanilla BF2 files. Looks like EA got the spelling correct as it uses Gulf and not Golf. |
Author: | Sheppard [ Wed Apr 01, 2009 12:58 am ] |
Post subject: | Re: Some trouble with AreaObjects.... |
![]() |
Author: | Apache Thunder [ Wed Apr 01, 2009 1:01 am ] |
Post subject: | Re: Some trouble with AreaObjects.... |
lol indeed. Thanks for spotting that. Dumb mistake on the original auther's part. Should have noticed this as I did infact take stuff out of the vanilla BF2 map. Funny how I missed that mistake... Ok back on topic now! |
Author: | Iced Earth [ Wed Apr 01, 2009 1:06 am ] |
Post subject: | Re: Some trouble with AreaObjects.... |
Could the problem lie in the sounds priority level? |
Author: | Apache Thunder [ Wed Apr 01, 2009 1:10 am ] |
Post subject: | Re: Some trouble with AreaObjects.... |
That was the first thing I thought of. At first the property wasn't defined at all in my sound scrips. So I looked at existing area object sound scripts from other objects and found that the priority level is -10. So I set all my area objects to that but still end up with muffled weapon sounds. |
Author: | Apache Thunder [ Wed Apr 01, 2009 4:14 pm ] |
Post subject: | Re: Some trouble with AreaObjects.... |
Page 1 of 2 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |