Ask on the SCP board
I think I will do that, but I'm going to see what I can jerry-rig first (which should also expose more things for me to ask I imagine).
Play around with $substitute, one of the most powerful and dangerous features in tabling!
From what I tried with substitute it seems like beams have the same issue they as when they are used as secondaries; namely the beam warm-up never triggers.
Or see if you can have the secondary launch an invisible missile that detonates instantly and spawns a beam with the 'spawn' flag.
That seems like it works quite well! I'll need to make sure I have a way to orient the spawn towards the target which I think I can do with targeting flags and such.
It works just as well for primaries!
Play Blue Planet's capship command missions and Lepanto's Battle Captains missions which handle beams (differently than you want to, but maybe in a way that's useful).
The Blue Planet one gave me the idea in the first place. I have not tried Lepantos yet, but will keep that in mind for further inspiration.
The things you said...
From what I've worked on with primary beams and gun energy it doesn't work as well as one would hope. The beam subtracts its '$energy consumed' value continuously throughout the lifetime of the beam which would allow the user to stutter shoot their beams at low energy which in my mind doesn't make sense for anti-cap beams.
However, I think if I combine yours and Battuta's ideas together I can make it work. I can make an instant tracer shot of sorts (It would need to be nontrivial so that the player obtains the correct lead indicator for the beam range) that can drain a large flat amount of energy and will spawn the beam accordingly. With luck the player wouldn't know any difference between that and just firing beams normally. That would also allow me to auto-aim the beam as well (I think/hope) since it seems that '$Autoaim FOV' doesn't work for beams.
If need be I will try out sexping a hard reload of sorts, but I will attempt the more optimistic approach first.
Thanks everyone for the suggestions and help so far!