Skip to content

Indoor Gunsound Framework#161

Merged
themrdemonized merged 15 commits intothemrdemonized:all-in-one-vs2022-wpofrom
Kutez:all-in-one-vs2022-wpo
Apr 13, 2025
Merged

Indoor Gunsound Framework#161
themrdemonized merged 15 commits intothemrdemonized:all-in-one-vs2022-wpofrom
Kutez:all-in-one-vs2022-wpo

Conversation

@Kutez
Copy link
Contributor

@Kutez Kutez commented Apr 13, 2025

  • Make it possible to add custom gun sound for indoor, using g_gunsnd_indoor command to use it in game.
  • To add custom sound, do snd_shoot_indoor and snd_shoot_silncer_indoor in the weapon stat.
  • The command is a float from 0 to 1 to change volume of indoor and outdoor sound, for example 0.7 mean the indoor have 0.7 volume and the outdoor have 0.3 volume. 1 mean all indoor sounds, 0 mean all outdoors sounds. (0 is the default).
  • Add a new parameter for HUD_SOUND_ITEM, HUD_SOUND_COLLECTION, HUD_SOUND_COLLECTION_LAYERED :PlaySound function called volume_mult allow changing the volume of sounds played, default value = 1. Require to make the command above possible.
  • g_gunsnd_indoor_volume to change indoor gunsound’s volume.
    More info on the mod can be found on its mod thread in Anomaly discord

@themrdemonized
Copy link
Owner

Thanks

@themrdemonized themrdemonized merged commit 7364a17 into themrdemonized:all-in-one-vs2022-wpo Apr 13, 2025
themrdemonized added a commit that referenced this pull request Apr 13, 2025
Indoor Gunsound Framework

(cherry picked from commit 7364a17)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants