Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Physics issues - Falldamage on slopes - Randomly "ducking" on slippery/icey surfaces #4

Open
Chrissstrahl opened this issue May 11, 2024 · 0 comments

Comments

@Chrissstrahl
Copy link
Member

Chrissstrahl commented May 11, 2024

  • Issue occures on all levels, in SP and MP, best observed in Multiplayer.
  • Occures on Windows and Linux.
  • Issue is also pressent on the Patched 1.1 gamex86.dll, but it does NOT do falldamage.
  • My guess is that falldamage is caused by bad code when using modern more accurate compilers.
  • Slopes are exactly angled 45° facing towards the player like a ramp
  • similar behaviour is occuring if player slides down a pipe build from a patch-mesh
  • slipery(SURF_SLICK) surfaces cause the player viewcam to randomly duck (swsglobe)

You might have to noclip exactly at the place or use: script $player origin "x y z"
Paste text with the middle mousebutton into the game console.

1. m9l1b-klingon_base
Origin: 2442 1458 485 - On level start jump on the pipes on the $player origin "2442 1458 485"
right side and try to get stuck between two pipes the view/player
cam starts to tilt and roll now crouching will kill you with falldamage
This is easy to reproduce

2. m5l2b-drull_ruins1
Origin: 11093 81 200 - On the angled Incubation Tube near the Lifts. $player origin "11093 81 200"
when sliding slowly down, this is difficult to reproduce

3. swsglobe (only g_gametype 1/multiplayer)
This is very easy to reproduce.
Link: https://www.gamefront.com/games/elite-force-2/file/sws-globe
File: SWSxmas.pk3
Mapname: swsglobe
Instructions: Approach the center platform on one of the 4 slopes, even if you aproach very slowly it will push you away on high speed after it killed you with falldamage.

Issue is probably related to "PM_WalkMove" or "void PmoveSingle (pmove_t *pmove)" and "pm->landedVelocity" in bg_pmove.c

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

No branches or pull requests

1 participant