Marder, halftracks & bren carrier - MG muzzle flash not visible when player raises head above ironsights

Issue #123 on hold
Colin Basnett created an issue

No description provided.

Comments (4)

  1. Matt Hands

    This isn't a bug, it's a specific piece of code in state ViewTransition, which hides the muzzle flash when gunner's head is raised above the sights. It is there in all the open vehicle MGs where you can raise your head like this above the gun.

    The function override comment reads "Hack - Turn off the muzzle flash in first person when your head is sticking up since it doesn't look right".

    It's not perfect, but better than the displaced, floating muzzle flash you'd see otherwise.

    May be possible to solve the muzzle position properly, but not quick or easy. Would need investigation and trial and error. Being realistic, I think this has to be a 'maybe' for a future release.

  2. Matt Hands

    In commit 7d3baa4 I've worked this code into generic functionality in DHMountedTankMGPawn. Does not change the problem or the hack-ish workaround; it just removes the need for identical function overrides in different vehicle classes. Now just set bHideMuzzleFlashAboveSights=true in def props. Noting it here just to keep track of where the code is.

  3. Log in to comment