Skip to content

Conversation

@Bitl
Copy link
Contributor

@Bitl Bitl commented Dec 29, 2025

Description

For EP2-based mods, func_tank entities require the mapper to define an ammo type by its name in order to be used. Before this, however, func_tank originally had 3 separate, hardcoded, ammo types, Large, Medium and Small. All of which represented different HL2 Ammo types: AR2, SMG1 and Pistol respectfully. This PR restores these ammo types while not breaking compatibility, by using them as replacements for the ammo type variable if it is invalid.

@Bitl Bitl changed the title [HL2] Improve func_tank compatibility with older maps [HL2 Episodic] Improve func_tank compatibility with older maps Dec 29, 2025
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.

1 participant