[0.18.2] (Minor Bug) Triggeraction:: create-entity + offsets = delayed

Things that we don't consider worth fixing at this moment.
User avatar
ownlyme
Filter Inserter
Filter Inserter
Posts: 433
Joined: Thu Dec 21, 2017 8:02 am
Contact:

[0.18.2] (Minor Bug) Triggeraction:: create-entity + offsets = delayed

Post by ownlyme »

when i create the offsets by using a shift in the sprite, everything is synced.
But when i do it by declaring offsets in the create-entity trigger action, often something will be delayed by 1 tick.
Screenshot_2.png
Screenshot_2.png (1.13 MiB) Viewed 1594 times

Code: Select all

source_effects =
{
	...
	{
		type = "create-entity",
		entity_name = "MCRR-uranium-explosion-LUQ"..size_suffix,
		trigger_created_entity = "true",
		offsets = {{-16*scale, -16*scale}},
		check_buildability = false
	},
	{
		type = "create-entity",
		entity_name = "MCRR-uranium-explosion-RUQ"..size_suffix,
		offsets = {{16*scale, -16*scale}},
		check_buildability = false
	},
	{
		type = "create-entity",
		entity_name = "MCRR-uranium-explosion-LLQ"..size_suffix,
		offsets = {{-16*scale, 16*scale}},
		check_buildability = false
	},
	{
		type = "create-entity",
		entity_name = "MCRR-uranium-explosion-RLQ"..size_suffix,
		offsets = {{16*scale, 16*scale}},
		check_buildability = false
	},
mod is too big to attach

i ended up doing it different since posila (edit: and bilka) explained to me that the rendering distance is affected by collision box, so it's no big deal...
Last edited by ownlyme on Sat Feb 01, 2020 7:25 pm, edited 1 time in total.
creator of 52 mods
My requests: relAbove||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
posila
Factorio Staff
Factorio Staff
Posts: 5409
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.18.2] (Minor Bug) Triggeraction:: create-entity + offsets = delayed

Post by posila »

It's classic case of some entities being created on chunks there were already updated, others on chunks that haven't been updated this tick yet. No plans to fix this, sorry. (btw. Bilka explained the collision box thing)
User avatar
ownlyme
Filter Inserter
Filter Inserter
Posts: 433
Joined: Thu Dec 21, 2017 8:02 am
Contact:

Re: [0.18.2] (Minor Bug) Triggeraction:: create-entity + offsets = delayed

Post by ownlyme »

sorry i meant bilka.. wasn't very concentrated after splitting 4 spritesheets into 16^^ but i'm still glad i didn't have to use them...

still the solution isn't very elegant to use the collision box for that because now i can't really make my scorchmarks collide with water... w/e doesn't look so much out of place
creator of 52 mods
My requests: relAbove||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
User avatar
ownlyme
Filter Inserter
Filter Inserter
Posts: 433
Joined: Thu Dec 21, 2017 8:02 am
Contact:

Re: [0.18.2] (Minor Bug) Triggeraction:: create-entity + offsets = delayed

Post by ownlyme »

wow ... i stripped everything except the animated dummies and when i spam rockets it TANKS the performance... whats going on here??
they are type explosion with huge collision boxes (like 128x128 or so).. i can upload a demo tomorrow... i think you might find this interesting
creator of 52 mods
My requests: relAbove||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
posila
Factorio Staff
Factorio Staff
Posts: 5409
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.18.2] (Minor Bug) Triggeraction:: create-entity + offsets = delayed

Post by posila »

Not really. I don't find "oh hey, look, if I ask the game do this thing that's completely outside of limits it was designed for, it's sloooooooow" particularly interesting.
Post Reply

Return to “Won't fix.”