Valve Source Code 2013 Tutorial (Episode 34): Adding a Weapon Drop System

Channel:
Subscribers:
18,200
Published on ● Video Link: https://www.youtube.com/watch?v=n8nEfpta1xo



Half-Life 2
Game:
Duration: 0:00
971 views
43


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 demonstrate how you can add a weapon drop system into your mod, where the currently equipped weapon gets thrown away when the ConCommand DropPrimary is triggered. I also talk about some of the issues that exist with this feature and provide some fixes for them. Please let me know what you think and I will see you for whatever I decide to do next, thanks for watching!

► 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 --    / @gareththegamer1  




Other Videos By TheMaster974


2025-07-16Valve Source Code 2013 Tutorial (Episode 0.25): Windows, Linux & VPC Followups
2025-07-11Trying Out Pokémon Blue With The Archipelago Randomizer!
2025-07-05Source Shorts #28 - Modifying Player Effects (Shadows, Reflections and Monitors)
2025-07-02My Thoughts On #stopkillinggames
2025-06-29Source Mod Showcase #7: Half-Life 2 +
2025-06-27June 2025 Update - Lack of Videos, Tutorial Followups & More!
2025-06-09Source Shorts #27 - Modifying The Drainage Rate Of Suit Devices
2025-05-31Valve Source Code 2013 Tutorial (Episode 35): Implementing Hitmarkers/Hitnumbers
2025-05-23Valve Source Code 2013 Tutorial (Episode 34): Adding a Weapon Drop System
2025-05-10Source Shorts #26 - Changing Ejected Brass From Weapons
2025-05-02So The Infinite Finality Devs Responded...
2025-04-21Source Mod Showcase #6: Portal: Ultimate Edition
2025-04-18Source Shorts #25 - Changing The Developer Console Font & Text Size
2025-04-17Trying Out Super Mario 64 With The Archipelago Randomizer!
2025-04-15Source Mod Showcase #5: Air Exchange Retail
2025-04-12Source Shorts #24 - Fixing Disappearing Decals On NPCs Due To The Flashlight
2025-04-10Valve Source Code 2013 Tutorial (Episode 33): Adding a Custom Loading Image Dependent On The Map
2025-04-05Infinite Finality Just Got Cancelled? Here Are My Thoughts...
2025-04-02Source Shorts #23 - Fixing maxplayers Crash in Source 2013 Multiplayer Mods (Sort Of?)
2025-04-01Air Exchange Retail Demo
2025-03-27Source Shorts #22 - Enabling The sv_cheats Message in Source 2013 Singleplayer Mods



Other Statistics

Half-Life 2 Statistics For TheMaster974

At present, TheMaster974 has 80,494 views spread across 114 videos for Half-Life 2, and roughly a days worth of Half-Life 2 videos were uploaded to his channel. This is 9.78% of the total watchable video on TheMaster974's YouTube channel.