Repository navigation
IW3 barrier clipping functionality - #241
Open
regenerance wants to merge 3 commits into
Open
regenerance wants to merge 3 commits into
regenerance wants to merge 3 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add
bg_removeBarriersSummary
This PR implements the
bg_removeBarriersdvar.When enabled,
bg_removeBarriersmodifies player collision behavior to allow clients to move through map barriers and player-clip volumes that would normally restrict movement.The implementation is intended to provide consistent barrier removal functionality while preserving required movement behavior such as ladder interaction.
Dvar
Default:
falseWhen enabled:
When disabled, normal game collision behavior is used.
Implementation
The player movement collision mask is adjusted while
bg_removeBarriersis enabled so that movement traces ignore the appropriate player-clip contents.Special movement cases that depend on the original collision mask, such as ladder detection and interaction, retain the required collision behavior.
Scope
This change only affects player movement collision while
bg_removeBarriersis enabled. The dvar is disabled by default and does not alter standard movement behavior unless explicitly enabled.Testing