-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Arc Cannon charge effect fixes #862
Arc Cannon charge effect fixes #862
Conversation
cc @Masterliberty @ASpoonPlaysGames (as you are the only other people that edited the file outside of the Respawn original) |
Extra footage of the effect not going away properly: |
If the changes belong together feel free to put them in the same PR. If they can be separately tested, making separate PRs is preferred as smaller changes tend to get merged faster (and you get higher contribution stats as well hehe :P) |
Hmm, i think im gonna include it in this one. Seems fitting since they're both charge effect related changes |
Heres how the extra effect looks like without the capacitor bug fix: It doesn't disappear but it still looks off without it |
bump, since i noticed that this doesn't have any labels |
Good catch, added them now, thanks <3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code is very simple actually, i'm personally in favor of merging without testing.
Fixes the Arc Cannon's charge effect disappearing if you tried fanning it while using the "capacitor" mod, by making the effect turn off when its not charging. This is also how it worked in Titanfall 1.
Oddly enough, theres code thats seemingly supposed to do this in
_arc_cannon.nut
but it doesn't seem to work properly.Before:
Titanfall.2.2024-09-02.19-51-43.mp4
After:
Titanfall.2.2024-09-02.19-53-34.mp4
How to test:
give mp_weapon_arc_cannon capacitor
)Without this pr, if you stop charging the weapon, the effect wouldn't turn off. This also means that if you tried fanning it like you would with the charge rifle, the effect would eventually run for too long and disappear.
With this pr, the effect turns off when not charging as expected.
Edit: Also adds an extra unused charge effect. See below