Browsing PAC3's section
← Back to ACE
πŸ”

Mirrored article

This page is synced automatically from wiki.pac3.info (last synced 3 hours ago). Edits made here will be overwritten on the next sync β€” contribute on the source wiki instead.

Replacing Weapon Sounds

Replacing Weapon Sounds

πŸ“ TutorialUpdated 2 weeks agoβ€’5 views
tutorial , sound Replacing weapon sounds Soundcripts You can modify weapon sounds using Soundscripts, which the Source Engine uses and the PAC sound part allows to use them to replace sounds. Read mor

tutorial ,
sound

Replacing weapon sounds

Soundcripts

You can modify weapon sounds using Soundscripts, which the Source Engine uses and the PAC sound part allows to use them to replace sounds.
Read more on Soundscripts in the Valve Developer Community: https://developer.valvesoftware.com/wiki/Soundscripts

Finding Soundcripts

You can browse the list of soundscripts by double-clicking, expanding, the game sounds category in the PAC asset browser.

HL2 stuff is in the gmod wiki https://wiki.garrysmod.com/page/Common_Sounds but add-on weapons' soundscripts have to be found in game sounds.

Note that some weapon bases, like M9K, don't work in a way that allows PAC to override soundscripts.

Using Soundcripts

The event which handles this best is animation_event, with β€œfind” attack primary . Most add-on weapons don't have special reload sounds played in third person, but one can use the β€œfind” reload to play a new one if there is no reload sound.

The soundscripts' activation condition depends on which one it is e.g. Weapon_Pistol.Single is when the pistol fires a shot, while Weapon_Pistol.Reload is when you reload it. They have to be activated properly to take effect and modify the right sound.

It is though not recommended to replace reloading sounds for compound reload sequences like those of revolvers and shotguns, since overriding soundscripts requires the sound part to activate at the same time as the original, and the exact timings aren't known in PAC. As such, playing the muted soundscripts in a loop that is not activated by any event could cause issues.

Procedure

[ ]
[ ]
[ ]
[ ]

Was this article helpful?

See More

Discussion(0)

No comments yet. Be the first to ask a question!

Have a question? Sign in to join the discussion.