Source Shorts #20 - How To Use Existing Code as a BaseClass to Extend Functionality

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



Duration: 0:00
499 views
27


How do I even title this? Anyway, welcome to another Source Shorts video! Today, I am looking into a way you can use existing code (for example, the Metrocop code) and use it as a BaseClass to extend functionality. This could include stuff like modifying health, adding unique interactions and more. The reason I am doing this is because I will be doing something similar with the Flash Grenade (the previous Source Shorts video) when I get around to adding that code to my GitHub page. Hopefully what I say in the video makes sense, I don't feel particularly happy about how this turned out but as always, please let me know what you think and I'll 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-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
2025-03-19Trying Out The Half-Life 2 RTX Demo!
2025-03-11Source Mod Showcase #4: Beta-Life 2
2025-03-09Source Shorts #21 - Changing Source 2013 Multiplayer Player Models
2025-03-07Valve Source Code 2013 Tutorial (Episode 32): Adding an Animated Background Menu
2025-03-06March 2025 Update - Channel Monetization Update
2025-02-20Valve Source Code 2013 Tutorial (Episode 0 Alt): Downloading and Compiling the New TF2/HL2MP Code
2025-02-19Source 2013 Just Had a BIG Update, Let's Take a Look At It!
2025-02-18Source Shorts #20 - How To Use Existing Code as a BaseClass to Extend Functionality
2025-02-14February 2025 Update - 'The List' & Other IRL Updates
2025-02-02Source Shorts #19 - Creating a Flash Grenade
2025-01-12Valve Source Code 2013 Tutorial (Episode 29.5): Achievements in Steam & Notifications
2025-01-04Valve Source Code 2013 Tutorial (Episode 31): Implementing Gamepad UI
2024-12-27Source Mod Showcase #3: Half-Life: Interlude
2024-12-25How I Added The Thermal Discouragement Beam To Portal 1 (Christmas 2024 Special)
2024-12-22Source Mod Showcase #2: Infinite Finality
2024-12-17Gareth Plays: Dark Interval Part 2 - Part 4 (I Screwed Up! But I Finish The Mod)
2024-12-16Gareth Plays: Dark Interval Part 2 - Part 3 (Taking Down A Helicopter!)
2024-12-15Gareth Plays: Dark Interval Part 2 - Part 2 (Escaping The City)