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
Highlightable Autobuild Ghosts
-
- Manual Inserter
- Posts: 1
- Joined: Tue Nov 07, 2023 6:06 pm
- Contact:
Re: Highlightable Autobuild Ghosts
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!
Re: Highlightable Autobuild Ghosts
The mod https://mods.factorio.com/mod/autobuild already exists.
Why the selection tool? Seems like a waste of time.
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
Some other creations: Combinassembly Language GitHub w instructions and link to run it in your browser | 0~drain Laser