Search found 490 matches
- Mon Aug 14, 2023 5:25 pm
- Forum: Modding help
- Topic: Check in Entity Exists in Control
- Replies: 5
- Views: 751
Re: Check in Entity Exists in Control
better way would be to assemble that table at startup and only fill it with an item if that prototype exists. Easier to do it once at startup then every time you need to spawn something.
- Sun Aug 06, 2023 5:06 pm
- Forum: Resolved Problems and Bugs
- Topic: [1.1.88]Changing map gen settings with on_chunk_generated event results in crash
- Replies: 6
- Views: 1515
Re: [1.1.88]Changing map gen settings with on_chunk_generated event results in crash
I feel like having the chunks that are partially generated to finish using the old settings then using the new settings on everything made after that would be expected if it's not possible to have those settings affect the current chunk(s) generating.
- Wed Jul 19, 2023 10:53 pm
- Forum: Modding help
- Topic: Log for QC
- Replies: 1
- Views: 429
Re: Log for QC
You can do it with the --dump-data startup option. The wiki has it available though: https://wiki.factorio.com/Data.raw
In game, you have the prototype explorer, Ctrl+Shift+E
In game, you have the prototype explorer, Ctrl+Shift+E
- Tue Jul 18, 2023 11:47 pm
- Forum: Mods
- Topic: [MOD 1.1.x|1.0.x]Recycling Machines
- Replies: 187
- Views: 70107
Re: [MOD 1.1.x|1.0.x]Recycling Machines
Looks like in your mod you're copying the original assembling machine recipe, and setting the result to be your recycling machine. However, Production Scrap 2 adds the results property on the assembling machine recipes since they have more than one possible result - the machine or the scrap. You don...
- Sun Jun 11, 2023 3:58 pm
- Forum: Modding help
- Topic: Types/BaseAttackParameters: warmup and cooldown
- Replies: 2
- Views: 446
Re: Types/BaseAttackParameters: warmup and cooldown
They're documented : Warmup occurs AFTER attempting to shoot. So it'd actually be attempt to shoot, warmup, shoot, cooldown, attempt to shoot, warmup, shoot, cooldown, etc. Not sure if the movement penalty applies during the warmup period - it should for the whole cooldown. Docs are lacking on anyth...
- Sat Jun 03, 2023 1:22 am
- Forum: Gameplay Help
- Topic: Pollution / Evolution Question
- Replies: 2
- Views: 748
Re: Pollution / Evolution Question
Wiki explicitly states it's by pollution generated: The evolution factor is not increased by the spreading/absorbed pollution, but by the pollution produced by all the player's machinery at every tick. Absorption is already used to pay for attack group formation - a spawner can't assign a unit to an...
- Sun May 14, 2023 1:44 am
- Forum: Fixed for 2.0
- Topic: [1.1.76] Incompatible fixed_recipe is ignored
- Replies: 6
- Views: 1676
Re: [1.1.76] Incompatible fixed_recipe is ignored
A solution has thus far eluded me. If I alter the recipe for a rocket-part with a water ingredient, the silo shows that no recipes are available. This is where I am at: local rocketSilo = table.deepcopy(data.raw["rocket-silo"]["rocket-silo"]) rocketSilo.fluid_box = { { productio...
- Sat May 13, 2023 2:21 pm
- Forum: Modding help
- Topic: Picture layers and variative of pictures
- Replies: 2
- Views: 713
Re: Picture layers and variative of pictures
Pictures is created wrong. You don't want to use layers, you want to set it as an array inside of pictures. See the example at the wiki or iron-ore from the game: pictures = { { filename = "__base__/graphics/icons/iron-ore.png", mipmap_count = 4, scale = 0.25, size = 64 }, { filename = &qu...
- Sat Apr 29, 2023 2:59 pm
- Forum: Modding help
- Topic: Healing Over Time
- Replies: 15
- Views: 2276
Re: Healing Over Time
I looked some more and found this in smoke.lua but still no damage You really should go to the wiki and grab the data.raw download it has. It's a complete dump of the entirety of the data table, so every single prototype defined in the base game is there. Much faster than trying to comb through lua...
- Sat Apr 29, 2023 1:45 am
- Forum: Modding help
- Topic: Healing Over Time
- Replies: 15
- Views: 2276
Re: Healing Over Time
Yeah it's a capsule that makes a projectile that makes a smoke-with-trigger cloud that is set to cause the damage. But pretty sure that means it doesn't move from where it spawns - probably not how you want a healing capsule to work.
- Fri Apr 28, 2023 11:26 pm
- Forum: Gameplay Help
- Topic: Simple Questions and Short Answers
- Replies: 1642
- Views: 506415
Re: Simple Questions and Short Answers
Good morning! What factors can cause me to not earn achievement on *STEAM*? And is there any multiplayer factor that limits achievements on steam? Thank you! You need to have played for at least 50% of the time on a multiplayer map to unlock achievements on that map. It's to prevent people from joi...
- Fri Apr 28, 2023 2:17 am
- Forum: Modding help
- Topic: Healing Over Time
- Replies: 15
- Views: 2276
Re: Healing Over Time
You SHOULD be able to just change the "raw-fish" capsule - change the target_effects to spawn a sticker instead of instant damage, and make that sticker heal that player for however much you want, repeating however fast you want. For example: target_effects = { { sticker = "healing-st...
- Sat Apr 22, 2023 4:15 am
- Forum: Modding help
- Topic: Help Retrieving List of Vehicles/Trains
- Replies: 15
- Views: 1663
Re: Help Retrieving List of Vehicles/Trains
The function that gets called should have a parameter, usually called event though that's not required, because the engine calls the function with one parameter - this is a table that has fields for whatever data the event has. If you haven't you should really go over the tutorials on the wiki: http...
- Thu Apr 20, 2023 11:36 pm
- Forum: Modding help
- Topic: Help Retrieving List of Vehicles/Trains
- Replies: 15
- Views: 1663
Re: Help Retrieving List of Vehicles/Trains
- 'on_init' (load game) load list into my variable FROM global Not that part. You don't need to load things from global, as the point of global is that it is persistent between save/loads and is handled by the engine. Just save a list of trains to it and it'll be there forever for that save unless ...
- Thu Apr 20, 2023 2:16 am
- Forum: Modding help
- Topic: Help Retrieving List of Vehicles/Trains
- Replies: 15
- Views: 1663
Re: Help Retrieving List of Vehicles/Trains
Why do you need to list all trains in the first place? You only need to interact with ones that have your equipment in them, and you should be able to track those with the equipment events: on_equipment_inserted and on_player_placed_equipment. You might need to search for all in a on_init/on_config_...
- Mon Apr 17, 2023 4:54 pm
- Forum: Minor issues
- Topic: [1.1.72] Combat shotgun can be fired in 2 directions simultaneously
- Replies: 4
- Views: 1391
Re: [1.1.72] Combat shotgun can be fired in 2 directions simultaneously
The strange thing is that this is done differently for a regular shotgun and a combat shotgun. For a regular shotgun, the direction of the pallets is calculated differently and the reported behavior cannot be repeated. After all, for the player, the difference between a regular shotgun and a combat...
- Sat Apr 15, 2023 2:47 pm
- Forum: Gameplay Help
- Topic: getting back the old hotbar feel
- Replies: 4
- Views: 1145
Re: getting back the old hotbar feel
Nope. The hotbar works entirely different in recent versions and the only way to use the old one is to play the old versions.
- Thu Mar 23, 2023 12:40 am
- Forum: Ideas and Suggestions
- Topic: Option to disable no-power flashing / Remove potential epilepsy problem / Reduce distraction on power loss
- Replies: 67
- Views: 21658
Re: Option to disable no-power flashing / Remove potential epilepsy problem / Reduce distraction on power loss
Currently, the only mod I found was "No Power Icons", but that does nothing else than changing the transparency so it isn't just visible (but still there). There are also options for variable levels of transparency, not just blank (which isn't transparent at all, it's just an empty png), ...
- Sat Mar 18, 2023 10:09 pm
- Forum: This Forum
- Topic: to request my own thread be moved
- Replies: 4
- Views: 1239
Re: to request my own thread be moved
You can just post in the thread asking for it to be moved. Mods generally find those fairly quickly and get it done.
- Fri Mar 17, 2023 11:37 pm
- Forum: Technical Help
- Topic: [1.1.76]Kernal error causing crash
- Replies: 8
- Views: 1182
Re: [1.1.76]Kernal error causing crash
Hey, I experienced a BSOD and from the crash dump generated by windows 10 and the cause seems to be factorio! The process name isn't the cause, just whatever process the code that faulted was running under. What you actually want is the image name: IMAGE_NAME: AuthenticAMD.sys That's what specifica...