Git Product home page Git Product logo

Comments (8)

Batfoxkid avatar Batfoxkid commented on July 4, 2024

I need to figure out a method to block those, new workshop taunts are probably going to keep doing this.

from freakfortressbat.

MAGNAT2645 avatar MAGNAT2645 commented on July 4, 2024

There's also not important problem but anyways:
Is there any way to block catch_phrase while you're pressing E for normal RAGE or AMS?

I have Ness and he says "Okey" when you're trying to use PK Fire and etc. :D
So i want to know this can be fixed or not?

from freakfortressbat.

Batfoxkid avatar Batfoxkid commented on July 4, 2024

I did recently add catch_replace in development branch with can replace certain class voicelines instead of all of them, you can probably use it to block call for Medic sounds or make the voiceline appear on certain lines.

from freakfortressbat.

MAGNAT2645 avatar MAGNAT2645 commented on July 4, 2024

So, can you give an example of how to block "Medic!" voiceline for Ness?
I just don't want to hear "Okay" when he used PSI.

from freakfortressbat.

Batfoxkid avatar Batfoxkid commented on July 4, 2024
catch_replace
{
        "1"     "vo/null.mp3"
        "vo1" "vo/scout_medic01.mp3"
        "2"     "vo/null.mp3"
        "vo2" "vo/scout_medic02.mp3"
        "3"     "vo/null.mp3"
        "vo3" "vo/scout_medic03.mp3"
}

from freakfortressbat.

MAGNAT2645 avatar MAGNAT2645 commented on July 4, 2024

So i can have "sound_block_vo", "catch_phrase" and "catch_replace" ?

from freakfortressbat.

Batfoxkid avatar Batfoxkid commented on July 4, 2024

Yep, orders like this:
1st. catch_replace
2nd. catch_phrase
3rd. sound_block_vo

from freakfortressbat.

MAGNAT2645 avatar MAGNAT2645 commented on July 4, 2024

It's may be a little late but i found out that AddNormalSoundHook doesn't work (doesn't block any sound) if you use SND_CHANGEPITCH flag (with changed pitch var) and channel is SNDCHAN_VOICE.

You can test this using Resize Players plugin with cvar sm_resize_voices = 1.
If you change your size, your pitch changes too and then any AddNormalSoundHook (from other plugins) with Plugin_Stop or Plugin_Handled doesn't work so you still can hear class voices.

If you change your size back to normal (1.0) then SND_CHANGEPITCH flag isn't used so you don't hear any voices.
This surely works with any voices but idk about taunt voices.

from freakfortressbat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.