Jump to content
Official BF Editor Forums

Dynamic Echo


dodek96_pl

Recommended Posts

I figured it out :)

I made the muzzle emit several particles with collisionEffectName e_dynecho_1. This effect triggers a sound. This works almost like vexp with wreck particles, but they are emitted with more power and they generate a different collision sound. Quite simple and works great! Doesn't generate any lag when playing alone (4x3 GHZ Phenom, 4GB RAM, Nvidia GTS250, Win7), now only M4 muzzle creates this effect, so I have to make some other fx not to make all the weapons sound the same, put them in all muzzles and test with bots. It's possible to do this also with explosions.

I was supposed to upload a youtube video, but server refused. It was an old version though, I'll upload newer and post it here once finished.

Video:

Does anyone know how to change particle material by chance? I tried mapMaterial and material method for p_wreck_01 but no luck.

Edited by dodek96_pl
Link to comment
Share on other sites

wow...that sounds really good mate,nice workaround too...only crits would be the echo sounds too crisp and a little too loud,if you have sound editing software,drop the high frequencies a little and raise the mid frequencies a little,to simulate the the echo being absorbed and softed by the environment.

Link to comment
Share on other sites

This looks like some really nice work! Going to see what are sound guys over at PR think of it :D

Also as a side note I see you have quite a bit of PR content in your mod, which is fine if its just your own personal mod you don't plan to release but if you want to release it to the public, your going to need to have our permission first.

Cheers! :D

Edited by Rhino
Link to comment
Share on other sites

gdgd, and no it doesn't look like we will be using it in PR, although a impressive workaround none the less.

Jaymz']There's a problem with his way of doing this.

When sound reflects off of objects close to the source' date=' the result is known as an "early reflection". The characteristics of an early reflection are completely different to a distant "slap back" from a building or wall, which is also completely different to how sound dissipates in wide-open spaces.

Another issue is sound voices. This would literally triple? quadruple? the amount of sound voices used for each gun shot. Consider 64 players all blasting away, available sound slots would disappear and you'd hear a lot of muting going on.

Very clever idea though. If he made the echo a lot more subtle and distant sounding than it that video it would be much better. Basically what the first response he got in that thread says.[/quote']

Link to comment
Share on other sites

Another issue is sound voices. This would literally triple? quadruple? the amount of sound voices used for each gun shot. Consider 64 players all blasting away, available sound slots would disappear and you'd hear a lot of muting going on.

You can of course change the amount of objects emitted.

Well, it is still WIP so we I can sure come up with some much nicer sounds. I'm probably going to do some realism tweaks soon :)

This system will appear in BF2FB Mod with mod team recruitation topic here.

Edited by dodek96_pl
Link to comment
Share on other sites

I've got another idea. I'll make the particle live shorter and I'll attach echo effect to it. And as collision effect I will use distdel. Will post the results soon.

EDIT:

Forget the distdel as collision effect. You can't hear the echo effect and the distdel is generated multiple times.

Does anyone know how to make a particle use physicsType Point? I used it in the tweak file, but then it didn't have any collision.

Edited by dodek96_pl
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...