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

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

Open
meatspace opened this issue Aug 29, 2024 · 2 comments
Open

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

meatspace opened this issue Aug 29, 2024 · 2 comments
Labels
Bug Something isn't working

Comments

@meatspace
Copy link

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?

@meatspace meatspace added the Bug Something isn't working label Aug 29, 2024
@mapbase-source mapbase-source deleted a comment Aug 29, 2024
@Yankumo-Koishi
Copy link

Yankumo-Koishi commented Aug 29, 2024

Not sure if it really counts into bug, I think if it's gonna be chnaged, we should have a way to toggle it on/off

@meatspace
Copy link
Author

yes its clearly intentional. i should not have not given it the bug label, thats my mistake.

im simply bringing this to attention and not sure if their is a fix without breaking the difficulty

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants