This code alters the damage output from the Level 2 Barrel Mod
Focus Nozzle...
player.modav 001F565E 5340
...and numbers in that sort of range produce effects like this (with all the appropriate skills maxed out):
Now I can LARP as a Star Trek Away Team, scanning rocks and shooting to stun. The effect can also be achieved by boosting the Level 2 Internal Mod
Amplifier...
player.modav 001F50AA 5340
... which allows you to use an Equinox as a longer ranged stun rifle. I usually Overclock in that slot, though, and would prefer a hand phaser.
If you are confident you won't want to put a Focus Nozzle/Amplifier onto anything else doing regular damage, use player.setav instead, and the effect is permanent.
Fancy Novalight edition with same Focus Nozzle console hacking value 5340, oh, but look at that...
... a much stronger weapon, same output! EM Damage is absolutely capped by its own script, overlaying on top of everything else, which I believe was a very late decision in terms of game development. Maybe because you have to kill the dipshit Dragon Priests guarding the Word Walls, and they don't want you pick pocketing their stuff? Since going Stunning I have encountered several missions where sudden unexpected murder was required to proceed, the corpo Artifact exchange on Neon, for example. Surprising, that one, given that we are in the wrong and opening up on civilian employees! Make your mind up, Starfield, do pacifist companions give a shit or not? Why do I have to murder the CEO, why can't we, oh I dunno, come to mutually beneficial agreement at the end of a Negotiation, or him be impressed by my Leadership or be scared by my Intimidation, have a similar taste in Gastronomy and we go out to a fancy space restaurant instead, and so on and so forth. Skill tree, Starfield, you have one, with very specific point allocations that are functionally useless, it seems.