Skip to content

[Feature request]: 2D ambient_generic#1155

Description

@khanghugo

馃憠馃憟 Contact Details (optional)

No response

馃挕 Tell us more about your idea

Currently, ambient_generic audio is spatialized. Even when attenuation is limitless, the audio can be heard differently depending on the player's view (head).

I think it is nice to have audio played non-spatialized-ly. This is only current possible through trigger_cdaudio. However, it can only play some hardcoded sound pieces (Half-Life campaign OSTs). There should be a way to work with the current ambient_generic and still allows this behavior..

After looking through HLSDK for a bit, I think EMIT_SOUND_DYN2() might work. Yet to test the actual function but I tested engine functions and the absence of audio origin will make it 2D.

This feature is very nice to have music played properly in a map. It will sound like actual background music rather than a speaker from somewhere else.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions