Skip to content

Conversation

@horiuchii
Copy link
Contributor

@horiuchii horiuchii commented Nov 28, 2025

Description

This PR simply enables detail shapes for all games, which also includes detail prop swaying and avoidance.
I'm unsure why this was never enabled for all games, nothing seems to be noticeably incorrect or bad after some basic testing in TF2.

I also updated the defaults for the CVars added to match the ones found in Day of Defeat: Source so that the new features can take effect.

#include "tier0/valve_minmax_on.h"

#if defined(DOD_DLL) || defined(CSTRIKE_DLL)
#if defined(DOD_DLL) || defined(CSTRIKE_DLL) || defined(TF_CLIENT_DLL)

Choose a reason for hiding this comment

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

Why not just remove the #ifdef, and have it enabled for all games? I don't see any reason to not have it in HL2DM (and I doubt it'll break HLDMS any further).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated the PR to do this instead

@horiuchii horiuchii changed the title Allow TF2 to use detail prop shapes & update detail prop cvar defaults Allow all games to use detail prop shapes & update detail prop cvar defaults Nov 30, 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.

2 participants