forkeado de nalc/homedecor_modpack
use four randomly-chosen smoke textures derived from real smoke,
also widen the particle size range makes for a much more varied smoke pattern
Este commit está contenido en:
@@ -57,6 +57,7 @@ minetest.register_abm({
|
||||
interval = 1,
|
||||
chance = 2,
|
||||
action = function(pos, node)
|
||||
local image_number = math.random(4)
|
||||
minetest.add_particlespawner(
|
||||
8, --particles amount
|
||||
1, --time
|
||||
@@ -68,10 +69,10 @@ minetest.register_abm({
|
||||
{x=0,y=0,z=0}, --max. particle acceleration
|
||||
0.5, --min. time particle expiration
|
||||
3, --max. time particle expiration
|
||||
8, --min. particle size
|
||||
2, --min. particle size
|
||||
10, --max. particle size
|
||||
false, --collision detection
|
||||
"smoke_particle.png" --textures
|
||||
"smoke_particle_"..image_number..".png" --textures
|
||||
)
|
||||
end,
|
||||
})
|
||||
|
Archivo binario no mostrado.
Antes Anchura: | Altura: | Tamaño: 200 B |
BIN
fake_fire/textures/smoke_particle_1.png
Archivo normal
BIN
fake_fire/textures/smoke_particle_1.png
Archivo normal
Archivo binario no mostrado.
Después Anchura: | Altura: | Tamaño: 690 B |
BIN
fake_fire/textures/smoke_particle_2.png
Archivo normal
BIN
fake_fire/textures/smoke_particle_2.png
Archivo normal
Archivo binario no mostrado.
Después Anchura: | Altura: | Tamaño: 647 B |
BIN
fake_fire/textures/smoke_particle_3.png
Archivo normal
BIN
fake_fire/textures/smoke_particle_3.png
Archivo normal
Archivo binario no mostrado.
Después Anchura: | Altura: | Tamaño: 678 B |
BIN
fake_fire/textures/smoke_particle_4.png
Archivo normal
BIN
fake_fire/textures/smoke_particle_4.png
Archivo normal
Archivo binario no mostrado.
Después Anchura: | Altura: | Tamaño: 674 B |
Referencia en una nueva incidencia
Block a user