Search found 9 matches

by PrimeEagle
Tue Nov 15, 2022 6:44 am
Forum: Modding help
Topic: Resource Generation and Tile Restriction
Replies: 0
Views: 361

Resource Generation and Tile Restriction

Does anyone know how to use the newer "resource_autoplace" method of resource generation along with the tile_restiction property? It seems like the newest way to generate resources is with "resource_autoplace" instead of using peaks, but it doesn't seem to support tile_restrictio...
by PrimeEagle
Sat Oct 29, 2022 12:54 am
Forum: Modding help
Topic: Mining In a Line
Replies: 6
Views: 960

Re: Mining In a Line

That's great, thanks!
by PrimeEagle
Fri Oct 28, 2022 9:33 pm
Forum: Modding help
Topic: Mining In a Line
Replies: 6
Views: 960

Re: Mining In a Line

If you really wanted, you could make invisible companion drills that your mod places next to the center drill automatically. The effective zone would be the sum of the squares then. The side drills could have their result item placement vectors set to output on the center drill's belt, and they all...
by PrimeEagle
Thu Oct 27, 2022 11:28 pm
Forum: Modding help
Topic: Mining In a Line
Replies: 6
Views: 960

Mining In a Line

I know the mining radius of miners can be adjusted, but can anyone think of a way to make a miner mine in a line in a single direction? For example, the miner mines the tile underneath it plus several tiles in a line in one direction only.
by PrimeEagle
Wed Oct 19, 2022 3:59 pm
Forum: Modding help
Topic: How Does Power and Signal Transfer Work?
Replies: 1
Views: 419

How Does Power and Signal Transfer Work?

I'm trying to understand how to mod circuit signal transfer and electricity. For example, for making new types of power poles or to make wireless versions of electricity and circuit signals. I'm a little unclear on how this works or where to start. Any recommendations for a tutorial or an overview o...
by PrimeEagle
Thu Oct 13, 2022 1:33 am
Forum: Modding help
Topic: Adding Sprite to Entity?
Replies: 6
Views: 975

Re: Adding Sprite to Entity?

constant-combinator has 4 directions that you need to define. Here is an example for north. data.raw["constant-combinator"]["constant-combinator"].sprites.north = { layers = { { filename = "__base__/graphics/entity/combinator/constant-combinator.png", frame_count = 1, ...
by PrimeEagle
Thu Oct 13, 2022 12:48 am
Forum: Modding help
Topic: Adding Sprite to Entity?
Replies: 6
Views: 975

Re: Adding Sprite to Entity?

DaveMcW wrote: ↑
Thu Oct 13, 2022 12:40 am
What is the Prototype type of your entity? They all have different graphics requirements.
It's a variation of constant-combinator.
by PrimeEagle
Thu Oct 13, 2022 12:27 am
Forum: Modding help
Topic: Adding Sprite to Entity?
Replies: 6
Views: 975

Re: Adding Sprite to Entity?

It is defined as data.raw["utility-sprites"]["default"].indication_arrow.filename = "__core__/graphics/arrows/indication-arrow.png" If you want to use it in 4 rotations, you will have to copy and rotate the file in an image editor. I found the definition, but I'm not s...
by PrimeEagle
Wed Oct 12, 2022 9:53 pm
Forum: Modding help
Topic: Adding Sprite to Entity?
Replies: 6
Views: 975

Adding Sprite to Entity?

How would I add the yellow input/output arrows from Decider Combinators to my own entity and icon? I looked at the vanilla Decider Combinator definitons and didn't see anything in there.

Go to advanced search