[0.15] Allow tile array for "transition_merges_with_tile"

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
User avatar
Arcitos
Inserter
Inserter
Posts: 38
Joined: Sat Dec 03, 2016 1:50 pm
Contact:

[0.15] Allow tile array for "transition_merges_with_tile"

Post by Arcitos »

Dear devs,

For me one of the most appreciated 0.15-features is the new possibility for tiles to merge transitions with specified neigbors ("transition_merges_with_tile"). This is really cool! I am going to use this for smoother tile transitions in my asphalt roads mod.

Unfortunately, "transition_merges_with_tile" accepts only one specific string parameter is at any given time, but in my case there are about 20 different tiles that may share their transitions. Using only one tile is just not enough in this case. Therefore i suggest a modification of "transition_merges_with_tile" to allow handing over an array of tiles, thus allowing tile transitions with any number of different tiles.

Is this proposal feasible?

Greetings,
Arcitos
User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12889
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: [0.15] Allow tile array for "transition_merges_with_tile"

Post by ssilk »

No idea, what you are talking about, but I move it to the right board. :)
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
User avatar
Arcitos
Inserter
Inserter
Posts: 38
Joined: Sat Dec 03, 2016 1:50 pm
Contact:

Re: [0.15] Allow tile array for "transition_merges_with_tile"

Post by Arcitos »

Thanks ssilk, i wasn't sure about the right board ;)

The new lua parameter specifying the merging of transitions of two different kinds of tiles was initially mentioned in fff-179. Currently, this parameter accepts only one single string (The name of the tile with which the transitions are merged). My suggestion is to permit handing over of a string array to this parameter. This will allow merging of transitions with not only one but any kind of tiles (this would be especially good for mods with a lot of different tiles).

Greetings,
Arcitos
posila
Former Staff
Former Staff
Posts: 5448
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.15] Allow tile array for "transition_merges_with_tile"

Post by posila »

Hi, transition_merges_with_tile is a hack to solve particular problem our artists had, and it is more likely it will be replaced by some proper solution than extended upon.

Perhaps, the name of the property is misleading. When transitions are being resolved for rendering, all tiles that have transition_merges_with_tile set, are substituted for the tile they should merge with. As a result hazard-concrete-left merges with hazard-concrete-right even if there is no normal concrete between them or around them. So if you have tile A, B, C, D, E and you want them all to merge transitions, that is already possible. If you want to merge {A, B}, {D, E}, and {B, C, D} that is not possible.
User avatar
Arcitos
Inserter
Inserter
Posts: 38
Joined: Sat Dec 03, 2016 1:50 pm
Contact:

Re: [0.15] Allow tile array for "transition_merges_with_tile"

Post by Arcitos »

Hi posila,

thanks for your explanations!

That helps me alot, as it was my intention to merge transitions of a set of tiles.
Post Reply

Return to “Modding interface requests”