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

Discussion in 'Mapping Questions & Discussion' started by Acegikmo, Aug 16, 2009.

  1. Acegikmo

    aa Acegikmo

    Messages:
    555
    Positive Ratings:
    491
    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!
     
    • Thanks Thanks x 8
  2. Kraftwerk

    Kraftwerk L2: Junior Member

    Messages:
    86
    Positive Ratings:
    4
    Could you turn this into a train prefab? That would be very helpfull!
     
  3. Acegikmo

    aa Acegikmo

    Messages:
    555
    Positive Ratings:
    491
    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.
     
  4. re1wind

    aa re1wind

    Messages:
    644
    Positive Ratings:
    382
    Hehe, this creates some interesting payload options...^_^