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

Half-Life 25th Anniversary Update #190

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

sabianroberts
Copy link
Contributor

This PR merges some changes from the Half-Life 25th Anniversary Update. Changes include [but not limited to]:

  • Support for larger scale HUD on HD displays
  • Changes to view origin/angles
  • "Ghost shots" bug fix

Furthermore, a batch file was added so Windows developers and create the build files with ease.

Copy link
Owner

@YaLTeR YaLTeR left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to keep a pre-25th anniversary update build? In that case the changes should be under a new define.

@sabianroberts
Copy link
Contributor Author

Do we want to keep a pre-25th anniversary update build? In that case the changes should be under a new define.

Since there's no serverside changes here, I don't think a pre-25th anniversary build is needed. The most notable change here is the larger HUD which is only going to benefit players especially those on 1440p+ screens. Furthermore 99% of mods are fully compatible with the HL25 engine.

Unless AG's full mod package has its own "hud.txt" the one from the valve folder is used and the HUD scaling works correctly.

@tmp64
Copy link
Contributor

tmp64 commented Oct 26, 2024

Unless AG's full mod package has its own "hud.txt" the one from the valve folder is used and the HUD scaling works correctly.

It does and that file needs to be updated

image

@sabianroberts
Copy link
Contributor Author

Thanks for noting! My ag/sprites/hud.txt got deleted somehow 🤔

@larziwau
Copy link
Contributor

Do we want to keep a pre-25th anniversary update build? In that case the changes should be under a new define.

well we can create a branch for it?

@YaLTeR
Copy link
Owner

YaLTeR commented Nov 25, 2024

I think if two builds are needed then a define would be better to avoid having to update both versions of the code every time.

@sabianroberts
Copy link
Contributor Author

sabianroberts commented Dec 2, 2024

Somewhere in the code you could somehow get the EXE version of the game (CVAR_GET_FLOAT("version")?)and use strcmp to make an if statement where if version >= HL25, define HL25 and use #ifdef HL25 where applicable.

@Glitch31415
Copy link

just found AG, does it still not support the HL25 client?

@sabianroberts
Copy link
Contributor Author

@Glitch31415 the game works fully on the HL25 client but its codebase hasn't been updated to match Half-Life 1's new features such as the larger scale HUD.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants