Search found 2899 matches

by darkfrei
Thu Aug 04, 2022 10:29 am
Forum: Modding help
Topic: character_running_speed inaccuracy
Replies: 5
Views: 413

Re: character_running_speed inaccuracy

What if the speed is less than 1/256 tiles per tick? No movement at all or the movement will be accordingly accumulated?
by darkfrei
Sun Jul 17, 2022 12:09 am
Forum: Texture Packs
Topic: [Request] Train textures
Replies: 5
Views: 1047

Re: [Request] Train textures

Autor of model: Jesper Landin https://sketchfab.com/JesperLandin Model: EMD GP7 Western Pacific 713 https://sketchfab.com/3d-models/emd-gp7-western-pacific-713-1c89cb9f2c224b78b6fea50f82e042c3 License: CC Attribution (credit the author) 0048-hr.png Spritesheet (not tested): train-best_spritesheet_4x...
by darkfrei
Tue Jul 12, 2022 12:25 pm
Forum: Texture Packs
Topic: [Request] Train textures
Replies: 5
Views: 1047

Re: [Request] Train textures

For the electric and diesel train mods, currently the trains are the same texture but with a different standard colour. I want to retexture them to make the electric one look like the Bombadier Traxx (https://railway-news.com/wp-content/uploads/2020/12/200th-Bombardier-TRAXX-for-Railpool-scaled.jpg...
by darkfrei
Tue Jun 21, 2022 9:54 am
Forum: Modding help
Topic: indestructible tiles with collision masks?
Replies: 1
Views: 420

Re: indestructible tiles with collision masks?

Set the minable to false or replace tile-placeholder with the tile by the script.
by darkfrei
Tue May 31, 2022 10:25 am
Forum: Modding help
Topic: Linked belts reversing when placed or upgraded.
Replies: 4
Views: 547

Re: Linked belts reversing when placed or upgraded.

Don't forget to set the input and out type:

Code: Select all

inputEntity.linked_belt_type = "input"
outputEntity.linked_belt_type = "output"
by darkfrei
Mon May 30, 2022 1:39 pm
Forum: Modding help
Topic: [SOLVED] Make an entity unplaceable on stone path/concrete/refined concrete/etc?
Replies: 6
Views: 633

Re: [SOLVED] Make an entity unplaceable on stone path/concrete/refined concrete/etc?

Anyone know if there's a collision_mask or other method (ie, do I need to make checks in control while placing?) that prevents an entity from being placed on path tiles, both vanilla and mod added? Basically, I want to make it so you can't plant a tree on anything but bare, regular ground. :) See a...
by darkfrei
Wed Apr 27, 2022 7:04 am
Forum: Modding help
Topic: Question about the global table
Replies: 10
Views: 877

Re: Question about the global table

Is it okay if I recycle this code with credit? This is my current code, if that's not the case - perhaps you might know how to retool it to have the functionality I need. function inserter_utils.get_max_range(inserter, this_force) -- The original function appears to grab the maximum range from the ...
by darkfrei
Mon Apr 25, 2022 9:29 am
Forum: Modding help
Topic: Question about the global table
Replies: 10
Views: 877

Re: Question about the global table

See code of https://mods.factorio.com/mod/RocketExplosions function get_tech_level (force, tech_name) local level = 0 local techs = force.technologies local tech = techs[tech_name] or techs[tech_name..'-1'] if tech and tech.researched then level = tech.level local i = 1 local fl = true while fl do i...
by darkfrei
Mon Apr 04, 2022 10:21 am
Forum: Modding help
Topic: I want "electric furnace" to manually select the recipe
Replies: 3
Views: 409

Re: I want "electric furnace" to manually select the recipe

I want "electric furnace" to manually select the formula like an assembly machine. Where should I modify it? thank you Just create the assembling machine with furnace's recipe category "smelting". https://wiki.factorio.com/Prototype/RecipeCategory https://wiki.factorio.com/Data....
by darkfrei
Mon Apr 04, 2022 7:15 am
Forum: Modding help
Topic: Can you realize the dynamic conversion of formula
Replies: 4
Views: 635

Re: Can you realize the dynamic conversion of formula

Table tabl ={ { type = "recipe", name = "transformation-copper-ore-from-coal", category = "transformation-copper-ore", ingredients = {{"coal", 5}}, result = "copper-ore", }, { type = "recipe", name = "transformation-copper-ore-from-sto...
by darkfrei
Wed Mar 30, 2022 7:19 am
Forum: Modding help
Topic: Is there any way for the data stage to effect the settings stage?
Replies: 9
Views: 1360

Re: Is there any way for the data stage to effect the settings stage?

My question was: Why we have data.raw? I mean, why not just data? And why not settings.raw or data.settings?
by darkfrei
Mon Mar 28, 2022 3:23 pm
Forum: Modding help
Topic: Is there any way for the data stage to effect the settings stage?
Replies: 9
Views: 1360

Re: Is there any way for the data stage to effect the settings stage?

No. The reason is: Data stage is defined based off the values of the settings stage. If the settings stage could be defined based off the values of the data stage it would be an infinite loop. Must be something like (but never will be implemented) data-pre-settings settings data data-updates data-f...
by darkfrei
Wed Mar 23, 2022 10:46 am
Forum: Technical Help
Topic: [Solved] Can't change the data directory.
Replies: 34
Views: 10342

Re: [Solved] Can't change the data directory.

Make it portable: Factorio/config-path.cfg must be: config-path=__PATH__executable__/../../config #This value specifies the way the aplication generates default values for path.read-data and path.write-data #When set to true, it will use system directories (Users/Name/AppData/Roaming/Factorio on win...
by darkfrei
Fri Mar 04, 2022 1:04 pm
Forum: Modding help
Topic: How to offset sprite so that it looks good when entity rotates?
Replies: 6
Views: 1058

Re: How to offset sprite so that it looks good when entity rotates?

AlveKatt wrote:
Tue Mar 01, 2022 1:37 pm
Your sprite sheet will be bigger with a lot of empty space, but I think you have to live with that.
There is a script for that:
viewtopic.php?p=335708#p335708
by darkfrei
Fri Mar 04, 2022 11:33 am
Forum: News
Topic: We support Ukraine
Replies: 3229
Views: 183545

Re: We support Ukraine

Also, why for 8 years everybody was so silent about Donetsk and Lugansk, about horror that was going there for entire 8 years? I want to know the opinion of the people who lives there, not from any state press. The Ukraine cannot bombing it because it's also the Ukraine, but the Russia cannot bombi...
by darkfrei
Tue Jan 25, 2022 3:45 pm
Forum: Ideas and Suggestions
Topic: [0.16.51] Factorio Ultrawide Monitor support?
Replies: 23
Views: 8154

Re: [0.16.51] Factorio Ultrawide Monitor support?

Here must be limitations in multiplayer, that all forces and players can see the same area.
But in single play the player must zoom out until drop of FPS.
by darkfrei
Mon Jan 24, 2022 8:13 am
Forum: Modding help
Topic: Made my first mod but need advice on extra feature
Replies: 5
Views: 1063

Re: Made my first mod but need advice on extra feature

Can the hidden teleportation to the same place or to other surface and back to this one help in this situation?
by darkfrei
Mon Jul 05, 2021 8:22 pm
Forum: Modding help
Topic: Last in mod load order
Replies: 8
Views: 1467

Re: Last in mod load order

The mod that named "_modname" will be loaded after "zmodname".
by darkfrei
Tue May 25, 2021 4:42 pm
Forum: Off topic
Topic: [photos] Factorio in real life
Replies: 149
Views: 251640

Re: [photos] Factorio in real life

Electricity

Go to advanced search