Search found 10 matches

by rolaca11
Mon Jan 25, 2021 10:34 am
Forum: Releases
Topic: Version 1.1.16
Replies: 3
Views: 7364

Re: Version 1.1.16

How far is the stable release from here? Are you planning any more features, or just mainly bug fixes?
by rolaca11
Tue Jan 19, 2021 8:22 pm
Forum: Modding interface requests
Topic: Field(s) to determine tile variation
Replies: 4
Views: 1126

Re: Field(s) to determine tile variation

@Moderation: Imho this is an interface request. Sorry, didn't find the topic Just the variation isn't sufficient though. You'd also need to know the coordinates of the other tiles that belong to the same "square". That's what I meant by the "red boxes and blue/green numbers" part
by rolaca11
Tue Jan 19, 2021 1:51 pm
Forum: Modding interface requests
Topic: Field(s) to determine tile variation
Replies: 4
Views: 1126

Field(s) to determine tile variation

TL;DR Field(s) in LuaTile that returns which variation the given tile belongs to. What ? With a couple of LUA commands, I can collect all the charted and visible chunks on the map and tiles in those chunks. I can also gather which type the tile belongs to. The missing part is to know which variatio...
by rolaca11
Fri Dec 11, 2020 11:15 pm
Forum: Modding help
Topic: Has tile been discovered? Is it currently visible?
Replies: 16
Views: 3346

Re: Has tile been discovered? Is it currently visible?

Just to be sure... you do know about take_screenshot but are trying to do it on a per-tile basis because $reasons right? They are trying to build a graphics driver for a headless server. exactly, thanks for the suggestion btw :D I also tried running the non-headless version on a server, but handlin...
by rolaca11
Fri Dec 11, 2020 9:44 pm
Forum: Modding help
Topic: Has tile been discovered? Is it currently visible?
Replies: 16
Views: 3346

Re: Has tile been discovered? Is it currently visible?

This turned out to be not true. The existance of variations was never in question. Just look at the graphic files. The only question is if you can access them at runtime, which i said i think you can't. in my output I see grass-1,2,3,4, etc and for other types as well Those are different prototypes...
by rolaca11
Fri Dec 11, 2020 11:32 am
Forum: Modding help
Topic: Has tile been discovered? Is it currently visible?
Replies: 16
Views: 3346

Re: Has tile been discovered? Is it currently visible?

Just to be sure... you do know about take_screenshot but are trying to do it on a per-tile basis because $reasons right? They are trying to build a graphics driver for a headless server. exactly, thanks for the suggestion btw :D I also tried running the non-headless version on a server, but handlin...
by rolaca11
Thu Dec 10, 2020 10:04 pm
Forum: Modding help
Topic: Has tile been discovered? Is it currently visible?
Replies: 16
Views: 3346

Re: Has tile been discovered? Is it currently visible?

I'm trying to write a script that can take screenshots on the server-side. Sidenote: As far as i am aware the api does not allow runtime access to tile variations. Thus by getting just the tile type you won't be able to get a correct representation of the map as the players see it. All of these are...
by rolaca11
Thu Dec 10, 2020 7:57 pm
Forum: Modding help
Topic: Has tile been discovered? Is it currently visible?
Replies: 16
Views: 3346

Re: Has tile been discovered? Is it currently visible?

I'm trying to write a script that can take screenshots on the server-side. Sidenote: As far as i am aware the api does not allow runtime access to tile variations. Thus by getting just the tile type you won't be able to get a correct representation of the map as the players see it. All of these are...
by rolaca11
Thu Dec 10, 2020 7:56 pm
Forum: Modding help
Topic: Has tile been discovered? Is it currently visible?
Replies: 16
Views: 3346

Re: Has tile been discovered? Is it currently visible?

I'm trying to write a script that can take screenshots on the server-side. I can get the tiles that are at a given location, but I have no idea if they are visible to anyone, or if they have been discovered. game.surfaces[1].getTile(x,y) will return the tile if it has been generated, but how can I ...
by rolaca11
Thu Dec 10, 2020 4:31 pm
Forum: Modding help
Topic: Has tile been discovered? Is it currently visible?
Replies: 16
Views: 3346

Has tile been discovered? Is it currently visible?

I'm trying to write a script that can take screenshots on the server-side. I can get the tiles that are at a given location, but I have no idea if they are visible to anyone, or if they have been discovered. game.surfaces[1].getTile(x,y) will return the tile if it has been generated, but how can I k...

Go to advanced search