Use a templating language to generate the hud.txt and weapon_*.txt files #6

Open
opened 2026-04-18 00:32:06 +00:00 by AmbientImpact · 0 comments
AmbientImpact commented 2026-04-18 00:32:06 +00:00 (Migrated from codeberg.org)

I've used Jinja for my Path of Exile 2 item filter, and it's stupidly fast:

https://gitlab.com/Ambient.Impact/path-of-exile-2-item-filter

This would make it a lot easier to rebuild/re-render sprites at different sizes so we could experiment with larger sprites. This is currently a pain in the ass due to having to edit the text files in addition to the makefile.

Another bonus would be that we could easily generate JSON HUD configuration for the Unified SDK from the same shared data: https://github.com/twhl-community/halflife-unified-sdk/blob/master/docs/features/hud-sprite-system.md

I've used Jinja for my Path of Exile 2 item filter, and it's stupidly fast: https://gitlab.com/Ambient.Impact/path-of-exile-2-item-filter This would make it a lot easier to rebuild/re-render sprites at different sizes so we could experiment with larger sprites. This is currently a pain in the ass due to having to edit the text files in addition to the `makefile`. Another bonus would be that we could easily generate JSON HUD configuration for the Unified SDK from the same shared data: https://github.com/twhl-community/halflife-unified-sdk/blob/master/docs/features/hud-sprite-system.md
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
unforeseen-consequences/hud#6
No description provided.