source entity name for ambient_generic

UltraProAnti

Newbie
Joined
Nov 22, 2004
Messages
509
Reaction score
0
if you specify a source entity name in an ambient_generic, where the source entity begins out of earshot and then moves nearer to the player, will the sound radius set in the ambient_generic move dynamically with the source entity (i.e. relative to the origin of the source entity)?

i have a choo-choo tracktrain that starts in a separate hull and drops into the map and comes to a stop next to the player. i can't use the move sound parameter in the tracktrain (because ambient_generic allows pitch-shifting inputs - for when the train slows and stops - and tracktrain doesn't) so i'm going to tie an ambient_generic to it instead

this may seem like a dumb question, but i have a vague recollection of this not working, or maybe i'm totally wrong and it works fine
 
Parent it to an object and it shall move with it.
 
I think the source sound should do the trick..

Its just parenting but with a different name.

If not then maybe using logic_measuremovement will do the trick.
 
ok, it worked fine, but my god you have to make the sound radius something ridiculous to make an ambient_generic audible from anything further than a few e-metres away

meanwhile the tracktrain's move sound is so loud you can hear it even when the tracktrain spawns in its own hull outside the main hull...
 
haha.. may be... but that can all be adjusted right?

I mean, the ambient generics have a max audiable distance key and a volume key so you can mix them as much as you like. And trains can be told to be silent right?
 
doh!

on closer inspection, the moving sound of the tracktrain can be pitch-shifted after all. it just wasn't clear from the entity window, but i checked out the sdk developer docs and there it was. now all i need to do is make sure the train isn't deafening...

now, see, if raeven0 were still around, he'd have pointed this out days ago..:)
 
Raeven0 is off to be one of those long-bearded men on mountains that know everything. Should one really need his help you must do more then a simple post.
 
Back
Top