Valve Source Code 2013 Tutorial (Episode 2.5): Fixing Physgun Bugs
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 Physgun tutorial I did nearly 5 years ago and fix some of the issues that I left outstanding at the end of that video. I will be covering how to fix phys-surfing while also resolving a game crash involving welded breakable props, but I'll also show how to add ammo pickups and implement a better reload feature (which also applies to the placing of gravity pellets). The audio from around 12:30 to 14:40 has some remaining noise present that I couldn't remove, this is because I used a new audio recording setup that I recently purchased and it was raining outside at the time of recording! I apologize for any inconvenience this may cause. Anyway, please let me know what you think and see you for whatever I decide to do next, thanks for watching!
Timestamps
00:00 Introduction
01:14 The Causes of the Aforementioned Issues
02:31 Physgun Client-side Code Changes
04:32 Adding the sk_max_gravity ConVar
05:16 Adding Physgun Ammo Item Pickups
07:13 Gravity Pellet Code Changes Part 1
10:05 Basics of a CUtlVector
11:02 Gravity Pellet Code Changes Part 2
13:55 Physgun Server-side Code Changes
23:18 Success?
23:55 Unresolved Issues
24:56 Garry's Mod Object Rotation Feature
25:26 Can the pelletlist_t struct be Removed?
26:30 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 -- / @gareththegamer1
► Episode 2 (Prerequisite): • Valve Source Code 2013 Tutorial (Episode 2...
Other Videos By TheMaster974
Other Statistics
Half-Life 2 Statistics For TheMaster974
At present, TheMaster974 has 83,593 views spread across 122 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.