Oh
Alright, I'll try it whenever i get some free time, Thanks!
Search found 9 matches
- Tue Jun 04, 2024 7:29 pm
- Forum: Modding help
- Topic: Smoke and Particles for machines
- Replies: 3
- Views: 769
- Sun Jun 02, 2024 3:16 pm
- Forum: Modding help
- Topic: Smoke and Particles for machines
- Replies: 3
- Views: 769
Re: Smoke and Particles for machines
Well, After some tinkering, i found how to add smoke that actually works...
...but for furnaces (and probably any "burner" machines)
Here's the code :
smoke =
{
{
name = "smoke",
frequency = 6,
position = {3.0, -1.7},
starting_vertical_speed = 0.12,
starting_frame_deviation = 60
}
}
Any ...
...but for furnaces (and probably any "burner" machines)
Here's the code :
smoke =
{
{
name = "smoke",
frequency = 6,
position = {3.0, -1.7},
starting_vertical_speed = 0.12,
starting_frame_deviation = 60
}
}
Any ...
- Thu May 30, 2024 5:59 pm
- Forum: Modding help
- Topic: Smoke and Particles for machines
- Replies: 3
- Views: 769
Smoke and Particles for machines
Hii
I need help adding Smoke when machine is working and mining particles also when machine is working.
I tried to copy code from base game but that dosen't seem to work.
Any idea how to make it?
Thanks is advance
I need help adding Smoke when machine is working and mining particles also when machine is working.
I tried to copy code from base game but that dosen't seem to work.
Any idea how to make it?
Thanks is advance

- Thu May 30, 2024 5:49 pm
- Forum: Modding help
- Topic: [SOLVED] Edit starting inventory
- Replies: 11
- Views: 2354
Re: [SOLVED] Edit starting inventory
It's fine, It's solved. But thanks for everything 

- Mon May 27, 2024 7:41 am
- Forum: Modding help
- Topic: [SOLVED] Edit starting inventory
- Replies: 11
- Views: 2354
Re: Edit starting inventory
SOLVED
If anyone need help with this, here's the code
it was that simple...
-- Clear the player inventory
local function clear_inv(e)
local player = game.players[e.player_index]
player.clear_items_inside()
player.insert{name = "car", count = 1}
end
-- Disable the crash site and skip cutscene ...
If anyone need help with this, here's the code
it was that simple...
-- Clear the player inventory
local function clear_inv(e)
local player = game.players[e.player_index]
player.clear_items_inside()
player.insert{name = "car", count = 1}
end
-- Disable the crash site and skip cutscene ...
- Sun May 26, 2024 8:52 pm
- Forum: Modding help
- Topic: [SOLVED] Edit starting inventory
- Replies: 11
- Views: 2354
Re: Edit starting inventory
Thank you so much!
although now, the script that delete items won't let me spawn with other items i want ^^;
although now, the script that delete items won't let me spawn with other items i want ^^;
- Sun May 26, 2024 7:53 pm
- Forum: Modding help
- Topic: [SOLVED] Edit starting inventory
- Replies: 11
- Views: 2354
Re: Edit starting inventory
It works! I've been trying for hours haha
Thank you so much!
One more thing, do you also know how to delete starting items? Factorio gives some stuff and i would like to get rid of them

Thank you so much!
One more thing, do you also know how to delete starting items? Factorio gives some stuff and i would like to get rid of them
- Sun May 26, 2024 7:20 pm
- Forum: Modding help
- Topic: [SOLVED] Edit starting inventory
- Replies: 11
- Views: 2354
Re: Edit starting inventory
I want to change players starting inventory when starting a new game.
I tried that.
script.on_event(defines.events.on_player_created, function(event)
local player = game.players[event.player_index]
player.insert({name="iron-plate", count=800})
end)
No errors or anything, but it doesn't work ...
I tried that.
script.on_event(defines.events.on_player_created, function(event)
local player = game.players[event.player_index]
player.insert({name="iron-plate", count=800})
end)
No errors or anything, but it doesn't work ...
- Sun May 26, 2024 4:42 pm
- Forum: Modding help
- Topic: [SOLVED] Edit starting inventory
- Replies: 11
- Views: 2354
[SOLVED] Edit starting inventory
Help, I've been trying to edit starting inventory.
Remove starter items on Freeplay and add new ones.
I tried pasting code from other discussions but nothing helped
Could anyone help me with code for Control.lua and any other necessary with code and files i need?
(also, if you could explain how it ...
Remove starter items on Freeplay and add new ones.
I tried pasting code from other discussions but nothing helped
Could anyone help me with code for Control.lua and any other necessary with code and files i need?
(also, if you could explain how it ...