Half-Life SDK Programming #4.1: Creating new weapons

Опубликовано: 07 Июнь 2026
на канале: Admer456
10,697
376

Creating NEW weapon classes! Let's go!

The video is a bit rushed so I could release it right before Opposing The Bar, closed captions and cards will be added tomorrow, sorry!

Update 30-Sep-2023: Added subtitles!

Source code of this tutorial:
Desert Eagle: https://github.com/Admer456/hl-sdk-vi...
BetterWeapons integration: https://github.com/Admer456/hl-sdk-vi...

My Discord server:   / discord  
The Whole Half-Life: https://twhl.info/
BTW you can support me on Ko-fi: https://ko-fi.com/admer456

Timestamps:
00:00 - Intro gag
00:55 - The topic
02:04 - Adding a new weapon class
03:02 - Fixing up the .cpp file
03:48 - Max ammo, HUD position
05:24 - Replacing the model paths, fixing up animations
07:41 - Precaching the weapon and mirroring it on the clientside
08:45 - Copying assets to your mod folder
10:08 - Testing in-game
10:58 - Clientside prediction
12:59 - Testing again
13:18 - Intermission, BetterWeapons SDK
13:56 - Integrating BetterWeapons SDK into your mod
22:02 - Fixing an error in BetterWeapons
23:59 - Testing in-game, again
24:28 - Conclusion, what's next
25:15 - Outro gag