If you want a build that works against EVERYTHING this is it.
The Wharthog:
This is your main self-defense measure. The insane ammo pool and total damage of the Mini-Shell Warthog will carry you through even the hardest encounters. Want something dead? Shoot it. Effective against both grunts and big targets like praetorians or oppressors. The only thing it struggles against is very far away targets, so let your teammates deal with those.
The 'Noob Tube':
The swarm cleaner. Whenever you see more than 6 bugs within a 6meter diameter shoot at the middle and nothing below a glyphid guard will survive the burn. Amazing at annihilating huge waves of grunts or mactera. (Note that with RJ250 mactera will survive the burn at around 5% hp). Even if damage was the only thing RJ250 did I would still consider taking it over clean sweep due to how much ammo this thing has, but when you consider the insane mobility this thing gives you, together with the plataform gun, you become a light weight scout able to reach the hardest of places with just one or two uses of this and a well placed platform. Long gone are the days of endlessly waiting for the scout to zip up to that nitra you marked ages ago or being left behind during the evacuation. The last hidden feature that not that many people knows is that RJ250 does so little direct damage that it won't be able to light teammates on fire and thus does close to zero friendly fire. Do not be afraid to shoot directly at another dwarf that is being overrun, it will save their lives in multiple occasions.
.
Mod explanations
"Warthog" Auto 210
T1 Supercharged Feed Mechanism: Your magazine is huge and further increasing it doesn't make much of a difference, you want to empty it as fast as possible to increase your DPS.
T2 Loaded Shells: Both the extra pellets and the extra ammo will give you a 25% increase to damage/ammo respectively. Once you consider you have some extra starting ammo in the form of the magazine size, the Loaded Shells come on top in total damage by a small margin and more DPS is always good.
T3 High Capacity Magazine: Both magazine upgrades are designed to increase your sustained DPS. However, if you are using the reload animation cancel trick (which consists of tapping ctrl when the magazine gets inserted into the gun and ending the animation early) reload speed increases don't have as much effect on you. You shouldn't be having recoil issues due to the build-in recoil reduction from Mini Shells.
T4 Tungsten Coated Buckshot: Yes, that 20% damage increase from Bigger Pellets seems tempting, but have you seen how fast this thing eats armor? Breaking armor also allows you to deal full damage, so it's a damage upgrade too and it lets you to easily deal with some annoying enemies like rollers or guards. Bigger Pellets is still a good choice though.
T5 Miner Adjustments: This is the 'Auto' from '"Warthog" Auto 210'. We are no longer talking about viability. This is about health. Turret Whip is great, but considering how much ammo this thing has you NEED that autofire if you don't want to develop carpal tunnel.
Overclock Mini Shells: It's the most total damage you can get for your buck. Tons of ammo for tons of bugs. The loss in damage is offset by the ammo increase and the recoil reduction is the cherry on top. You could use Light-Weight Magazines instead, but it's not as effective.
.
Deepcore 40MM PGL:
T1 Fragmentary Shell: More Aoe radius to hit more bugs, pretty self explanatory. It does just enough damage to one-shot grunts. HE Compound will allow it to one shot mactera spawn and slashers but will consideraly reduce the explosion area, making it considerably harder to kill entire swarms with one shot. No need for extra ammo.
T2 Larger Payload: Without this you can't one-shot grunts anymore, so take it and never look back.
T3 Incendiary Compound: The bread and butter of the build. It is imperative that you take it. It might look bad at a first glance but it's a huge damage spike that will allow it to kill so many things that it otherwise couldn't. Never go without it.
T4 Nails + Tape: More radius to hit more bugs. We need as big of a radius we can get if we want to wipe out a whole swarm with a single shot.
T5 Proximity Trigger: I cannot express how much easier it is to aim with this mod. Aim towards the center of a swarm and it will always take a ton of bugs with it, even if you miss or shoot at the air. Especially useful against mactera that are usually really hard to hit and don't have walls nearby to trigger the explosion. It also has the upside of increasing your blast radius by 10%, what more is there to ask?
Overclock RJ 250: 70% more ammo, faster reloads AND insane mobility. One of the funnest overclocks in the game with a small damage penalty being the only downside. You'll still one-shot grunts and having almost double armor will make up for everything that doesn't die on the first hit. You can either fire twice at a mactera swarm or finish them off with the Warthog and save the ammo to kill 70% more grunts. If you don't like fun and would prefer another more damaging overclock go with Clean Sweep. It has less ammo but it will definitely make any swam you shoot at stop existing. In my experience however, I have more trouble with multiple small groups of glyphids than with huge swarms, so I value the extra ammo of RJ250 over the raw power of Clean Sweep.
.
Turret
Pick whatever you like the most, it won't affect the build much.
.
Consumable
Lures: Plasma grenades are just worse PGL shots and mines, while alright and can save you some PGL ammo, don't help as much as lures do. If you feel like you are at risk of being overrun or need some breathing space chuck a lure as far as you can within your line of sight. Wait for a bunch of bugs to gather in the area and blast them with your grenade launcher. Depending on how it goes you might be able to do this multiple times before the lure goes down.