

![]() |
| Please help us to raise in the ranks of podcasting and subscribe to our itunes feed using the link above. |
|
This tutorial will show you how to add an elevator in your multiplayer map.
Elevator in Multiplayer This tutorial will show you how to add an elevator in your multiplayer map. The majority of the process of putting an elevator in your map is script work - however i will walk you through the entire process. First create your elevator out of brushes. Select them all and right click in the 2d window and make them a script_brushmodel. Press "N" to bring up the entity editor and give them the key targetname and the value elevatormodel. Now we will add the button. Right click in the 2d window and click misc then model. Close the browser window and in the entity editor enter the key model and the value xmodel/switch1. (I accidentally created mine as a script_model - but it will work either way). Move the button into position. Then, using textures common/trigger, draw out the trigger area. (this is where the button will be pressable). Right click in the 2d view and click trigger and use. Press "N" to bring up the entity editor and give the trigger_use the key of targetname and the value elevatorswitch. Texture the visible faces of your elevator. That is it for the map...now onto the scripting First, for sounds - create a .csv file using the following information.
.csv information courtesy of Sgt. Skywalker Now we need a .gsc to make the elevator work...you can save it as whatever you want - just make sure you call on it in yourmap.gsc. main() { .gsc courtesy of LordBlank, enhanced by Snakeshift and modified by Sgt. Skywalker Also note: If you put in see the tutorial Getting Started in Scripting for more information on this. |
Latest MODSonline Poll
MODSonline Teamspeak
Partners of MODSonline
Friends of MODSonline
|