Skip to content

Conversation

@AdamTadeusz
Copy link
Contributor

@AdamTadeusz AdamTadeusz commented Dec 12, 2024

Description

Fixes some issues with the viewmodel when switching to thirdperson and then back to first person.

Toolchain

  • Windows MSVC VS2022
  • Linux GCC Distro Native [Specify distro + GCC version]
  • Linux GCC 10 Sniper 3.0

Linked Issues

Issue 1: when switching to third person and back to first person, the third person muzzle flash for the gun that was active when in first person will be visible in first person until weapons are switched

Issue 2: when switching between weapons after coming back to first person, the weapon view model flashes briefly in the idle position before disappearing after which ACT_VM_DRAW correctly brings it up from below/side of the screen.

Issue 3: The primary attack animation breaks with continuous use.

Third person isn't a parity feature so I didn't bother to open issues for these, except for the third issue which this PR addresses but its more of a workaround I think.

…g to it and broken animations all when returning from thirdperson view
Copy link
Contributor

@brysondev brysondev left a comment

Choose a reason for hiding this comment

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

LGTM, gonna try your test cases before giving full approval.

@brysondev brysondev requested a review from a team December 22, 2024 14:34
brysondev
brysondev previously approved these changes Dec 22, 2024
Copy link
Contributor

@brysondev brysondev left a comment

Choose a reason for hiding this comment

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

LGTM

20241222_0939_H.264.mp4

@brysondev brysondev requested a review from a team December 22, 2024 14:43
@brysondev brysondev requested a review from a team February 24, 2025 11:18
@AdamTadeusz AdamTadeusz merged commit 89b10e5 into NeotokyoRebuild:master Feb 25, 2025
7 checks passed
@AdamTadeusz AdamTadeusz deleted the 114_thirdToFirstPersonViewModelFixes branch February 25, 2025 19:52
nullsystem pushed a commit that referenced this pull request Feb 25, 2025
…g to it and broken animations all when returning from thirdperson view (#830)

Co-authored-by: brysondev <bryson@brysondev.ca>
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.

Viewmodel flash when switching weapons after going back into first person

3 participants