Carpet Bombing Script

Enhance Your Overall Game-Play.
Mod-Database, Calculators, Cheatsheets, Multiplayer, Scripts, Libs and Other Useful Stuff.
Post Reply
eidolonFIRE_XI
Inserter
Inserter
Posts: 21
Joined: Wed Mar 04, 2015 9:38 pm

Carpet Bombing Script

Post by eidolonFIRE_XI » Sun May 13, 2018 1:11 am

Couldn't stand manually clicking all the hives when launching artillery
so I wrote this quick tool.

You trace the border of the nest and it automates the mouse clicks in a grid.

It's not a game mod, nor does it touch any game memory. It strictly listens to mouse/key input and injects fake mouse movement.
This will not break achievements.

Image

Github: https://github.com/eidolonFIRE/CarpetBomb

User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 2046
Joined: Tue Jul 12, 2016 9:03 am

Re: Carpet Bombing Script

Post by eradicator » Sun May 13, 2018 1:54 am

Explosions are circles, so instead of a square grid you should use a hex grid for perfect damage coverage :P. Though...as that would be zoom level dependant.. .at what zoom level should it be used?

/me waits for autohotkey port

eidolonFIRE_XI
Inserter
Inserter
Posts: 21
Joined: Wed Mar 04, 2015 9:38 pm

Re: Carpet Bombing Script

Post by eidolonFIRE_XI » Sun May 13, 2018 2:05 am

eradicator wrote:Explosions are circles, so instead of a square grid you should use a hex grid for perfect damage coverage :P. Though...as that would be zoom level dependant.. .at what zoom level should it be used?

/me waits for autohotkey port

Zoom level is accounted for. Script listens to mouse wheel so when you first open map just zoom all the way out and the script will "sync" with the game's zoom level.

Good catch on the hex grid.

UPDATED!

User avatar
Sigma1
Fast Inserter
Fast Inserter
Posts: 224
Joined: Mon Nov 21, 2016 5:25 pm

Re: Carpet Bombing Script

Post by Sigma1 » Sun May 13, 2018 9:43 am

Does it work on Linux?
EDIT: Never mind just read the readme. Nice to see something fun that works on Linux.
My mods can be found on my homepage: https://sigma-one.gitlab.io/
They include nuclear and military stuff right now.

NexGenration
Manual Inserter
Manual Inserter
Posts: 3
Joined: Fri Apr 27, 2018 9:26 pm

Re: Carpet Bombing Script

Post by NexGenration » Mon May 14, 2018 6:39 am

eidolonFIRE_XI wrote:
eradicator wrote:Explosions are circles, so instead of a square grid you should use a hex grid for perfect damage coverage :P. Though...as that would be zoom level dependant.. .at what zoom level should it be used?

/me waits for autohotkey port

Zoom level is accounted for. Script listens to mouse wheel so when you first open map just zoom all the way out and the script will "sync" with the game's zoom level.

Good catch on the hex grid.

UPDATED!
how does this work with the alt zoom key? i use it alot because its the only way to zoom in to see my factory in radar view and place blueprints and stuff like that.

User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 1343
Joined: Thu Nov 20, 2014 11:11 pm

Re: Carpet Bombing Script

Post by darkfrei » Mon May 14, 2018 10:44 am

Why it isn't a mod?

eidolonFIRE_XI
Inserter
Inserter
Posts: 21
Joined: Wed Mar 04, 2015 9:38 pm

Re: Carpet Bombing Script

Post by eidolonFIRE_XI » Mon May 14, 2018 2:25 pm

darkfrei wrote:Why it isn't a mod?
Because I don't know how to write mods... also I didn't want to disturb vanilla.
This way I won't break achievements.

shanemadden
Inserter
Inserter
Posts: 29
Joined: Thu Feb 08, 2018 8:25 am

Re: Carpet Bombing Script

Post by shanemadden » Wed May 30, 2018 1:57 am


Post Reply

Return to “Tools”