Carpet Bombing Script

Enhance your gameplay with these tools. This category is also the right place for tools useful for modders.
Mod databases, calculators, cheatsheets, multiplayer, scripts, libs and other useful stuff that is not strictly in-game mods.
eidolonFIRE_XI
Inserter
Inserter
Posts: 21
Joined: Wed Mar 04, 2015 9:38 pm
Contact:

Carpet Bombing Script

Post by eidolonFIRE_XI »

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: 5207
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: Carpet Bombing Script

Post by eradicator »

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
Contact:

Re: Carpet Bombing Script

Post by eidolonFIRE_XI »

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: 233
Joined: Mon Nov 21, 2016 5:25 pm
Contact:

Re: Carpet Bombing Script

Post by Sigma1 »

Does it work on Linux?
EDIT: Never mind just read the readme. Nice to see something fun that works on Linux.
she/they
NexGenration
Burner Inserter
Burner Inserter
Posts: 15
Joined: Fri Apr 27, 2018 9:26 pm
Contact:

Re: Carpet Bombing Script

Post by NexGenration »

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: 2905
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Re: Carpet Bombing Script

Post by darkfrei »

Why it isn't a mod?
eidolonFIRE_XI
Inserter
Inserter
Posts: 21
Joined: Wed Mar 04, 2015 9:38 pm
Contact:

Re: Carpet Bombing Script

Post by eidolonFIRE_XI »

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
Fast Inserter
Fast Inserter
Posts: 128
Joined: Thu Feb 08, 2018 8:25 am
Contact:

Re: Carpet Bombing Script

Post by shanemadden »

Post Reply

Return to “Tools”