Skip to content

Half-Life 25th Anniversary Update#190

Open
sabianroberts wants to merge 10 commits into
YaLTeR:masterfrom
sabianroberts:hl25
Open

Half-Life 25th Anniversary Update#190
sabianroberts wants to merge 10 commits into
YaLTeR:masterfrom
sabianroberts:hl25

Conversation

@sabianroberts

@sabianroberts sabianroberts commented Oct 25, 2024

Copy link
Copy Markdown
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

@YaLTeR YaLTeR left a comment

Copy link
Copy Markdown
Owner

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.

Comment thread .GENERATE WINDOWS BUILD FILES.BAT Outdated
@sabianroberts

Copy link
Copy Markdown
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

tmp64 commented Oct 26, 2024

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor Author

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

@larziwau

Copy link
Copy Markdown
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

YaLTeR commented Nov 25, 2024

Copy link
Copy Markdown
Owner

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

sabianroberts commented Dec 2, 2024

Copy link
Copy Markdown
Contributor Author

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
Copy Markdown

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

@sabianroberts

Copy link
Copy Markdown
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.

@sabianroberts

sabianroberts commented Jul 12, 2025

Copy link
Copy Markdown
Contributor Author

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.

20FB07~1

sprites.zip

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