Custom Select Fire (+ Better Automatic Fire Sounds)

If you liked this item, please rate it up on Steam Workshop page.

Author: 76561198401019854

Last revision: 4 Mar at 09:12 UTC

File size: 2.55 MB

On Steam Workshop

Description:

You can reach me on Discord[discordapp.com] for questions, commissions, or other inquiries. If you’d like to support my work, consider buying me a coffee on Ko-fi[ko-fi.com] — thank you!


this works in ea33, i just took the screenshots in ea32 because the new mutator configuration screen is horrendous. steel pls

Update Log + Changed rolloff to linear rolloff so sound are much louder. + Added Semi Auto Only config. More in the description.

Mod Overview

This mod is intended for all automatic weapons. Tap firing in full auto sounds bad. The weapon originally uses a looped firing sound, so when you fire, you’re really just playing a cut clip. Each shot is not its own gunshot. There’s no reverb, as the sound immediately stops when you release the trigger.

This mod lets you customize gun sounds and add fire modes for any weapon, even modded ones that already have subweapon select fire. Gun sounds are improved as well: instead of a looping sound when firing in full-auto, each shot now plays a full single gunshot sound with realistic reverb.

Guide
  • You are given a list of weapon names in the mutator options. Put weapon names or tags into the matching weapon name and that weapon will use that sound. Any weapon you add here becomes automatic and loses its subweapon option. Separate multiple names or tags with semicolons.
  • Toggle Keybind – Press this button to switch the gun between fully automatic and semi-automatic.
  • NOTE: For any of the next three modifiers to work, the weapon must first be assigned a custom sound in the main weapon lists above.
    • Keep Subweapons – The feature removes extra subweapons by default because many modded weapons already include a subweapon select-fire. If you want a weapon to keep its subweapon (for example a grenade launcher), add its name here. Weapon names often include the subweapon (e.g., PATRIOT GL), which is why I decided to make it keep instead of remove.
    • No Select Fire – Some weapons do not have select fire capabilities (for example a heavy machine gun). Add those names here to keep them locked in full-auto.
    • Semi Auto Only – This is mainly for when you want to turn an originally automatic weapon into a semi-automatic one. It is also useful if a weapon is already semi-auto and you just want to give it a custom sound without accidentally turning it into an automatic weapon.

Too lazy to type weapon names?

THIS IS OPTIONAL. You can still type weapon names manually as usual. However, I’ve made a Python script that extracts weapon names directly from the game config. For this to work, teams must be set directly in the main config—not in separate team configs. Make sure to disable “Link To Team Configs."

import json json_data = r""" copy paste the entire config and overwrite this """ data = json.loads(json_data) print("Team 1:") for weapon in data["team0UnlinkedInfo"]["availableWeapons"]: print(weapon["name"]) print("nTeam 2:") for weapon in data["team1UnlinkedInfo"]["availableWeapons"]: print(weapon["name"])

How to use this:

  1. Copy and paste the script. You can use an online interpreter like Online Python[www.online-python.com] or any similar site.
  2. Open your Game Configuration folder. It’s usually located at:
    AppDataLocalLowSteelRaven7RavenfieldSteamGameConfigurations
  3. Find the configuration file, right-click it and open with Notepad, Notepad++, or any text editor.
  4. Copy the entire configuration text and paste it into the triple-quoted section labeled `copy paste the entire config here` and overwrite it in the script.
  5. Run the script. The weapon names for Team 1 and Team 2 will be printed.

Credits

Huge thanks to PhantomBravo, for the concept of this project, his pointers, suggestions, and feedback throughout. Check out the original Universal Select Fire and his other workshop mods.

Gunshot audio clips are taken from S.T.A.L.K.E.R. Anomaly.