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
Smoke and Particles for machines
-
- Burner Inserter
- Posts: 9
- Joined: Sun May 26, 2024 4:33 pm
- Contact:
-
- Burner Inserter
- Posts: 9
- Joined: Sun May 26, 2024 4:33 pm
- Contact:
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 :
Thanks in advance :>
...but for furnaces (and probably any "burner" machines)
Here's the code :
Any idea how to make it work on electrical machines?smoke =
{
{
name = "smoke",
frequency = 6,
position = {3.0, -1.7},
starting_vertical_speed = 0.12,
starting_frame_deviation = 60
}
}
Thanks in advance :>
Re: Smoke and Particles for machines
The only things listed as using the smoke prototype by the docs are
BurnerEnergySource::smoke
FireFlamePrototype::smoke
FluidEnergySource::smoke
FluidStreamPrototype::smoke_sources
GeneratorPrototype::smoke
ParticleSourcePrototype::smoke
ProjectilePrototype::smoke
So unless you have one of those you can't attach a smoke effect.
BurnerEnergySource::smoke
FireFlamePrototype::smoke
FluidEnergySource::smoke
FluidStreamPrototype::smoke_sources
GeneratorPrototype::smoke
ParticleSourcePrototype::smoke
ProjectilePrototype::smoke
So unless you have one of those you can't attach a smoke effect.
-
- Burner Inserter
- Posts: 9
- Joined: Sun May 26, 2024 4:33 pm
- Contact:
Re: Smoke and Particles for machines
Oh
Alright, I'll try it whenever i get some free time, Thanks!
Alright, I'll try it whenever i get some free time, Thanks!