Search found 63 matches

by BrainGamer_
Thu Jan 11, 2024 3:15 pm
Forum: Resolved Requests
Topic: Prototype docs machine format instance_limit is a string
Replies: 3
Views: 575

Re: Prototype docs machine format instance_limit is a string

Will this only be fixed for 1.1.102 and onwards or retroactively changed for previous versions aswell?
by BrainGamer_
Wed Jan 10, 2024 10:48 am
Forum: Cheatsheets / Calculators / Viewers
Topic: FactorioCalc: a Python module to help you symbolically plan your factory
Replies: 3
Views: 1024

Re: FactorioCalc: a Python module to help you symbolically plan your factory

The companion mod, Recipe Exporter, provides the recipe data. I guess this didn't exist 2 years ago yet but now you can use the --dump-data CLI arg to get factorio to dump the entire data.raw table as a JSON file ( with some quirks ) and use that to get recipes, items, etc instead of a custom compa...
by BrainGamer_
Tue Dec 12, 2023 4:02 am
Forum: Ideas and Suggestions
Topic: Enable/disable rows in personal logistics
Replies: 1
Views: 271

Re: Enable/disable rows in personal logistics

I guess you'll have to wait for 2.0 to get logistic groups :D

https://factorio.com/blog/post/fff-382
by BrainGamer_
Mon Dec 11, 2023 12:06 am
Forum: Resolved Requests
Topic: Prototype docs machine format has nulls
Replies: 1
Views: 460

Prototype docs machine format has nulls

as a general note the docs state that
If a member would be null, it is omitted from the JSON instead.
but currently there are 6 cases of nulls in the JSON. All of them caused by an empty image caption.
by BrainGamer_
Sun Dec 10, 2023 11:59 pm
Forum: Resolved Requests
Topic: Prototype docs machine format instance_limit is a string
Replies: 3
Views: 575

Prototype docs machine format instance_limit is a string

The documentation for the machine readable prototype doc format specifies that the instance_limit for prototypes is a number but in the actual json it is a string of a number.
by BrainGamer_
Sat Dec 09, 2023 4:02 am
Forum: Fan Art
Topic: Factorio Blueprint Visualizer
Replies: 2
Views: 1087

Re: Factorio Blueprint Visualizer

Those look pretty neat. I love the idea of visualizing the BPs in a more abstract manner!

I've been working on my own BP renderer for a while now and this seems like something that could be added as another misc blueprint tool next to a bunch of others.

Really nice job.
by BrainGamer_
Thu Dec 07, 2023 4:29 am
Forum: Documentation Improvement Requests
Topic: RollingStock wheels position
Replies: 1
Views: 404

Re: RollingStock wheels position

Alright this has been solved after taking a look at how FBSR does this and with some help from the mod-making channel on discord . First of all one thing I didn't knew before is that rolling-stocks (or vehicles in general maybe?) don't directly use the orientation to get the corresponding sprite but...
by BrainGamer_
Thu Nov 23, 2023 11:45 am
Forum: General discussion
Topic: HDR
Replies: 22
Views: 5370

Re: HDR

To be fair HDR for PCs is still just in a very very messy state. When I was still using Windows I tried to enable HDR multiple times over the years but all the SDR content always looked immediately way worse and lots of games don't implement HDR well at all too. Additionally taking any screenshots o...
by BrainGamer_
Mon Nov 13, 2023 9:34 pm
Forum: Modding interface requests
Topic: LuaPlayer.open_map(position, scale, surface)
Replies: 9
Views: 2765

Re: LuaPlayer.open_map(position, scale, surface)

Thebri wrote: ↑
Mon Nov 13, 2023 9:11 pm
At least for 2.0 we will need this.
I asked about it on discord a month ago and the answer was "sure" so it seems very likely this will be a thing :D
by BrainGamer_
Mon Nov 13, 2023 8:52 pm
Forum: Documentation Improvement Requests
Topic: RollingStock wheels position
Replies: 1
Views: 404

RollingStock wheels position

How are the positions for the wheels of a rolling-stock determined? My current implementation uses the joint_distance and then rotates that according to the orientation of the entity but I seem to be missing some vertical offset (and the horizontal offset also seems to not fit perfectly). let offset...
by BrainGamer_
Mon Nov 13, 2023 9:15 am
Forum: Documentation Improvement Requests
Topic: RailSignalPrototype.rail_piece should be RotatedAnimation - No, but needs more info
Replies: 2
Views: 395

Re: RailSignalPrototype.rail_piece should be RotatedAnimation - No, but needs more info

There is a comment in the code regarding the frame count: On vertical rail there are two variations of the rail piece. One for odd y-coordinate and the other for even y-coordinate to make these pieces aligned with rail ties. These extra variations are stored as frame 8 and 9. (Those frame numbers a...
by BrainGamer_
Mon Nov 13, 2023 7:20 am
Forum: Documentation Improvement Requests
Topic: RailSignalPrototype.rail_piece should be RotatedAnimation - No, but needs more info
Replies: 2
Views: 395

RailSignalPrototype.rail_piece should be RotatedAnimation - No, but needs more info

RailSignalBasePrototype.rail_piece is currently documented as being an Animation. When you take a look at the sprites used tho it seems more like it should be a RotatedSprite, while the prototype dump includes a "axially_symmetrical": false property on the definitions which is only used f...
by BrainGamer_
Fri Nov 10, 2023 4:22 pm
Forum: Minor issues
Topic: [1.1.92] data.raw JSON dump serializes empty arrays wrong
Replies: 8
Views: 1100

Re: [1.1.92] data.raw JSON dump serializes empty arrays wrong

"flags": [ "placeable-neutral", "player-creation" ], The fun thing is that this is not the only valid representation for this! Since Lua basically does everything with HashMaps like Rseding said you can have the following: "flags": { 1: "placeable-neutra...
by BrainGamer_
Fri Nov 10, 2023 6:44 am
Forum: Resolved Requests
Topic: Types/LocalisedString missing number variant
Replies: 1
Views: 404

Types/LocalisedString missing number variant

Localised strings appear to not only consist of strings, bools or arrays of itself.
Apparently they can also be numbers (integers and floats, tho double would make the most sense here I guess).

The provided examples even show localised strings with numbers in them :D
by BrainGamer_
Wed Nov 08, 2023 6:01 pm
Forum: Ideas and Suggestions
Topic: [Linux] Fix related to the Factorio binary and eventually folder structure
Replies: 13
Views: 1335

Re: [Linux] Fix related to the Factorio binary and eventually folder structure

I don't really get what the apparent issue here is? Factorio will use the read-data and write-data directories as configured in the config.ini file. The standalone/archive install of factorio defaults to using the root of the unpacked zip as both the read-data and write-data folder (as explained in ...
by BrainGamer_
Fri Nov 03, 2023 8:15 pm
Forum: Fixed for 2.0
Topic: [1.1.94] Crash when adding entities to blueprint with position at infinity
Replies: 1
Views: 466

[1.1.94] Crash when adding entities to blueprint with position at infinity

The game crashes with my attached WIP mod when creating a new BP that has only 1 entity selected (easy fix on my side but that still should not hard crash the game :D ).

Seems like the conversion from doubles to the fixed point representation does not like infinities at all.
by BrainGamer_
Fri Nov 03, 2023 2:06 pm
Forum: Modding help
Topic: Allow beacons-like machine to give an effect without any modules in it to surrounding machines
Replies: 6
Views: 783

Re: Allow beacons-like machine to give an effect without any modules in it to surrounding machines

Glsl2 wrote: ↑
Fri Nov 03, 2023 10:06 am
I see. But how do I attach a invisible entity to the visible entity? Is it done in the control.lua file?
Yes you would need to use runtime scripting for this behaviour
by BrainGamer_
Wed Nov 01, 2023 7:49 pm
Forum: Modding help
Topic: Understand data.raw entity pictures
Replies: 11
Views: 1302

Re: Understand data.raw entity pictures

Do I correctly understand that you expect the prototype instance data of a given mod to be in the file `../dumps/data-raw-dump.json`? I currently have a prototype dump json in the given location but that is not added in the repo. And that creating that file from your app is still a to do? Yes this ...
by BrainGamer_
Mon Oct 30, 2023 10:24 pm
Forum: Modding help
Topic: Understand data.raw entity pictures
Replies: 11
Views: 1302

Re: Understand data.raw entity pictures

πŸ‘ I guess I just wait then :) Sorry it took so long but I finally got around to publish the repository. You can find it here: https://github.com/fgardt/factorio-scanner. It can currently render pretty much all entities apart from rails, vehicles, and wires. I also still need to find a way to handle...

Go to advanced search