today i have been messing around with the flamethrower, trying to modify the animation speed of its projectiles to get them to live longer, travel further etc. The part i modified was in
"__base__/prototypes/entity/entities.lua"
more specific this one:
Code: Select all
{
type = "flame-thrower-explosion",
name = "flame-thrower-explosion",
flags = {"not-on-map"},
animation_speed = 1,
animations =
{
{
filename = "__base__/graphics/entity/flame-thrower-explosion/flame-thrower-explosion.png",
priority = "extra-high",
width = 64,
height = 64,
frame_count = 64,
line_length = 8
}
},
light = {intensity = 0.2, size = 20},
slow_down_factor = 1,
smoke = "smoke-fast",
smoke_count = 1,
smoke_slow_down_factor = 0.95,
damage = {amount = 0.25, type = "fire"}
}
Code: Select all
{
type = "flame-thrower-explosion",
name = "flame-thrower-explosion",
flags = {"not-on-map"},
animations =
{
{
filename = "__base__/graphics/entity/flame-thrower-explosion/flame-thrower-explosion.png",
priority = "extra-high",
width = 64,
height = 64,
animation_speed = 2,
frame_count = 64,
line_length = 8
}
},
light = {intensity = 0.2, size = 20},
slow_down_factor = 1,
smoke = "smoke-fast",
smoke_count = 1,
smoke_slow_down_factor = 0.95,
damage = {amount = 0.25, type = "fire"}
},