A gentle introduction to Half-Life's weapon system.
Source code of this tutorial: 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:23 - The topic
00:57 - Where everything is
01:16 - Base weapon class
02:18 - From CBasePlayer to PrimaryAttack
03:04 - Crowbar study
03:29 - CLIENT_DLL macro
04:25 - PLAYBACK_EVENT_FULL
04:59 - Let's edit some weapon code
05:20 - Explosive crowbar example
06:07 - Semi-auto pistol example
07:25 - A little caveat
08:10 - Changing weapon stats
09:22 - Conclusion
10:23 - Outro gag