Moving platforms?

Aijeke

L1: Registered
Apr 21, 2016
12
0
Title. Is it possible to make floating platforms that follow a looping path? Probably, but here's the catch... I want to be able to build on the platforms as an engineer. Possible or not?

And yeah, I got the idea from Overwatch, where you can put Torbjörn sentries on moving platforms. It gave me motivation finish my map from way back... or rather, start all over.

I'm planning a final cap kinda like Barnblitz, but with the platforms. And for training mapping and the platforms, I'm gonna copy an old 007 multiplayer map as CTF map with mansions facing eachother with ski-lifts from mansion to mansion...
 
Last edited:

Da Spud Lord

Occasionally I make maps
aa
Mar 23, 2017
1,339
994
The best way to create a platform that moves along a set path would be to use func_tracktrain. However, we'll quickly run into a couple problems. Firstly, engineers can't build on top of func_tracktrain, at all. We can avoid this by parenting another entity that engineers can build on top of, such as func_brush, to the train. The second problem is that when placed on an entity, buildings won't actually stay attached to the platform and will remain in place long after the entity has left, leaving us with a floating engineer building. We can use a trigger_multiple entity to detect when an engineer builds on the platform and parent their building to the platform. You can see all of this in the example VMF/BSP attached to this post.

(Some issues to note: Dispensers don't seem to update their trigger area when parented, so the area of effect of a dispenser will remain where the dispenser was built while the dispenser's physical model floats away. Teleporters function as expected, but some of the particle effects look a bit off while it is moving and the arrow on the teleporter entrance does not update to continuously point at the exit.)
 

Attachments

  • test_buildplat.vmf
    30.8 KB · Views: 69
  • test_buildplat.bsp
    170.3 KB · Views: 83

Aijeke

L1: Registered
Apr 21, 2016
12
0
Cool, thanks for the information, I'll try it out.

I'm wondering if there is some sort of way to remove the ability to build dispensers, while keeping it possible for sentries and teleports... sounds pretty convoluted and I doubt it. I'm afk until tomorrow, will start experimenting then, any help is appreciated!