Page 1 of 1
Nuke it from orbit?
Posted: Sat Dec 21, 2024 8:04 pm
by zuben42
Is there such a mod that allows me to annihilate my factory from my space platform, stocked with nuclear rockets?
I ask because the idea came to me that it would be faster to just nuke my old Nauvis base than it would to deconstruct it and rebuild it, now that I've conquered the solar system and find my original design to be lacking in efficiency. I was hoping perhaps someone else had already had this thought and perhaps taken the initiative to make it so.
Thank you for your time, either way.
Re: Nuke it from orbit?
Posted: Sat Dec 21, 2024 9:52 pm
by eugenekay
I don't know of a Mod that will do this exactly.... the closest I can think of is
Orbital Ion Cannon; but even this would not let you auto-target Friendly forces.
Because I like chaos, here is a LUA snippet to try (no mods required!):
Code: Select all
/c local nauvis=game.get_surface("nauvis")
for chunk in nauvis.get_chunks() do
if math.random() > 0.99 then
nauvis.create_entity({name="atomic-rocket", position={chunk.x*32, chunk.y*32}, target={chunk.x*32,chunk.y*32}})
end
end
You can copy-paste this into the
Console to run. It will instantly deliver an Atomic Rocket to 1% of the "Chunks" which have been generated, which is fairly destructive to a factory. This
will cause a LOT of lag for about a minute in my testing; you may need to run it several times to get the desired effect.
Or, try a Deconstruction planner set to exempt Roboports, Power Poles, and Logistic Storage Chests.
Good luck!
Re: Nuke it from orbit?
Posted: Sat Dec 21, 2024 10:34 pm
by zuben42
Thank you!
I'll tinker around with this. Luckily it didn't lag quite so much as I thought, but unluckily my factory is a tad bit too expansive already for this and I'll need to cluster it somehow or just detonate every chunk if my computer can handle it.
- {7A8B6151-44D7-4B0E-83B4-F44861E5B986}.png (758.99 KiB) Viewed 246 times
Re: Nuke it from orbit?
Posted: Sat Dec 21, 2024 10:37 pm
by eugenekay
Excellent! You can change “0.99” to “0.95” to increase the Hit rate from 1% to 5%, or even lower/higher if you dare.