Search found 5 matches

by killzoms
Sun May 10, 2026 2:48 am
Forum: Modding help
Topic: not_colliding_with_itself does not appear to function under certain conditions
Replies: 7
Views: 384

Re: not_colliding_with_itself does not appear to function under certain conditions

I see. Alien Biomes changes the collision mask layers on all cars if they have the player layer.


Disregard this topic, Did not realize a mod adding additional biomes would additionally modify all CarPrototypes.
by killzoms
Sun May 10, 2026 2:35 am
Forum: Modding help
Topic: not_colliding_with_itself does not appear to function under certain conditions
Replies: 7
Views: 384

Re: not_colliding_with_itself does not appear to function under certain conditions

Here are the relevant collision masks. Where did Vehicle come from?
by killzoms
Sun May 10, 2026 2:10 am
Forum: Modding help
Topic: not_colliding_with_itself does not appear to function under certain conditions
Replies: 7
Views: 384

Re: not_colliding_with_itself does not appear to function under certain conditions

boskid, The collision masks are equal, the collision mask of MF Deploy is set directly with a deepcopy of the collision mask of Mobile Factory.

Player is set on both. The only reason I mentioned Player is because I tested with player set and without it set on both since MF Deploy's collision mask ...
by killzoms
Sat May 09, 2026 9:00 pm
Forum: Modding help
Topic: not_colliding_with_itself does not appear to function under certain conditions
Replies: 7
Views: 384

Re: not_colliding_with_itself does not appear to function under certain conditions

When attempting to place the MF Deploy entity that has the same collision mask as the Mobile Factory entity, having the player collision mask layer enabled causes not_colliding_with_itself to not function.

Code that copies the collision mask is local MobileFactory = data.raw.car.MobileFactory
local ...
by killzoms
Fri May 08, 2026 11:41 pm
Forum: Modding help
Topic: not_colliding_with_itself does not appear to function under certain conditions
Replies: 7
Views: 384

not_colliding_with_itself does not appear to function under certain conditions

used Collision mask that collides with a different Entity with a duplicate collision mask collision_mask = {
layers = {
player = true,
car = true,
train = true,
is_object = true,
layer_52 = true
},
consider_tile_transitions = true,
not_colliding_with_itself = true
}

The exact example ...

Go to advanced search