Machine pistol (and shotguns) has no sound

Discussion in 'Bug Reports' started by D.D.D. Destroyer, Dec 14, 2014.

  1. D.D.D. Destroyer

    D.D.D. Destroyer Member Staff Member Moderator

    Messages:
    9,509
    Likes Received:
    111
    Trophy Points:
    0
    1. Have someone spawn with the machine pistol
    2. Stand near him
    3. Have him shoot machine pistol
    4. No gun sounds.

    Last I checked, the same applied to shotguns.
     
  2. Empty

    Empty Member

    Messages:
    14,912
    Likes Received:
    11
    Trophy Points:
    0
    Shotguns occasionally make mortar sounds.
    This is not a script issue as the script is correctly referencing the shotgun sound script as far as I can tell. I also encountered some bugs where shotguns would fire only one pellet for other players, but the normal amount if you're the one firing.
     
  3. D.D.D. Destroyer

    D.D.D. Destroyer Member Staff Member Moderator

    Messages:
    9,509
    Likes Received:
    111
    Trophy Points:
    0
    Candles said it's not his problem. We're fucked then, gg.
     
  4. Empty

    Empty Member

    Messages:
    14,912
    Likes Received:
    11
    Trophy Points:
    0
    I'll go over the scripts again then.

    EDIT: Sound scripts are definitely correct, shotguns only use one sound effect. It must be some kind of desync somewhere, maybe the weapon IDs are mismatched somewhere weird.
     
    Last edited: Dec 14, 2014
  5. D.D.D. Destroyer

    D.D.D. Destroyer Member Staff Member Moderator

    Messages:
    9,509
    Likes Received:
    111
    Trophy Points:
    0
    This is still a thing, and it's very irritating.
     
  6. ImSpartacus

    ImSpartacus nerf spec plz

    Messages:
    8,598
    Likes Received:
    7
    Trophy Points:
    0
    It's a model issue.

    I think Smithy said that he thought that the world model's fire animation directly links to a fire sound.
     
    Last edited: Jan 6, 2015
  7. Empty

    Empty Member

    Messages:
    14,912
    Likes Received:
    11
    Trophy Points:
    0
    Yeah the newish weapons don't have their sounds set up correctly, this is a pain in the ass to fix since you need the model source files and you can't change it with scripts.

    It actually boggles my mind nobody changed this when setting up weapons the first time, shit like this would make me pull my hair out if I was setting it up.
     
  8. RappemongO

    RappemongO Member

    Messages:
    446
    Likes Received:
    2
    Trophy Points:
    0
    I had a look at my qcs for the shotguns, but I think Smithy made new qcs when he compiled them.

    If it is a model issue, the only way to make it go away is to strip the mortar sound from the world animation fire sequence in the qcs and recompile the world model.

    Qc files does not survive decompile afaik, so unless Smithy (or maybe SVN?) has the ones he used, new ones will have to be made.
     
  9. Smithy

    Smithy Developer Staff Member Administrator

    Messages:
    333
    Likes Received:
    68
    Trophy Points:
    0
    I used yours with minor tweaks if I remember correctly. They're all in the modelsrc SVN if you have access to it. There are no sounds defined in the world model files, which may be the issue. When I get time I'll take a look into it. However I won't be able to test a fix to this by myself, since bots are broken.
     
  10. ImSpartacus

    ImSpartacus nerf spec plz

    Messages:
    8,598
    Likes Received:
    7
    Trophy Points:
    0
    Oh baby, I'm always available for your pleasure testing needs. :|ove: :|ove:
     
    Last edited: Jan 7, 2015
  11. Smithy

    Smithy Developer Staff Member Administrator

    Messages:
    333
    Likes Received:
    68
    Trophy Points:
    0
    So I tried to look into this and had no luck. The only thing that makes sense to me is that it's something on the code side of things causing this. All the models are compiled without weapon firing sounds. (Including pre-existing weapons)
     
  12. Lazybum

    Lazybum :D Staff Member Moderator

    Messages:
    4,827
    Likes Received:
    190
    Trophy Points:
    0
    What happens when you add it in anyway?
     
  13. D.D.D. Destroyer

    D.D.D. Destroyer Member Staff Member Moderator

    Messages:
    9,509
    Likes Received:
    111
    Trophy Points:
    0
    Ninja shotty is pretty crazy ._.
     

Share This Page