Skip to content

Onground debug#567

Open
Pinsplash wants to merge 5 commits into
YaLTeR:masterfrom
Pinsplash:onground
Open

Onground debug#567
Pinsplash wants to merge 5 commits into
YaLTeR:masterfrom
Pinsplash:onground

Conversation

@Pinsplash

Copy link
Copy Markdown

Since we recently learned you can manipulate onground, a bit of help with that.

If bxt_hud_entity_info_mode is 1, bxt_hud_entity_info will show info for the ground entity instead of the one under the crosshair and put a white square on it like how bxt_hud_useables does.

bxt_hud_selfgauss
* 2 and below show singleplayer behavior
* 3 and above show multiplayer behavior
* Even numbers show coordinates of line traces
* All reasons for failing to selfgauss are now shown
* Threshold translated to time value, more intuitive
* Hit group display may have been broken before, definitely works now

to fix bxt_hud_selfgauss not working correctly, one condition was removed from ServerDLL::TraceLine. this needs to be removed or else the 2nd and 3rd line traces incorrectly say they hit an object at 0, 0, 0.

since the condition was added to avoid a crash when playing a demo in bxt_hud_entity_info, all places that used a trace involving the player will now exit harmlessly if the player entity doesn't exist
This reverts commit afc8bba.

oops
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