ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
VShift
Jump to navigation
Jump to search
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Flag: | VShift |
File(s): | sound(md).ini |
Values: | Signed integers: All whole numbers from -2147483648 to 2147483647; in rare cases, only from -32768 to 32767. |
Default: | none |
Applicable to: | Sound Objects |
Defines the percentage variation to the Volume= (0-100) value. Values out of range are ignored.
Each wave in the sound will play at a volume within that range, so a sound object with Volume=85 with VShift=10 will play between 80-90% absolute volume, providing some variety where only one wave is used in the sound.
Some tests indicate this may be a synthetic way to create a Doppler effect, where firing away from the viewport would be quieter than firing towards the viewport, but this isn't confirmed, and should be treated as random for now.
Notes
Sounds without explicit Volume= values will draw theirs from the [Defaults] section at the beginning of the INI.