demoparser icon indicating copy to clipboard operation
demoparser copied to clipboard

How to detect when the player presses the jump key? I tried to get the jump related fields, but I couldn't detect the jump.

Open L1mit1337 opened this issue 4 months ago • 1 comments

I'm working on the script to visualize mouse / keyboard strokes,The only problem now is that the jump key cannot be detected. I used the function parseTicks to try to get the following fields such as jump_until jump_velo jump_time_ms old_jump_pressed The only one that has some effect is old_jump_pressed, but it can only detect whether jump is pressed. After pressing it once, its value is always true

L1mit1337 avatar Aug 11 '25 03:08 L1mit1337

@LaihoE bumping, in case you missed it Same issue here, tried everything @L1mit1337 did, cannot parse a tick/event when a player jumps

amorijs avatar Sep 25 '25 23:09 amorijs

@L1mit1337

parser.parse_events_with_player_props(
   demo_path,
   &["player_jump"],
   &["X", "Y", "Z"],
)

K4leri avatar Nov 20 '25 04:11 K4leri