Uploaded September 2022 | Updated November 2026, 3 hours ago
Hey everyone and welcome to another viewer requested Hammer tutorial, today I am showcasing how to create random trains. This will be achieved by using the razor train models from Half-Life 2 (you can do this for any trains that have approximately the same length), a logic_timer, a couple of logic_case entities, some logic_relay entities and point_template/env_entity_maker entities for train spawning. This tutorial creates an effectively randomized (pseudorandom) razor train with varying length and carriage setup. Hopefully you find this helpful, please let me know what you think and I'll see you next time for whatever I decide to do! Thanks for watching.
► You can buy me a coffee to support the effort of creating videos on my new channel! -- buymeacoffee.com/gareththegamer
► My new channel: GarethTheGamer -- youtube.com/channel/UC36qEnApR9ua9eDjaRLYcbA
Hey everyone and welcome to another viewer requested Hammer tutorial, today I am showcasing how to create random trains. This will be achieved by using the razor train models from Half-Life 2 (you can do this for any trains that have approximately the same length), a logic_timer, a couple of logic_case entities, some logic_relay entities and point_template/env_entity_maker entities for train spawning. This tutorial creates an effectively randomized (pseudorandom) razor train with varying length and carriage setup. Hopefully you find this helpful, please let me know what you think and I'll see you next time for whatever I decide to do! Thanks for watching.
► You can buy me a coffee to support the effort of creating videos on my new channel! -- buymeacoffee.com/gareththegamer
► My new channel: GarethTheGamer -- youtube.com/channel/UC36qEnApR9ua9eDjaRLYcbA









![Valve Source Code 2013 Tutorial (Episode 4.5): Why Skybox Clipping Happens [When FOV>90°]
Hello everyone and welcome to a new (probably short) series of videos I do involving the source code from Valve for Half-Life 2, and some guides on how to do stuff with this code. In this episode, I followup on the FOV tutorial I did a while back and fix the fov_desired ConVar in Source 2013 Multiplayer mods, while also investigating the cause of skybox clipping/culling when large FOVs are used. I wanted to tell a story in this video about how fixes might be simple, but implementing fixes can be difficult given the circumstances, let me know if you liked the investigation portion of the video! Please let me know what you think and see you for whatever I decide to do next, thanks for watching!
Ghidra tool: https://github.com/NationalSecurityAgency/ghidra
Timestamps
00:00 Introduction
00:53 Fixing the fov_desired ConVar for Multiplayer Mods
04:36 Investigating the Skybox Clipping Issue
14:36 Outro
► You can buy me a coffee to support the effort of creating videos on my new channel! https://www.buymeacoffee.com/gareththegamer
► My new channel: GarethTheGamer https://www.youtube.com/channel/UC36qEnApR9ua9eDjaRLYcbA
► Episode 4 (Prerequisite): https://youtu.be/Jm-V_n51cOM Valve Source Code 2013 Tutorial (Episode 4.5): Why Skybox Clipping Happens [When FOV>90°]](https://i.ytimg.com/vi/jbuMmUxKyHQ/mqdefault.jpg)
