Redone.
Beat works with v5d.
No more desync issue.
New stuff, change in suggestion scope.
Old version of first post
Let us refer to Core Altfires as "FunctionFire"s or "FuncFire."
Let's say you want to make a mod that grants different functionality to Altfire and rebind FuncFire to a different key.
(With Megaman11 a thing, a mod that implements the gears comes to mind...)
It's a pain.
But it doesn't have to be.
This first file is the suggestion itself. The recode in some example weapons which actually should exhibit no differences.
https://allfearthesentinel.net/zandronum/download.php?file=corealtfirerecode3h.pk3
But with this recode in place, we can do some interesting modding.
This example file (add after recode) rebinds FuncFire to User1 and turns altfire into speed gear.
https://allfearthesentinel.net/zandronum/download.php?file=altfireisspeedgear3.pk3
Pretty small file, huh?
This example file is bigger.
It has classes.
Standard Megaman lets you do FuncFire with Altfire or User1.
MegamanBuster lets you do MegaBuster with AltFire and FuncFire with User1. Unfortunately, getting weapons to do this right is still kind of a pain. Hopefully less of a pain.
MegamanSpeed is just the Mega from the speed gear example file.
Incredibly, these all can coexist just fine thanks to the recode.
https://allfearthesentinel.net/zandronum/download.php?file=altfireclasses3h.pk3
Minor highlight: recode eliminates the need for Altfire states on Charge Weapons. FuncFire check is just seperate from A_Refire. (Though as MetalBlade shows, it can still compliment it)
I may or may not complete the recode for all the v5c weapons. But I don't think you're gonna see much more than what I've done.
Edit:
Hold on, desync issue.
Edit2:
Fixed...
Working on a mass recode for all the weps
wanted to put in basic bot support, but that sadly requires updating all these files.
So here's those, also some minor updates in general, like better metalblade.
Old files
https://allfearthesentinel.net/zandronum/download.php?file=corealtfirerecode4.pk3
https://allfearthesentinel.net/zandronum/download.php?file=altfireisspeedgear4.pk3
https://allfearthesentinel.net/zandronum/download.php?file=altfireisbuster4.pk3
https://allfearthesentinel.net/zandronum/download.php?file=altfireclasses4.pk3