Code: Select all
action =
{
{
type = "direct",
action_delivery =
{
{
type = "instant",
target_effects =
{
type = "nested-result",
action =
{
{
type = "line",
range = 35,
width = 2.0,
source_effects =
{
type = "create-entity",
entity_name = "lightning-bolt"
},
action_delivery =
{
type = "instant",
target_effects =
{
type = "damage",
force = {"enemy", "neutral"},
damage = { amount = 50, force = "neutral", type="electric"}
}
Code: Select all
type = "explosion",
name = "lightning-bolt",
flags = {"not-on-map"},
animation_speed = 1.5,
rotate = true,
beam = true,
animations =...
But in new factorio version i cant see any visualization of this. Damage is still working correctly (all 35 range line damage), but the shot is invisible. Also railgun shot is invisible too now, however railgun beam.png in base/grafics is not empty. I know, there is new type=beam, but it dont work correctly too, or its my fault) Can anyone help with this problem?