View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005973||The Dark Mod||Coding||public||12.06.2022 19:42||21.06.2022 19:24|
|Product Version||TDM 2.10|
|Target Version||TDM 2.11||Fixed in Version||TDM 2.11|
|Summary||0005973: Change crouch state on key down with crouch toggle|
|Description||Some players have requested that toggle crouch happen on key press rather than key release, which would make it behave like Thief and other games. When using toggle crouch on key release, a noticeable delay before crouching can be felt if the player does not quickly tap the crouch key. This has felt like a bug to some players who have not realized that crouching happens on key release.|
(note: I cut this text from description of 0005962 by Daft Mugi)
|Steps To Reproduce||Start any mission with "toggle crouch" enabled.|
Press the crouch key ('X' by default) with half-second duration.
The crouch state changes when you release the key up, while ideally it should change when you press the key down.
|Tags||No tags attached.|
I looked through the patch provided by Daft Mugi at the linked thread.
I cut out a minimal change out of it and committed it in svn rev 9934.
Committed almost the whole patch by Daft Mugi in svn rev 9945.
The reason is that sliding down was slightly broken: if you decide to slide from standing position, you end up crouched after slide is over.
The relevant discussion starts here:
|12.06.2022 19:42||stgatilov||New Issue|
|12.06.2022 19:42||stgatilov||Status||new => assigned|
|12.06.2022 19:42||stgatilov||Assigned To||=> stgatilov|
|12.06.2022 19:42||stgatilov||Relationship added||related to 0005962|
|12.06.2022 19:48||stgatilov||Note Added: 0014886|
|12.06.2022 19:48||stgatilov||Status||assigned => resolved|
|12.06.2022 19:48||stgatilov||Resolution||open => fixed|
|12.06.2022 19:48||stgatilov||Fixed in Version||=> TDM 2.11|
|21.06.2022 19:24||stgatilov||Note Added: 0014913|