
An armor-powered energy rifle with shock combos: fire a plasma orb, shoot it with a bolt, and watch it go supernova.
The Shock Lance is a sci-fi energy gun that fires fast glowing bolts and slow plasma orbs. Hit an orb with a bolt mid-flight and it detonates in a huge purple shock combo that flattens trees, scorches the ground and wipes out nests. This weapon needs no ammo: the gun runs straight off your suit's battery and generator power, so you can keep blasting as long as your armor can keep up. It's a great addition to any Factorio weapons arsenal, and it pairs perfectly with other WePlay guns like the Tornado Gun.
How it works
- Shoot: fires a glowing bolt that hits the first enemy in its path.
- Right-click (or G): launches a plasma orb that pops on contact with enemies.
- Shock combo: hit a flying orb with a bolt for a supernova blast. Orbs fly up to 100 tiles, so long-range combos are on the table.
- No ammo: it runs on your armor's batteries and generators.
- 100 kW while selected
- 1.5 MJ per bolt or orb
- 5 MJ per shock combo
- The bar under the ammo slot shows your charge.
- Unlock: Shock Lance research, after Laser and Military 3. Laser damage and shooting speed research boost it too.
Map settings
All of these can be changed mid-game.
| Setting | Default | Range |
|---|---|---|
| Plasma orb diameter | 2 tiles | 0.5 – 6 |
| Plasma orb travel distance | 100 tiles | 20 – 300 |
| Shock combo explosion radius | 7 tiles | 2 – 25 |
| Damage multiplier | 1x | 1x – 4x |
| Friendly fire (hurts you, teammates and your buildings) | On | On / Off |
| Shock combos clear trees and rocks | On | On / Off |
Compatibility
- Made for Factorio 2.1.
- Space Age is optional.
- Alt fire defaults to right-click, which Factorio also uses for mining. Rebind it under Controls if that gets in the way.
Credits
- Inspired by the Shock Rifle and its shock combo from Unreal Tournament. This is a fan tribute and is not affiliated with or endorsed by Epic Games.
- The gun and charge canister icons were made with AI image generation (Grok).
- The bolt, plasma orb, supernova explosion and crater effects were made for this mod.
- Sounds were built from Envato Elements assets ("Laser Gun 1", "Laser" and "Space Laser"), with the combo boom layered with a sub-bass thump and rumble made for this mod. The sound files are used under the Envato Elements licence and are not covered by the Unlicense.
Source
Code released under the Unlicense: https://github.com/afewvowels/WePlayShockLance
More WePlay mods
Love blowing things up? The Shock Lance has some friends:
- WePlay: Tornado Gun: fire tornadoes that suck up biters, spin them through the sky and slam them back down. Perfect for herding a swarm into one spot... right before you drop a shock combo on it. 🌪️
- WePlay: Bubble Gun: rather not blow things up? Spray a fan of soap bubbles that traps biters, nests and worms and floats them away to become someone else's problem. No damage, no corpses, just squirming biters drifting off into the sky. 🫧
- WePlay: Personal Tesla Defense Equipment: a 2×2 armor module that automatically fires chain lightning at nearby enemies, jumping from target to target while you get on with building. Its custom lightning logic makes bolts thrash, fork and follow moving targets, drawn with custom-made sprites in layered white, ice, blue and violet. Space Age optional. ⚡
There's a whole menagerie of WePlay mods to explore: trains and taxis, vehicles, armor equipment, logistics tweaks and more. Browse them all on my mod portal page!