Created 18 years ago2006-01-02 09:43:42 UTC by
Kasperg
Holy crap, I never knew about that.(shift-dragging)Wow how can you guise not know about that?! I would quit mapping without it.. =)
Wow how can you guise not know about that?! I would quit mapping without it.. =)I don't even know what it does right now
There are three checkboxes: Small radius, Medium radius, and Large radius. Can these be combined? Supposing I check Medium radius AND Large radius, does the sound radius cover 50% more than large radius alone?From common/const.h:
if ( FBitSet ( pev->spawnflags, AMBIENT_SOUND_EVERYWHERE) )
{
m_flAttenuation = ATTN_NONE;
}
else if ( FBitSet ( pev->spawnflags, AMBIENT_SOUND_SMALLRADIUS) )
{
m_flAttenuation = ATTN_IDLE;
}
else if ( FBitSet ( pev->spawnflags, AMBIENT_SOUND_MEDIUMRADIUS) )
{
m_flAttenuation = ATTN_STATIC;
}
else if ( FBitSet ( pev->spawnflags, AMBIENT_SOUND_LARGERADIUS) )
{
m_flAttenuation = ATTN_NORM;
}
That's the code which reads the flags and sets the attenuation level based on them.If i had to guess, i'd imagine a bigger radius would cancel out, or be redundant to any smaller one, and not make any change.That's how it is.