Changing Custom Sounds Based on Class

Discussion in 'Off Topic' started by Digaag Wa Riz, Sep 15, 2013.

  1. Digaag Wa Riz

    Digaag Wa Riz L3: Member

    Messages:
    121
    Positive Ratings:
    83
    Question,

    Say I have a custom hitsound. Could I go about changing the hitsound based on the class I am playing with currently? If I go scout then the hitsound would be different than the hitsound when playing as a sniper. I think it can be changed using the class cfg files, but that means there needs to be a way to change a sound with a console command since they are class scripts.
     
  2. Digaag Wa Riz

    Digaag Wa Riz L3: Member

    Messages:
    121
    Positive Ratings:
    83
    So I'm bumping this thread because I regained interest in being able to accomplish this recently. So there are some files in the tf2 "resource/scripts/" folder which specify a certain audio file to play when a certain events takes place. I want to know if there's a way to make the audio files that play depend on the class I am playing currently.