Half-Life 25th Anniversary Update
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.
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.
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
Thanks for noting! My ag/sprites/hud.txt got deleted somehow 🤔
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?
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.
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.
just found AG, does it still not support the HL25 client?
@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.
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
We've created HD+ CTF sprites for AGCTF and an update hud.txt - it is attached to this comment.