How to make some entities, that can be rotatable? I've tried made it from Hazard-concrete, but with zoom it's looks horrible.
- Just placed
- 2017-01-21 19_54_53-Factorio 0.14.21.png (46.41 KiB) Viewed 1109 times
- Zoomed (alpha is corrupt)
- 2017-01-21 19_55_10-Factorio 0.14.21.png (90.1 KiB) Viewed 1109 times
entity
Code: Select all
{
type = "tile",
name = "arrow-up",
needs_correction = false,
next_direction = "arrow-right",
minable = {hardness = 0.2, mining_time = 0.5, result = "hazard-concrete"},
mined_sound = { filename = "__base__/sound/deconstruct-bricks.ogg" },
collision_mask = {"ground-tile"},
walking_speed_modifier = 1.4,
layer = 61,
decorative_removal_probability = 0.9,
variants = {
main = {
{
-- picture = "__base__/graphics/terrain/hazard-concrete-right/hazard-concrete-right1.png",
picture = "__Running-box__/graphics/arrows.png",
count = 1,
size = 1,
width = 32,
height = 32,
frame_count = 1,
-- x = 32
},
},
side =
{
picture = "__Running-box__/graphics/side.png",
count = 1
},
inner_corner =
{
picture = "__Running-box__/graphics/inner.png",
count = 1,
},
outer_corner =
{
picture = "__Running-box__/graphics/outer.png",
count = 1
},
},
walking_sound = {
{
filename = "__base__/sound/walking/concrete-01.ogg",
volume = 1.2
},
{
filename = "__base__/sound/walking/concrete-02.ogg",
volume = 1.2
},
{
filename = "__base__/sound/walking/concrete-03.ogg",
volume = 1.2
},
{
filename = "__base__/sound/walking/concrete-04.ogg",
volume = 1.2
}
},
map_color={r=0.5, g=0.5, b=0},
ageing=0,
vehicle_friction_modifier = concrete_vehicle_speed_modifier
},
- arrows.png (591 Bytes) Viewed 1105 times