Search found 20 matches

by asdff45
Fri Oct 18, 2019 8:51 pm
Forum: News
Topic: Friday Facts #317 - New pathfinding algorithm
Replies: 59
Views: 4680

Re: Friday Facts #317 - New pathfinding algorithm

You are using the A* Algorithm for defining the final path.
Why are you not using a Jump Point Search instead, which should be faster than the A*?
by asdff45
Wed Oct 16, 2019 1:27 pm
Forum: Implemented mod requests
Topic: Adjust style.margin and style.padding to be more like in CSS
Replies: 1
Views: 143

Re: Adjust style.margin and style.padding to be more like in CSS

For tracking this request: It got implemented in 0.17.70 :)
by asdff45
Fri Jul 26, 2019 11:43 pm
Forum: Modding help
Topic: Stop Animation of entities
Replies: 0
Views: 75

Stop Animation of entities

Is it somehow possible to pause/stop the animation of an entity. Something, that splitters and assembly machines do. I am currently using an entity-with-force.
by asdff45
Fri Jul 26, 2019 12:07 am
Forum: Not a bug
Topic: [0.17.59] auto_center not available in LuaGuiElement::add()
Replies: 1
Views: 102

[0.17.59] auto_center not available in LuaGuiElement::add()

auto_center does not work, when defined in LuaGuiElement::add(). When defining auto_center=true in add(), and then reading it, it is still false. Reproduction All executed ingame with /c local test_frame = game.player.gui.screen.add{name='test',type='frame',auto_center=true} -- new frame in the cent...
by asdff45
Wed Jul 03, 2019 1:47 am
Forum: Modding help
Topic: Unique IDs
Replies: 1
Views: 80

Unique IDs

Many things in the API have the parameter index or unit_number. Can i generate my own index or unit_number, to make my objects unique? Or do i have to track this by myself?
by asdff45
Wed Jul 03, 2019 1:04 am
Forum: Modding help
Topic: Map Pings with the API
Replies: 0
Views: 67

Map Pings with the API

Since we have map pings now in 0.17 with "CTRL + ALT + LeftClick. Can we also ping with the lua api?
by asdff45
Mon Jun 17, 2019 10:35 pm
Forum: Implemented mod requests
Topic: Adjust style.margin and style.padding to be more like in CSS
Replies: 1
Views: 143

Adjust style.margin and style.padding to be more like in CSS

Hi, since 0.17.46 we have the possibility to use style.margin and style.padding on elements to set all of their directions. It would be great to have the possibility to also set different values to the sites with only this shortcut. I have CSS (Cascadian Style Sheet) in minde, so: style.padding = 1 ...
by asdff45
Thu Jun 13, 2019 11:16 pm
Forum: Modding discussion
Topic: Some questions about GUIs
Replies: 9
Views: 380

Re: Some questions about GUIs

Is it possible to change the design of a button? Or set the button to "active" state?
by asdff45
Wed Jun 12, 2019 2:07 pm
Forum: Modding discussion
Topic: Some questions about GUIs
Replies: 9
Views: 380

Re: Some questions about GUIs

Thanks for the help so far.
Next question:
Does a on_focus event exist? and how can i find out, if an element is focused?
by asdff45
Sat Jun 01, 2019 1:26 am
Forum: Modding discussion
Topic: Some questions about GUIs
Replies: 9
Views: 380

Re: Some questions about GUIs

ok, next question:

I want to have a max-height of around 80% of window-height. How to define a percentage of screen-heigth. Or even better, how to get the current window-height?
by asdff45
Fri May 31, 2019 12:05 am
Forum: Modding help
Topic: Open Train GUI
Replies: 1
Views: 82

Open Train GUI

Hi,

is it possible open the Train GUI with the API, like, when clicking in the Train-overview on a train? And is this also possible with Train-Stops?
by asdff45
Tue May 28, 2019 11:22 pm
Forum: Modding discussion
Topic: Some questions about GUIs
Replies: 9
Views: 380

Re: Some questions about GUIs

Hm, thats unfortunate. I have to make it differently :(
Thanks for the short and precise answer.
by asdff45
Tue May 28, 2019 12:06 am
Forum: Modding discussion
Topic: Some questions about GUIs
Replies: 9
Views: 380

Some questions about GUIs

Hi, im currently trying to create my own GUI, but its hard and not really documented :( So 2 questions: 1. How to instantiate a Filler? Those lined things, that are in the normal uis, where the ui can be dragged. Those agui:Filler objects. https://pasteboard.co/IgI1sGA.png 2. Is it possible to chang...
by asdff45
Wed Feb 27, 2019 10:48 pm
Forum: General discussion
Topic: 0.17-savefile additional uint8
Replies: 1
Views: 282

Re: 0.17-savefile additional uint8

I think it is something appended to the Version. So it is not only major, minor, patch and develop number.
It got also added after the Version in the mod-settings.dat
by asdff45
Wed Feb 27, 2019 1:49 am
Forum: General discussion
Topic: 0.17-savefile additional uint8
Replies: 1
Views: 282

0.17-savefile additional uint8

Hi,
in the saves for the 0.17 version, an addition uint8 got added after the Version and before the campeign string. For what is that used for?
by asdff45
Sun Feb 11, 2018 3:25 am
Forum: Mod portal Discussion
Topic: [Mod portal]Api endpoint broken
Replies: 6
Views: 1380

Re: [Mod portal]Api endpoint broken

Would be nice to get this feature back.
Would be even better when it contains more features, like searching for mods that are compatible with a specific factorio-version.
by asdff45
Sun Jul 30, 2017 9:21 pm
Forum: Modding help
Topic: CORS-Error in Web-APIs
Replies: 0
Views: 181

CORS-Error in Web-APIs

Hello,
i want to build a webtool, so we can install mods directly into dedicated Servers, but i have the problem, that i dont can access the Mod Portal API via AJAX-calls.
Why are no Cross-Origin-Headers set for an API?
The same things is the problem with the Authentication-API :(
by asdff45
Tue Jun 13, 2017 2:46 pm
Forum: Cheatsheets / Calculators / Viewers
Topic: Just another calculator? - No, it's CALCORIO!
Replies: 27
Views: 11339

Just another calculator? - No, it's CALCORIO!

Just another calculator? - No, it's CALCORIO! :-o CALCORIO is a web based recipe and assembly calculator, developed by makuendras and asdff45 . The most important features are ready to use now, so we decided to make CALCORIO available for everyone. More features are in development or planned and wi...
by asdff45
Mon Aug 08, 2016 11:20 pm
Forum: Modding help
Topic: Get Biomes out of position
Replies: 3
Views: 368

Re: Get Biomes out of position

Thank you two, that will help alot :)
by asdff45
Sun Aug 07, 2016 1:35 pm
Forum: Modding help
Topic: Get Biomes out of position
Replies: 3
Views: 368

Get Biomes out of position

Hi, i would like to make a mod with which you can place trees, i found out, that it has different treetypes, in different biomes/Temperature-Moisture-rate (https://wiki.factorio.com/index.php?title=AutoplaceSheets). Is it possible to find out, in which biome i place something or even better, which T...

Go to advanced search