How to make the engineer's buildables stick to moving objects

  • If you're asking a question make sure to set the thread type to be a question!
Jan 31, 2008
555
1,482
Someone on the forums wanted to allow engineers to build on his moving train.
Here's an example map with this feature.
Download

This example only attaches dispensers and sentries.
This is because teleporters will make the moving platform stutter.
If you try to place a teleporter on it, it'll break instantly.

However, if you want it to attach teleporters anyway, change the trigger's filter to filter_buildables_only_noattached and remove the trigger_hurt.

It can sometimes stutter with dispensers and sentries as well though.
It's a bit buggy but it works!
 

Kraftwerk

L2: Junior Member
Jul 10, 2009
86
4
Someone on the forums wanted to allow engineers to build on his moving train.
Here's an example map with this feature.
Download

This example only attaches dispensers and sentries.
This is because teleporters will make the moving platform stutter.
If you try to place a teleporter on it, it'll break instantly.

However, if you want it to attach teleporters anyway, change the trigger's filter to filter_buildables_only_noattached and remove the trigger_hurt.

It can sometimes stutter with dispensers and sentries as well though.
It's a bit buggy but it works!
Could you turn this into a train prefab? That would be very helpfull!
 
Jan 31, 2008
555
1,482
Could you turn this into a train prefab? That would be very helpfull!

I think there are a few train prefabs out there already. Use one of those, then copy these entities and then parent the both triggers to the train. Then make the triggers cover the area where you want sentries and dispensers to get stuck.