Moving "Pistons" Created 19 years ago2005-04-21 21:27:40 UTC by HeAdCrAb KILLA HeAdCrAb KILLA

Created 19 years ago2005-04-21 21:27:40 UTC by HeAdCrAb KILLA HeAdCrAb KILLA

Posted 19 years ago2005-04-21 21:27:40 UTC Post #105232
Can anybody help me with some info on how to make some pistons that will move up and down. I am trying to make it so that the brush will move up and down and smash people! Like the ones in Half-Life in that awesome factory. You kno, the ones that kill you when yur on the belts. I am trying to use the func_door entity but I can't quite figure it out. - HeAdCrAb KILLA
Posted 19 years ago2005-04-21 21:37:33 UTC Post #105234
You will need to use trains.

I believe there is a train tutorial on this site by atom.

Look at it, and if you have any problems with it, ask me. I know tons about trains, since you can do almost anything with trains.

Make a brush (Your Piston) and turn it into a func_train. This obviously is what moves. You can place this anywhere in your map as long as it is not outside the map, because that will cause leaks. It doesn't matter where you put it.

Make a Path_corner (Point entity) where you want your train to start. name it something like "train1". Then, go into your func_train and make the "Path_corner" thing the same name as your path_corner. This will make your piston centered on the path_corner at the start of the map.

Then, you can make multiple path corners. Make sure that you make the "Next Path_corner" option on your first one be the name of your next path_corner.

I'm sure you can figure it out from there.

Any questions, please ask, I typed this in a hurry so its probably confusing, and I might have names entities different things ;)
Posted 19 years ago2005-04-21 21:44:54 UTC Post #105235
You could make the pistons func_walls, then have each piston func_wall target itself so it ossilates up and down. the only other thing you need is an auto_start or button or trigger_once to get them moving. Much simpler then using path_corners, imo.
Posted 19 years ago2005-04-21 22:02:53 UTC Post #105236
I'm not looking for a realistic piston with a crankshaft or anything, I just want something that will slide up and down. - HeAdCrAb KILLA
Posted 19 years ago2005-04-21 22:51:06 UTC Post #105237
Func_doors would work too if you dont want to use the path entities.
Posted 19 years ago2005-04-23 17:28:09 UTC Post #105543
I'm not looking for a realistic piston with a crankshaft or anything, I just want something that will slide up and down. - HeAdCrAb KILLA
did you read my post?

In order not to repeat myself, I will very simply say:

use a func_train
Posted 19 years ago2005-04-23 17:31:50 UTC Post #105546
I did use a func_train and it works well...thanks. - HeAdCrAb KILLA
Posted 19 years ago2005-04-23 18:32:55 UTC Post #105554
Your welcome ;)

If you need any more help, I would be glad to help
You must be logged in to post a response.