Skip to content

[CODE] sk_npc_head hardcoded to return 2x for combine soldiers #319

@meatspace

Description

@meatspace

Describe the bug

the headshot multiplier sk_npc_head is hardcoded for Combine Soldiers to 2x
https://github.com/ValveSoftware/source-sdk-2013/blob/0d8dceea4310fde5706b3ce1c70609d72a38efdf/sp/src/game/server/hl2/npc_combines.cpp#L213C1-L213C16
(code seems to be identical in mapbase)

Steps to reproduce

ent_create a soldier, use ent_text to see their health
try changing sk_npc_head value and shooting them to see it doesn't change from 2x

Expected behavior

sk_npc_head to not be hardcoded for soldiers

Additional context

Exact code found here on hl2:update steam discussion page:
https://steamcommunity.com/app/290930/discussions/2/133259227523941178/

i checked the default skill.cfg for base half life 2 and its default value is set to 3 so fixing this might have the unintended consequence of making the game easier?

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions