View Issue Details

IDProjectCategoryView StatusLast Update
0005069The Dark ModPhysicspublic05.12.2019 09:39
Reporterstgatilov Assigned Tostgatilov  
PrioritynormalSeveritytweakReproducibilityN/A
Status resolvedResolutionfixed 
Product VersionTDM 2.07 
Target VersionTDM 2.08Fixed in VersionTDM 2.08 
Summary0005069: Improve rope swinging
DescriptionRight 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 Reproduce1) Set com_fixedTic 1
2) Run rope training in the training mission, or swing some ropes on test/rope map.
TagsNo tags attached.

Activities

stgatilov

stgatilov

05.12.2019 09:39

administrator   ~0011892

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.

Issue History

Date Modified Username Field Change
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