Code: Select all
smoke =
{
{
name = 'train-track-smoke',
frequency = 0.02,
deviation = {0, 0},
position = {0, 1.5}
}
}
Code: Select all
data:extend
{
{
type = 'trivial-smoke',
name = 'train-track-smoke',
flags = {'not-on-map'},
slow_down_factor = 1,
duration = 1000,
fade_in_duration = 0,
fade_away_duration = 120,
-- color = {r = 0, g = 0, b = 0, a = 0.3},
cyclic = true,
affected_by_wind = false,
animation =
{
width = 128,
height = 64,
frame_count = 1,
direction_count = 1,
shift = {0, 0},
priority = "high",
animation_speed = 0.1,
filename = "__base__/graphics/entity/straight-rail/straight-rail-vertical-ties.png",
flags = { "compressed" }
}
-- TODO: use straight-rail-vertical-metals.png to overlay or something?
}
}
I guess what I really need is some help on the smoke settings.