(Goldsrc) Spinning blocks Created 4 years ago2019-04-25 17:23:20 UTC by NiX14 NiX14

Created 4 years ago2019-04-25 17:23:20 UTC by NiX14 NiX14

Posted 4 years ago2019-04-25 17:23:20 UTC Post #342513
Hi, i couldn't find anywhere information on how to make a certain block spin, im making a obstacle course and i want to add those in, also im looking for a way to make blocks act like in this video https://youtu.be/eNL_4HOhB-w?t=143 where they go up and down. Also im using sledge fyi.
Posted 4 years ago2019-04-25 17:47:00 UTC Post #342514
For the rotating blocks, you will need to create your block, create another block with the "origin" texture to act as the point of rotation and then turn it into an func_rotating entity. You can see an example of how to do that in this tutorial.

For the pistons, there are a number of ways of doing it. The simplest method would be to use func_train. Check BrattyLord's response in this thread.
monster_urby monster_urbyGoldsourcerer
Posted 4 years ago2019-04-25 18:19:13 UTC Post #342515
Ah ok i'll give it a shot, i tried it before but i didn't use origin block.

Edit: Also i know how to use train function, never thought about using it though, thanks for the help.
You must be logged in to post a response.