Search found 3654 matches

by DaveMcW
Wed Nov 23, 2022 1:44 am
Forum: Modding help
Topic: next-upgrade
Replies: 3
Views: 216

Re: next-upgrade

Code: Select all

data.raw["furnace"]["mulcher-3"].collision_box = table.deepcopy( data.raw["furnace"]["mulcher-2"].collision_box )
by DaveMcW
Fri Nov 11, 2022 1:26 am
Forum: Modding help
Topic: Unremovable armour
Replies: 1
Views: 113

Re: Unremovable armour

Armor has a unique item_number you can use to identify it. You still need to search all the possible places for it to hide.
by DaveMcW
Thu Nov 10, 2022 9:23 pm
Forum: Combinator Creations
Topic: Movie Player
Replies: 85
Views: 433898

Re: Movie Player

Yes, all my transport belts were circuit controlled, of course.
by DaveMcW
Thu Nov 10, 2022 7:02 pm
Forum: Modding discussion
Topic: Adding a power switch
Replies: 2
Views: 176

Re: Adding a power switch

A pump works just like a power switch for water. You can connect it to a tank with red wire to read the water level.
by DaveMcW
Wed Nov 02, 2022 4:05 am
Forum: Technical Help
Topic: Editor Mode not working
Replies: 2
Views: 139

Re: Editor Mode not working

In Windows Explorer, type %APPDATA% in the address bar and delete the Factorio folder.
by DaveMcW
Mon Oct 31, 2022 6:09 pm
Forum: Modding help
Topic: how to force word wrap in a gui label
Replies: 3
Views: 168

Re: how to force word wrap in a gui label

If you make it a text-box you can set word-wrap = true.

To make it look like a label, you can also set selectable=false and read_only=true. And give it a custom style.
by DaveMcW
Sun Oct 30, 2022 5:42 pm
Forum: Technical Help
Topic: Headless linux server "permission denied"
Replies: 7
Views: 317

Re: Headless linux server "permission denied"

Code: Select all

/opt/factorio/bin/x64/factorio --start-server /opt/factorio/saves/SOMC.zip
by DaveMcW
Fri Oct 28, 2022 12:06 am
Forum: Modding help
Topic: Event when singal of a constant combinator are changed
Replies: 7
Views: 930

Re: Event when singal of a constant combinator are changed

mami wrote:
Thu Oct 27, 2022 8:50 pm
way to disable it
entity.allow_copy_paste = false

https://wiki.factorio.com/Prototype/Ent ... copy_paste
by DaveMcW
Thu Oct 27, 2022 4:28 pm
Forum: Technical Help
Topic: Headless linux server "permission denied"
Replies: 7
Views: 317

Re: Headless linux server "permission denied"

Try giving the program permission to run:

Code: Select all

chmod +x /opt/factorio/bin/x64/factorio
by DaveMcW
Wed Oct 26, 2022 5:29 pm
Forum: Gameplay Help
Topic: Individual progress but play together in the same session?
Replies: 1
Views: 204

Re: Individual progress but play together in the same session?

Start the PvP scenario.

Then run this console command:

Code: Select all

/c
for a = 4, #game.forces do
  for b = 4, #game.forces do
    game.forces[a].set_cease_fire(game.forces[b], true)
  end
end
by DaveMcW
Wed Oct 26, 2022 1:16 pm
Forum: Won't implement
Topic: Add a way to hide/disable missing Item alerts for specific items or entitys
Replies: 7
Views: 390

Re: Add a way to hide/disable missing Item alerts for specific items or entitys

Sounds like you can just revive your dummy entities when the blueprint is placed. Then replace them with entity ghosts when the landfill is placed.
by DaveMcW
Tue Oct 25, 2022 7:04 pm
Forum: Won't implement
Topic: Add a way to hide/disable missing Item alerts for specific items or entitys
Replies: 7
Views: 390

Re: Add a way to hide/disable missing Item alerts for specific items or entitys

Why are you using ghosts for dummy entities?

Could you remove the placeable_by item so the dummy entity does not get a ghost?
by DaveMcW
Sun Oct 23, 2022 9:56 am
Forum: General discussion
Topic: Old menu picture
Replies: 4
Views: 321

Re: Old menu picture

The 1920x1080 image was included in the 1.0 Factorio release. I don't know of any higher resolution version.
by DaveMcW
Sat Oct 22, 2022 6:22 pm
Forum: Technical Help
Topic: Non-blocking saves?
Replies: 8
Views: 397

Re: Non-blocking saves?

by DaveMcW
Thu Oct 13, 2022 1:18 am
Forum: Modding help
Topic: Adding Sprite to Entity?
Replies: 6
Views: 235

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, h...
by DaveMcW
Thu Oct 13, 2022 12:49 am
Forum: Ideas and Requests For Mods
Topic: Print (simplified) map
Replies: 5
Views: 382

Re: Print (simplified) map

Yes, it's theoretically possible to dump all entities and tiles to a text file.

You could even build an image file inside the mod using a lua png encoder.
by DaveMcW
Thu Oct 13, 2022 12:40 am
Forum: Modding help
Topic: Adding Sprite to Entity?
Replies: 6
Views: 235

Re: Adding Sprite to Entity?

What is the Prototype type of your entity? They all have different graphics requirements.
by DaveMcW
Thu Oct 13, 2022 12:25 am
Forum: Modding help
Topic: Adding Sprite to Entity?
Replies: 6
Views: 235

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.

Go to advanced search