Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Headless texture is used whilst player has a head attached #21

Open
Jigoku opened this issue Aug 5, 2023 · 0 comments
Open

Headless texture is used whilst player has a head attached #21

Jigoku opened this issue Aug 5, 2023 · 0 comments
Labels

Comments

@Jigoku
Copy link
Member

Jigoku commented Aug 5, 2023

Noticed this when using a head model with a thinner neck.
The headless texture has visible bloodstains baked into the texture, which becomes visible:
image

This probably needs another approach as for setting the player/diffuse.png texture whilst the player is alive; considering now that heads can now be changed independent of the model, the playermodel is always one of either:

  • "actors/player/female/headless"
  • "actors/player/male/headless"

    actors/player/player.cfg

    Lines 137 to 141 in 0da6da6

    if (|| [strcmp (mdlname) "actors/player/female/headless"] [strcmp (mdlname) "actors/player/male/headless"]) [
    iqmskin * "<dds>headless.png" "<dds>mask.png" 0.25 0.0 1 0
    ] [
    iqmskin * "<dds>diffuse.png" "<dds>mask.png" 0.25 0.0 1 0
    ]
@Jigoku Jigoku added the bug label Aug 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant