Highlightable Autobuild Ghosts

This is the place to request new mods or give ideas about what could be done.
Rob_Factorio
Manual Inserter
Manual Inserter
Posts: 1
Joined: Tue Nov 07, 2023 6:06 pm
Contact:

Highlightable Autobuild Ghosts

Post by Rob_Factorio »

Hello!

I'm looking into creating my own mods for the game but with my limited knowledge it seems like this idea is out of my league. Basically, I want the mod to autobuild ghosts when they are highlighted by the player with a similar/same tool that is used by the copy function (drawable rectangle). The player also has to have the required resources in their inventory. If anybody feels like this isn't terribly complicated and they could send me in the right direction on how to make it myself that would be awesome, though my knowledge is very limited and I havent done anything beyond the tutorial mod on the wiki.

Thanks

User avatar
LCStark
Long Handed Inserter
Long Handed Inserter
Posts: 81
Joined: Thu Jan 28, 2021 5:04 pm
Contact:

Re: Highlightable Autobuild Ghosts

Post by LCStark »

You could check how raiguard did something similar in his Mouse-over Construction mod (https://mods.factorio.com/mod/MouseOverConstruction) and start from there. As for the drawable rectangle tool, check out the SelectionToolPrototype (https://lua-api.factorio.com/latest/pro ... otype.html). It might also be a good idea to find a mod using a similar selection thing to what you're trying to achieve and checking its code too. Good luck!

Qon
Smart Inserter
Smart Inserter
Posts: 2164
Joined: Thu Mar 17, 2016 6:27 am
Contact:

Re: Highlightable Autobuild Ghosts

Post by Qon »

The mod https://mods.factorio.com/mod/autobuild already exists.

Why the selection tool? Seems like a waste of time.
My mods: Capsule Ammo | HandyHands - Automatic handcrafting | ChunkyChunks - Configurable Gridlines
Some other creations: Combinassembly Language GitHub w instructions and link to run it in your browser | 0~drain Laser

Post Reply

Return to “Ideas and Requests For Mods”