prototype for rotatable dummy with render_layer?
prototype for rotatable dummy with render_layer?
Hi,
I'm updating the transformers mod, which currently uses splitters for the base entity.
The problem is that splitters have a very low render_layer that can't be changed.
Does anybody know a better prototype?
Specifications:
- Rotatable
- Render layer of a normal building
- Constructable
- No energy consumption
- No pipes / wire connections
- (Optional: no gui that opens when you click it, or at least no configuration gui)
I'm updating the transformers mod, which currently uses splitters for the base entity.
The problem is that splitters have a very low render_layer that can't be changed.
Does anybody know a better prototype?
Specifications:
- Rotatable
- Render layer of a normal building
- Constructable
- No energy consumption
- No pipes / wire connections
- (Optional: no gui that opens when you click it, or at least no configuration gui)
mods.factorio.com/user/ownlyme
My requests: uiAbove||Grenade arc||Blueprint allies||Creeps forget command/ don't get removed||Player Modifiers||textbox::selection||Better Heat IF||Singleplayer RCON||tank bug w/ min_range >= projectile_creation_distance
My requests: uiAbove||Grenade arc||Blueprint allies||Creeps forget command/ don't get removed||Player Modifiers||textbox::selection||Better Heat IF||Singleplayer RCON||tank bug w/ min_range >= projectile_creation_distance
- eradicator
- Smart Inserter
- Posts: 5207
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: prototype for rotatable dummy with render_layer?
"electric-energy-interface", because the last time i checked transformers still used some horrible boiler/steam/fluid hack :p.
Other than that, what is "simple-entity" missing from that list?
Other than that, what is "simple-entity" missing from that list?
Re: prototype for rotatable dummy with render_layer?
yeah my new hack still uses boilers+generators, but the only script load comes from refilling the fluid-box which can only hold 1000 water.
I think there is no other way of doing it because it should scale with the load on the target network.
You could use an assembling machine instead of the boiler, but that would make the consumer-side infrequent, jumping up and down in the energy consumption.
i tried simple-entity but couldn't figure out how to make it rotatable...
I think there is no other way of doing it because it should scale with the load on the target network.
You could use an assembling machine instead of the boiler, but that would make the consumer-side infrequent, jumping up and down in the energy consumption.
i tried simple-entity but couldn't figure out how to make it rotatable...
Last edited by ownlyme on Sat Jul 07, 2018 8:21 pm, edited 1 time in total.
mods.factorio.com/user/ownlyme
My requests: uiAbove||Grenade arc||Blueprint allies||Creeps forget command/ don't get removed||Player Modifiers||textbox::selection||Better Heat IF||Singleplayer RCON||tank bug w/ min_range >= projectile_creation_distance
My requests: uiAbove||Grenade arc||Blueprint allies||Creeps forget command/ don't get removed||Player Modifiers||textbox::selection||Better Heat IF||Singleplayer RCON||tank bug w/ min_range >= projectile_creation_distance
- eradicator
- Smart Inserter
- Posts: 5207
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: prototype for rotatable dummy with render_layer?
It should be rotatable if it has pictures for each direction. If it only has one pictures it's not rotatable (as far as i remember).
Re: prototype for rotatable dummy with render_layer?
this doesn't work:
pictures = {
{
filename = "__Transformers__/graphics/transformer/trafosprites-placer.png",
x = 233,
width = 233,
height = 155,
frame_count = 1,
shift = {2.6, -0.45}
},
{
filename = "__Transformers__/graphics/transformer/trafosprites-placer.png",
width = 233,
height = 155,
frame_count = 1,
shift = {1.5, -1.15}
},
{
filename = "__Transformers__/graphics/transformer/trafosprites-placer.png",
x = 699,
width = 233,
height = 155,
frame_count = 1,
shift = {2.6, -0.45}
},
{
filename = "__Transformers__/graphics/transformer/trafosprites-placer.png",
x = 466,
width = 233,
height = 155,
frame_count = 1,
shift = {1.5, -1.15}
},
},
pictures = {
{
filename = "__Transformers__/graphics/transformer/trafosprites-placer.png",
x = 233,
width = 233,
height = 155,
frame_count = 1,
shift = {2.6, -0.45}
},
{
filename = "__Transformers__/graphics/transformer/trafosprites-placer.png",
width = 233,
height = 155,
frame_count = 1,
shift = {1.5, -1.15}
},
{
filename = "__Transformers__/graphics/transformer/trafosprites-placer.png",
x = 699,
width = 233,
height = 155,
frame_count = 1,
shift = {2.6, -0.45}
},
{
filename = "__Transformers__/graphics/transformer/trafosprites-placer.png",
x = 466,
width = 233,
height = 155,
frame_count = 1,
shift = {1.5, -1.15}
},
},
mods.factorio.com/user/ownlyme
My requests: uiAbove||Grenade arc||Blueprint allies||Creeps forget command/ don't get removed||Player Modifiers||textbox::selection||Better Heat IF||Singleplayer RCON||tank bug w/ min_range >= projectile_creation_distance
My requests: uiAbove||Grenade arc||Blueprint allies||Creeps forget command/ don't get removed||Player Modifiers||textbox::selection||Better Heat IF||Singleplayer RCON||tank bug w/ min_range >= projectile_creation_distance
- eradicator
- Smart Inserter
- Posts: 5207
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: prototype for rotatable dummy with render_layer?
you're missing north=/south=/east=/west=
Re: prototype for rotatable dummy with render_layer?
i had to remove those because it said "Key "filename" not found in property tree at ROOT.simple-entity.trafo-1-placer.pictures"
mods.factorio.com/user/ownlyme
My requests: uiAbove||Grenade arc||Blueprint allies||Creeps forget command/ don't get removed||Player Modifiers||textbox::selection||Better Heat IF||Singleplayer RCON||tank bug w/ min_range >= projectile_creation_distance
My requests: uiAbove||Grenade arc||Blueprint allies||Creeps forget command/ don't get removed||Player Modifiers||textbox::selection||Better Heat IF||Singleplayer RCON||tank bug w/ min_range >= projectile_creation_distance
- eradicator
- Smart Inserter
- Posts: 5207
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: prototype for rotatable dummy with render_layer?
hm......yea, can't find it in base files or wiki. But. You already have a boiler and a generator, right, why not use those?
edit: Also an assembler producing burnable fluid, out of thin air, with a one tick recipe, and forbidden beacon effects...should not produce spikes on the input side.
edit: Also an assembler producing burnable fluid, out of thin air, with a one tick recipe, and forbidden beacon effects...should not produce spikes on the input side.
Last edited by eradicator on Sat Jul 07, 2018 8:28 pm, edited 1 time in total.
Re: prototype for rotatable dummy with render_layer?
it shouldn't show up in the energy grid and not show a warning icon when energy is missing...
maybe i could use alert_icon_scale but it would still show up in the power grid ui...
brb trying something...
maybe i could use alert_icon_scale but it would still show up in the power grid ui...
brb trying something...
mods.factorio.com/user/ownlyme
My requests: uiAbove||Grenade arc||Blueprint allies||Creeps forget command/ don't get removed||Player Modifiers||textbox::selection||Better Heat IF||Singleplayer RCON||tank bug w/ min_range >= projectile_creation_distance
My requests: uiAbove||Grenade arc||Blueprint allies||Creeps forget command/ don't get removed||Player Modifiers||textbox::selection||Better Heat IF||Singleplayer RCON||tank bug w/ min_range >= projectile_creation_distance
- eradicator
- Smart Inserter
- Posts: 5207
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: prototype for rotatable dummy with render_layer?
Code: Select all
energy_source = {
render_no_power_icon = false ,
render_no_network_icon = false,
}
Edit: Why should it not show up in the energy info GUI? My own implementation shows (paraphrased) "transformer input" on the input side, and "transformer output" on the output side.
bblater, eating something ;)
Re: prototype for rotatable dummy with render_layer?
yeah maybe a burner-boiler with hidden alert icon could work.. trying it now
(but can't that one be opened by clicking?)
(but can't that one be opened by clicking?)
mods.factorio.com/user/ownlyme
My requests: uiAbove||Grenade arc||Blueprint allies||Creeps forget command/ don't get removed||Player Modifiers||textbox::selection||Better Heat IF||Singleplayer RCON||tank bug w/ min_range >= projectile_creation_distance
My requests: uiAbove||Grenade arc||Blueprint allies||Creeps forget command/ don't get removed||Player Modifiers||textbox::selection||Better Heat IF||Singleplayer RCON||tank bug w/ min_range >= projectile_creation_distance
Re: prototype for rotatable dummy with render_layer?
an electrical boiler works, with the flags you gave me there are almost no flaws anymore.
(only that the entire entity shows its boundings when hovering with a pole)
thank you very much.
(only that the entire entity shows its boundings when hovering with a pole)
thank you very much.
mods.factorio.com/user/ownlyme
My requests: uiAbove||Grenade arc||Blueprint allies||Creeps forget command/ don't get removed||Player Modifiers||textbox::selection||Better Heat IF||Singleplayer RCON||tank bug w/ min_range >= projectile_creation_distance
My requests: uiAbove||Grenade arc||Blueprint allies||Creeps forget command/ don't get removed||Player Modifiers||textbox::selection||Better Heat IF||Singleplayer RCON||tank bug w/ min_range >= projectile_creation_distance