Uploaded December 2025 | Updated September 2026, 18 hours ago
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 full holster sequence tutorial I did a while ago by resolving an issue that I talked about at the end of the tutorial, while also fixing some issues that I didn't realize existed. These issues include the Gravity Gun's effects being present on other weapons, weapon viewmodels disappearing when grabbing then dropping physics props repeatedly, performing attacks when throwing physics props and glitchy reload animations when switching weapons. I outline my fixes for these problems and the reasons why these issues occur in the first place. I also try out a live recording style for this video, hopefully you like it! Please let me know what you think and see you for whatever I decide to do next, thanks for watching!
GitHub page: github.com/TheMaster974/source-code-tutorials
Timestamps
00:00 Introduction
00:26 Summary of known issues
01:50 Preventing the player from attacking when throwing/dropping a physics prop
03:15 Stopping Crossbow zooming when dropping a physics prop
04:46 Preventing attacks when switching weapons in Source 2013 Multiplayer mods
07:10 Stopping the Gravity Gun's effects from displaying on other weapons
08:55 Fixing disappearing viewmodels
11:02 Stopping automatic/glitchy weapon reloads
14:07 Outro
► 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
► Episode 26 (Prerequisite): youtu.be/ynqe095PlYk
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 full holster sequence tutorial I did a while ago by resolving an issue that I talked about at the end of the tutorial, while also fixing some issues that I didn't realize existed. These issues include the Gravity Gun's effects being present on other weapons, weapon viewmodels disappearing when grabbing then dropping physics props repeatedly, performing attacks when throwing physics props and glitchy reload animations when switching weapons. I outline my fixes for these problems and the reasons why these issues occur in the first place. I also try out a live recording style for this video, hopefully you like it! Please let me know what you think and see you for whatever I decide to do next, thanks for watching!
GitHub page: github.com/TheMaster974/source-code-tutorials
Timestamps
00:00 Introduction
00:26 Summary of known issues
01:50 Preventing the player from attacking when throwing/dropping a physics prop
03:15 Stopping Crossbow zooming when dropping a physics prop
04:46 Preventing attacks when switching weapons in Source 2013 Multiplayer mods
07:10 Stopping the Gravity Gun's effects from displaying on other weapons
08:55 Fixing disappearing viewmodels
11:02 Stopping automatic/glitchy weapon reloads
14:07 Outro
► 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
► Episode 26 (Prerequisite): youtu.be/ynqe095PlYk






![Valve Source Code 2013 Tutorial (Episode 0 Alt): Downloading and Compiling the Code [Linux + Docker]
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 alternative introductory episode, I go over how to download (and get into a position to compile) the 2013 source code on Linux operating systems using what is known as the docker or container method, including the Steam Deck! I do not, however, go over how to get into a position to debug the code (I actually dont know how to do this right now on Linux!). Please note this only applies to the Source 2013 Singleplayer code and the pre-Team Fortress 2 32-bit version of the Source 2013 Multiplayer code. Please let me know what you think and see you for whatever I decide to do next, thanks for watching!
Episode 0: https://youtu.be/Vbs2RDUzUBM
Tutorial Basis: https://developer.valvesoftware.com/wiki/Setting_up_Source_SDK_Base_2013_Singleplayer
Timestamps
00:00 Introduction
00:59 Getting Steam & Source 2013 Singleplayer/Multiplayer
02:07 Downloading the Source 2013 code
04:17 Creating the make projects
06:30 Installing docker
11:10 Accessing the docker container
14:00 Issues with the docker method
15:32 How to add your Source mod into your Steam library
16:16 Source 2013 Singleplayer doesnt work on Linux?
16:54 Issues with SDL
17:24 Gamepad UI warnings with the chroot method
17:44 Outro
► My new channel: GarethTheGamer https://www.youtube.com/channel/UC36qEnApR9ua9eDjaRLYcbA
► My Discord server: https://discord.gg/AynhkAED4S Valve Source Code 2013 Tutorial (Episode 0 Alt): Downloading and Compiling the Code [Linux + Docker]](https://i.ytimg.com/vi/Cfa-rZeZYwI/mqdefault.jpg)


![Valve Source Code 2013 Tutorial (Episode 0 Alt): Downloading and Compiling the Code [Linux + chroot]
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 alternative introductory episode, I go over how to download (and get into a position to compile) the 2013 source code on Linux operating systems using what is known as the chroot method, including the Steam Deck! I do not, however, go over how to get into a position to debug the code (I actually dont know how to do this right now on Linux!). Please note this video was made before the Team Fortress 2 code was added to Valves GitHub, so this guide only applies to the Source 2013 Singleplayer code and the pre-Team Fortress 2 32-bit version of the Source 2013 Multiplayer code. Please let me know what you think and see you for whatever I decide to do next, thanks for watching!
Episode 0: https://youtu.be/Vbs2RDUzUBM
Tutorial Basis: https://developer.valvesoftware.com/wiki/Setting_up_Source_SDK_Base_2013_Singleplayer
Timestamps
00:00 Introduction
00:30 Setup
03:16 Acquiring the Source 2013 code
04:13 Creating the make projects
05:51 Getting the Steam Client Runtime
07:57 Compiling the Source 2013 code
08:55 How to add your Source mod into your Steam library
10:04 Using a script to start code compilation
11:36 Adding new code files
14:00 Consideration for Steam Deck users
14:16 Testing the code
15:22 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 Valve Source Code 2013 Tutorial (Episode 0 Alt): Downloading and Compiling the Code [Linux + chroot]](https://i.ytimg.com/vi/EO-HezjKgvQ/mqdefault.jpg)
