Skip to content

E:Z2-specific player animations#320

Merged
1upD merged 1 commit intoentropy-zero:ez2/mapbasefrom
Blixibon:ez2/feature/ez2-unique-player-anims
Mar 12, 2026
Merged

E:Z2-specific player animations#320
1upD merged 1 commit intoentropy-zero:ez2/mapbasefrom
Blixibon:ez2/feature/ez2-unique-player-anims

Conversation

@Blixibon
Copy link
Copy Markdown
Collaborator

@Blixibon Blixibon commented Jan 26, 2025

This PR integrates kicking, signal gestures, and pulse pistol reloading for Mapbase's playermodel legs and anim state improvements.

  • For playing the kick animation, the animation PLAYER_ATTACK3 plays ACT_GESTURE_MELEE_ATTACK2 as a firing animation in the anim state. Mapbase already adds PLAYER_ATTACK3 unused in the PLAYER_ANIM enum, and Mapbase implements ACT_GESTURE_MELEE_ATTACK2 as a kicking gesture in most animation models. The animation itself is dispatched in StartKickAnimation alongside the viewmodel's.
  • For kicking while displaying legs, m_flNextKickAttack is transmitted to the client so that it can pull the playermodel back while kicking. The same code also pulls back the arms while admiring gloves.
  • Signal gestures are done with calls to AddAnimStateLayer (effectively the player's version of AddGesture) at the same time the viewmodel animations are dispatched.
  • Pulse pistol reloading is integrated by adding a translation of ACT_HL2MP_GESTURE_RELOAD in the pulse pistol's activity table.

z33ky pushed a commit to z33ky/source-sdk-2013 that referenced this pull request Jun 11, 2025
@Blixibon Blixibon force-pushed the ez2/feature/ez2-unique-player-anims branch from a78469f to c5f543b Compare March 10, 2026 15:55
@Blixibon Blixibon marked this pull request as ready for review March 10, 2026 16:12
Copy link
Copy Markdown

@1upD 1upD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@1upD 1upD merged commit 84ed4d8 into entropy-zero:ez2/mapbase Mar 12, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants