View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005069||The Dark Mod||Physics||public||05.12.2019 09:36||05.12.2019 09:39|
|Product Version||TDM 2.07|
|Target Version||TDM 2.08||Fixed in Version||TDM 2.08|
|Summary||0005069: Improve rope swinging|
|Description||Right now rope swinging works in rather weird way. When player hits the button, an insane force is applied to the rope, but only for one frame. As the result, rope does not swing very well. Moreover, with high FPS (possible now with uncapped mode) the swinging is almost nonexistent, since the frame time is small, so the added impulse is low.|
|Steps To Reproduce||1) Set com_fixedTic 1|
2) Run rope training in the training mission, or swing some ropes on test/rope map.
|Tags||No tags attached.|
Done in svn rev 8437.
With the new system, player applies a much smaller force to the rope. But he is allowed to continuously apply it for up to 500 ms afterwards, as long as he keeps the button pressed. So the same impulse is not applied in single short instant, but distributed evenly across half a second. This makes swinging feel much better. Also, it is much more efficient: smaller impulse is enough to do the job.
Aside from cvar pm_rope_swing_impulse, a new cvar pm_rope_swing_duration is added. It controls the duration of the swing: the impulse is evenly applied through this duration.
|05.12.2019 09:36||stgatilov||New Issue|
|05.12.2019 09:36||stgatilov||Status||new => assigned|
|05.12.2019 09:36||stgatilov||Assigned To||=> stgatilov|
|05.12.2019 09:39||stgatilov||Note Added: 0011892|
|05.12.2019 09:39||stgatilov||Status||assigned => resolved|
|05.12.2019 09:39||stgatilov||Resolution||open => fixed|
|05.12.2019 09:39||stgatilov||Fixed in Version||=> TDM 2.08|