Skip to content

Play light_anim values outside cockpit view #16

@BC46

Description

@BC46

w0dk4 once came up with the following patch for FL.exe to allow the light_anim entries of guns to play:

0x12D132, 5F 5E -> EB 6D
0x12D052, 0F 84 49 01 00 00 -> 90 90 90 90 90 90
0x12D0F6, 5B -> 53
0x12D0F9, 03 -> 02
0x12D100, CB -> CA

It works. However, there is an issue with this, namely that it forces the flash particles to play when the player is in first person mode. Seeing all these flash particles play so close to your view can be very annoying. Moreover, with w0dk4's patch the light_anim entries only play for guns fired by the player. So whenever an NPC fires their guns, it won't show any lights. I think these issues can be resolved using some hooks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions