Source SDK Tutorial - ELEVATORS, TRAINS AND TRACKS

Аватар автора
Обучающие уроки по стилизации кода
It&so exciting it needs capital letters! In this tutorial I&show you how to make a platform escort you across a massive ravine of almost certain peril. Do it vertically and it will become a lift! Make a looping track and you can make a runaway train! Oooh exciting stuff. As for a train which toggles between two points when you press the button, before stopping at its destination, I&suggest measuring the distance between the two destinations (ie, 1024 units on the editor), and dividing it by the speed that the train moves at (such as 64 units per second). This leaves us with 16 seconds exactly between points, so you add 2 outputs to the button. On 0 seconds, start it, on 16 seconds, stop it. Perfect timing, every time. Have fun. (This is another reason to use proper measurements when making maps) Check out my channels: Other information you might like: ● PC Specs: Intel 6300 @ 2.6 Ghz, 8 GB RAM, Geforce 8800 GTS 640 MB.

0/0


0/0

0/0

0/0