How do I adjust the radius_visualisation_picture on my custom substation?
I tried adding a shift, to radius_visualisation_picture, but that did not work.
Substation
Code: Select all
---- Large Substation
{
type = "electric-pole",
name = "bi-large-substation",
icon = "__Bio_Industries__/graphics/icons/bi_LargeSubstation_icon.png",
icon_size = 32,
flags = {"placeable-neutral", "player-creation"},
minable = {hardness = 0.2, mining_time = 0.5, result = "bi-large-substation"},
max_health = 600,
corpse = "big-remnants",
dying_explosion = "big-explosion",
track_coverage_during_build_by_moving = true,
resistances =
{
{
type = "fire",
percent = 90
}
},
collision_box = {{-4.2, -4.7}, {4.2, 4.7}},
selection_box = {{-4.5, -5}, {4.5, 5}},
drawing_box = {{-4.5, -10}, {4.5, 5}},
maximum_wire_distance = 18,
supply_area_distance = 24,
pictures =
{
filename = "__Bio_Industries__/graphics/entities/bio_solar_farm/bi_LargeSubstation.png",
priority = "high",
width = 352,
height = 384,
shift = {0.6, -0.6},
direction_count = 1,
--scale = 0.5,
},
vehicle_impact_sound = { filename = "__base__/sound/car-metal-impact.ogg", volume = 0.65 },
working_sound =
{
sound = { filename = "__base__/sound/substation.ogg" },
apparent_volume = 1.8,
audible_distance_modifier = 0.5,
probability = 1 / (3 * 60) -- average pause between the sound is 3 seconds
},
connection_points =
{
{
shadow =
{
copper = {1.9, -0.6},
green = {1.3, -0.6},
red = {2.65, -0.6}
},
wire =
{
copper = {-0.25, -2.71875},
green = {-0.84375, -2.71875},
red = {0.34375, -2.71875}
}
},
},
radius_visualisation_picture =
{
filename = "__base__/graphics/entity/small-electric-pole/electric-pole-radius-visualization.png",
width = 24,
height = 24,
priority = "extra-high-no-scale"
},
},