0
0

I’m doing a racing game with the option to put the camera inside the car. For certain events such as engine sounds, road surfaces we are using a parameter for interior/exterior camera. Now I want to apply this parameter to virtually all other events. When I add a parameter with the same name to a new event, no effect is heard. Is there a way to make some parameters available to all events, or does my programmer have to go and create the same parameter for all the events that need it?

  • You must to post comments
0
0

[quote="JHedges":1wr4ir04]I’m doing a racing game with the option to put the camera inside the car. For certain events such as engine sounds, road surfaces we are using a parameter for interior/exterior camera. Now I want to apply this parameter to virtually all other events. When I add a parameter with the same name to a new event, no effect is heard. Is there a way to make some parameters available to all events, or does my programmer have to go and create the same parameter for all the events that need it?[/quote:1wr4ir04]

At this point each parameter is tied exclusively to an event – so there are no ‘global’ parameters. You are correct to get the programmer involved.

I’m not sure what you are doing with the parameter (selecting sound defs or just applying filters), but I would suggest checking out:

http://52.88.2.202/wiki/index.php5?tit … DOcclusion

This approach could be more memory efficient than declaring a parameter for every event.

Hope this helps,
Templar

  • You must to post comments
0
0

Thanks for the reply. What I need to do is apply volume attenuation and low pass filtering for all real world events when the camera is inside the car. Would the technique described in the link be able to do that?

  • You must to post comments
0
0

[quote="JHedges":2ofcm21x]Thanks for the reply. What I need to do is apply volume attenuation and low pass filtering for all real world events when the camera is inside the car. Would the technique described in the link be able to do that?[/quote:2ofcm21x]

This example works by adjusting the low level channels of the mixer (as opposed to the events themselves). You are able to set volume and low pass filter of the channels.

Your programmer will probably need to look at:

  • identifying the appropriate channels to adjust.
  • simplifying the code to apply a fixed volume/low pass adjustment (if the camera position does an instant shift between positions).

It might sound more difficult, but as stated before, this technique is more memory efficient.

cheers,
Templar

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.