momentum-mod / game

Momentum Mod - Standalone Source Movement Speedrunning (READ README)
https://momentum-mod.org
Other
525 stars 208 forks source link

Fix rockets not aiming at crosshair past 2000 units #1816

Open rellort1 opened 2 years ago

rellort1 commented 2 years ago

Describe the bug

For the right angle and hybrid angle, rockets that are fired at an object/wall more than 2000 units away are fired at the point 2000 units away instead of the wall the crosshair is pointing at.

How To Reproduce

  1. Open any map with a corridor longer than 2000 units. (preferably much longer than 2000 units)
  2. fire a rocket with right angle or hybrid angle.
  3. see that the rocket lands to the left of where you were aiming.

Issue Map

n/a

Expected Behavior

Rockets fired should be aimed at the crosshair so that the player does not need to compensate for the firing angle on long prefires. Maybe dont change the more than 200 requirement as that might mess with aiming on pogo/wallshots.

Operating System

Windows 10

Renderer

DX11 (default)

hexaflexahexagon commented 2 years ago

after talking to some rj players its unclear if this would be unanimously good or bad (e.g. changing the angle rockets go at for quints, throwing off visuals) so it should be added as yet another convar whenever implemented so people can test it.