Ads keep us online. Without them, we wouldn't exist. We don't have
paywalls or sell mods - we never will. But every month we have large bills
and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3
How to make an elevator with a button in it.
- A Tutorial for Counter-Strike 1.6
In this tutorial I'll show you how to make an elevator with a button in it,you can add a button out of it too if you wish in case you want to be able to call the elevator if it's on a different floor.
Make the elevator including the button. (Don't make the button brush a func-button,I'll explain that on the next steps.
Select all the parts including the button you made and turn it into a func_train entity.
For this tutorial I will name the elevator elevator1.
In the "First stop target" field type stop1.
Add a path_corner entity in the center of your elevator,that's where your elevator will be at when the map starts..By center I mean that it has to be centered in every view (top,front and side).But even if you won't get it right on the first time you can change it's location later.
Then again it depends on how big you made the brushes so don't add the entity the exact same way I did.
Now choose the path-corner entity and press alt+enter to view its properties and name it stop1.
In "Next stop target" type stop2.
Make another path-corner entity at the location you want the elevator to go when you activate it.Name that entity stop2 but the next stop target is going to be stop1.
Now go to where you made the button brush and make another brush in it (preferably the same size).Select it and turn it into a func-button entity.
In the target filed add "elevator1".Change its render mode to "Texture" and the FX amount to 0 so it's invisible.Check "Don't Move" in its flags.
That is going to look like you're pressing the fake button you made on the elevator,but you will actually use the invisible one.Why?Because you can't make a moving button so instead you make this trick in order to make it look like your elevator has a button.The fake one works as a location indicator for the invisible one.