Half-Life SDK Programming #0: Introduction

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ต.ค. 2024

ความคิดเห็น • 104

  • @p1xelb1t18
    @p1xelb1t18 ปีที่แล้ว +17

    (sorry for my bad english, I'm not english native speaker)
    Since I was 8 years old I wanted to make a goldsrc game with my brother, today I'm 21 and I don't have time like in the old days. So one day when I was doing my job, I remembered the times when I was a kid, then I searched for some forums and tutorial videos on how to make mods and stuff like that, and suddenly I found this wonderful TH-cam channel.
    Since I found your youtube channel, I wanted to do something with this magnificent game engine. My hope in making things like 3d models, maps and simple modifications in some files is back, maybe not a big deal, but it's how anyone starts.
    I hope you stay more active in making videos, because I like them so much!!!

  • @barneytf2
    @barneytf2 ปีที่แล้ว +15

    I'm very glad to see this tutorial series! I wanted to make my own HL mod 3 years ago, but I didn't find normal tutorials. Thank you man very much!

    • @Admer456
      @Admer456  ปีที่แล้ว +2

      Funnily enough, this series started nearly 3 years ago. Oh the good old times. But yeah, you're welcome!

  • @FranticDreamerOld
    @FranticDreamerOld ปีที่แล้ว +14

    Admur: Remastered

  • @feverd
    @feverd ปีที่แล้ว +17

    Absolutely top-tier intro tutorial here. Can't wait to see more!

  • @arrowspawn2ndchannel
    @arrowspawn2ndchannel 2 หลายเดือนก่อน +1

    me being a failure of a programmer, this is the most intimidating coding playlist introduction ive watched so far lol
    i love the video though, its got a lot of information but it does bring back images of my content heavy "Data Structures and Algorithms" university paper (which i failed 3 times) havent started coding yet but fingers crossed it goes okay might cry later

    • @Admer456
      @Admer456  2 หลายเดือนก่อน +1

      @@arrowspawn2ndchannel It's okay, I failed DSA 2 times and along with 8 other failed subjects, I have basically given up on college
      It is meant to be intimidating, by the way. I'm just showing the reality of what you need to know, so you can have a fairly smooth ride in HL SDK. But you'll be fine. Read and study the code, so you can know what does what, so you can know what to edit once you have a particular feature in mind
      Also you can just ask me for explanations, that's partly what I'm here for lol

  • @DeanAmx
    @DeanAmx ปีที่แล้ว +7

    Thanks for featuring my z-virus mod!
    Tbh your vs setup video that really open programming world to me. I had been finding some proper tutorials for noobs. And also i had no basic programming and i learnt with blood and iron 😂

  • @KardiOff
    @KardiOff 3 หลายเดือนก่อน +1

    Bro thanks for tutorial that was my dream of my life to make mod on Half-Life by gold source , i can't it explains , i actually found tutorial for gold source trough 1 year and now i actually found it , thanks (sorry if i ride the text incorrect i don't know English pretty good ) again thanks 😄

  • @VLuddd
    @VLuddd 3 หลายเดือนก่อน +2

    Studying for tomorrows exam ❌️
    Watching a playlist full with gold source SDK tutorials ✅️

  • @sirspongadoodle
    @sirspongadoodle 3 หลายเดือนก่อน

    im not half life programming, however anyone who is willing to make a tutorial on a niche thing such as this i respect...

  • @johnreich1878
    @johnreich1878 ปีที่แล้ว +1

    Finally a tutorial thats NOT OUTDATED

  • @svts9308
    @svts9308 ปีที่แล้ว +5

    Oh yeeeeee! 12 years ago I've started digging into the goldsource mapping and learning c++. That was hobby
    Now, I'm 7+ years unity technical artist, making my own tools for game engine and 3d packages. Really glad to see goldsource coding tutorials! thank you man!

    • @Admer456
      @Admer456  ปีที่แล้ว +1

      That is an amazing story!

  • @c0rd0vez183
    @c0rd0vez183 ปีที่แล้ว

    Learning codes and mapping should be my new years resolution

  • @a-tech5452
    @a-tech5452 ปีที่แล้ว +2

    Hey bro. Not sure if you remember me. Im that one guy from the old tutorial who started blogging his progress of learning C++. It's been 1 year and I have returned.
    I haven't actually learned that much, but I managed to create a text based RPG with over 1000 lines of code. You can fight stuff and buy stuff and it's pretty cool. It only has one logic error as of right now. I also took a year long Python programming course.
    Anyway after that wacky journey, I have returned, and I can confidently say I understood the code you showed at 2:11
    I am ready

    • @Admer456
      @Admer456  ปีที่แล้ว +2

      The epic comeback you've all been waiting for.
      He is strong.
      He is determined.
      He is *ready.*

  • @Alzter0
    @Alzter0 ปีที่แล้ว +1

    I love programming stuff like this!!

  • @vesk4000
    @vesk4000 ปีที่แล้ว +3

    Wow, this is so cool! I've always wondered how games are modded. It feels like games didn't support modding very much back in the day, yet there were so many mods (maybe because game engines were not as accessible). So how did people mod these games? How did they know how to mod them? I'd say I'm a fairly good programmer in a variety of languages, including C++ and I've also done quite a bit of game programming in engines like Godot and Game Maker. Yet, this whole modding thing still seems so mysterious to me, which is why I'm excited I found your series!

    • @Admer456
      @Admer456  ปีที่แล้ว +2

      Ooh I love this question!!!!
      Game modding is exactly what it says: modifying an existing game. In engines like Godot, Unity, GameMaker etc., you are basically creating a game from the ground up. In 90s games, I mean, you got the entire game basically done. It helps engines were designed the way they were to support modding basically out of the box.
      What sometimes happened is, some companies in the 90s would release actual mod SDKs for their communities, together with just a little bit of documentation, and enthusiasts would figure things out by experimenting, then build websites to host their findings and later do tutorials, forums and all that kinda stuff. That's how it was back then. It's not much different than today, except companies do not bother at all to make any kinda mod SDKs, so I'd say games are WAY less moddable these days, albeit with some caveats and exceptions as always. And instead of forums, you got Discord servers, though I still see the occasional wiki and even forum, which is a good sign.
      Truth is, yeah, you needed to be quite a power user to be able to work with these engines, and you needed a high amount of tolerance for what we'd now consider to be very janky and cumbersome workflows, but back then that was the norm. Drag'n'drop file X into commandline app Y, and get compiled file Z, copy that into your game. Doesn't look good? Repeat the process. If a game got the attention of the right people, there would even be updated, community-made tools, kinda like how it is with Half-Life. We got new map editors, new texture tools, IO plugins for the latest versions of Blender and 3DS Max, and updated game code.
      Speaking of which, yeah, modding a game is basically figuring out a tool for a given purpose and using it to either modify existing game files or create new ones. Sometimes these tools are custom-made for the engine (WAD editors for instance), other times they're industry-standard (Blender for modelling, Visual Studio for programming etc.).
      With programming specifically, you get an entire game's worth of code, all the weapons, NPCs and other stuff, so all you gotta do is figure out the code a bit, and start editing it. It's terribly easy to just quickly hack'n'patch and cobble some things together, which is what attracted a whole lot of non-programmers. Some later became programmers, others still go around and ask people like me for help, which is fine, that's kinda why I'm here. But yeah, that's the gist of it!
      Personally I learned C++ with SDL2 in 2018, then I thought "Hmm what if I tried Sven Co-op AngelScript?", and then "Hmm what if I port my AngelScript thingy to Half-Life SDK i.e. C++?". I already knew TWHL and Sourcemodding from prior experience in 2015, except in 2018 I actually understood code for once, so that kinda helped me get familiar with some basic things in the SDK. Later, through experimentation, practice and consulting some folks like Shepard and Solokiller on TWHL Discord, I managed to get a much more thorough understanding of GoldSRC.
      Funnily enough, reading and working with the Quake 3 source code (despite being a lot different than Q1 which GoldSRC is based on) helped me understand the inner workings of GoldSRC even more. Suddenly all variables in entvars_t made sense, as well as the mysterious comments about "linking". You will know once you see it, trust me.

    • @vesk4000
      @vesk4000 ปีที่แล้ว +1

      @@Admer456 Thanks so much for the thorough response! This is all very fascinating to me.
      I wasn't aware that, even years ago, some developers released modding SDKs for their games (I actually thought it was a more recent thing, mostly from more "indie" developers). I sort of assumed that modding was mostly decompilation magic and a ton of trial and error, which seems very difficult. Maybe that's why the Valve in particular had some very big mods come out for it's games like CS, TFC, GMod 🤔
      Searching about how mods-turned-games like Counter-Strike and Team Fortress were made turns up no good results (I'm looking for the nitty-gritty details, which I assumed would be readily available, since the games are so popular, but apparently not quite). Information about modding, even popular games, seems much more scarce compared to information about creating games with engines like Unity, Godot, Unreal etc. It's a big reason why modding seems a lot harder to me. But there are so many mods for so many games, many of which I assume don't have good mod support or any support at all.
      Anyways, I'm looking forward to watching the rest of the series, even though I don't plan to make Half-Life mods. I'm just very curious and this seems really interesting to me!

    • @Admer456
      @Admer456  ปีที่แล้ว +1

      @@vesk4000 I think one aspect of why we have so little information on e.g. how Counter-Strike was exactly made, is because a lot of old websites are pretty much extinct and they weren't even archived.
      I would be quite certain some of these mods had their own websites and blogs (how else would you get your mod out there? There was no ModDB til I was born!), and you could easily read about challenges they faced, how stuff evolved etc.
      The big mods were certainly made by folks who were a bit more experienced with Doom or Quake. One of the initial authors of CS worked on Navy Seals (Minh Le?), which is basically Counter-Strike singleplayer for Quake. So that guy already had quite a bit of solid experience with modelling and programming, and obtaining a code SDK from Valve and doing magic with GoldSRC was just a little upgrade from previous tech.
      Team Fortress Classic wasn't *really* a mod-turned-game AFAIK, it was more Valve going like "Oh hey, some folks made this Team Fortress mod for Quake and it's loved by tons of people, let's try and reimagine it in GoldSRC". Same goes for Deathmatch Classic, they just kinda wanted to show off what you can do with Half-Life SDK.
      One thing is for sure though, if it hadn't been for Quake modders, Half-Life modders would've had a pretty tough time. The most enthusiastic early HL modders were basically really experienced Quake modders who knew Quake engine quite well, and I'd even go as far as to say GoldSRC was likely seen as how we see Quake sourceports today, if you've ever heard of Quakespasm or Darkplaces. Community-made Quake engine forks with increased limits. That's what GoldSRC kinda represented at the time, and it was The Next Thing for anybody who had a game idea and wanted to make it come true.
      For instance, a lot of the knowledge about the BSP format basically carried over to GoldSRC, almost 1:1. By 2000 or 2001 we already had the first community-made BSP compilers, though it was majorly all thanks to a Gearbox employee who went by the name Zoner online. Hence Zoner's Half-Life Tools / ZHLT if you ever come across those. Nowadays we have Vluzacn's HL Tools / VHLT, and I have my own fork of it for some experimental features.
      Now, around 2001, I guess folks were more into Quake 3, UT99 and Half-Life, there wasn't all that much Q1 around, but HL had become its own thing already. There were tons of modding websites, and you could in fact make a really damn good HL mod (Poke646, HL: Invasion) basically without any knowledge of Quake. You had enough tutorials & forum folks to help you with some basic things, and the rest was practice, studying design and experimenting.
      2003 is *likely* when HL modding was at its peak, then HL2 came out and I believe HL1 modding just kinda plateaued there. It had its peak, and then came the stagnation, and then the downfall. In recent years though, it seems like it's having an uprise again? I sure appreciate being part of the cause, if that's so.
      Now, please do take all I said above with a few pinches of salt, because I'm born in 2002 and everything I'm saying is just my educated guess mixed with some recalls from the real OGs on TWHL.
      Well anyway, I'll stop boring you to death with these walls of text, I'm just kinda rambling, so enjoy the series! I plan on covering non-programming topics at some point, but that's a year or so away from now.

    • @vesk4000
      @vesk4000 ปีที่แล้ว +2

      @@Admer456 Wow, you do seem very knowledgeable about this stuff. Thanks, again, very interesting stuff!

  • @sandrostupid7602
    @sandrostupid7602 3 หลายเดือนก่อน

    I'm back and ready to start tutorial

  • @bunbuncloudy
    @bunbuncloudy ปีที่แล้ว

    We needed one of these tutorials in youtube. Thanks for making awesome tutorials!

  • @Captured.-fr3mu
    @Captured.-fr3mu 2 หลายเดือนก่อน

    Now, i may have used this tutorial for source, but this kinda helped.

    • @Admer456
      @Admer456  2 หลายเดือนก่อน

      @@Captured.-fr3mu I am impressed and lowkey terrified

  • @LedgendaryPlayer
    @LedgendaryPlayer ปีที่แล้ว +1

    "Very moddable game UwU crowbar go whack whack owo" -Some guy telling us not to use half life source

  • @arandomguythatdoesntpost
    @arandomguythatdoesntpost ปีที่แล้ว +1

    PERFECT TIME

  • @Pulkz
    @Pulkz ปีที่แล้ว

    i lov this pls never stop thx

  • @rederen3350
    @rederen3350 ปีที่แล้ว

    LETS GO BRO THE WAIT WAS REAL I LOVE ADMER

  • @livingbomb6499
    @livingbomb6499 ปีที่แล้ว

    finally an actually good intro

  • @dxii_real
    @dxii_real หลายเดือนก่อน

    damn, just noticed that like, 50% of discord demonstration in 4:40 - 4:52 is just me yapping about code not working, which i didnt even understood lol
    i gave up on hl sdk like a year ago or smth and hopped on ue4, it really helped me to understand how games themselves and games programming work on basic level, now im trying to mod minecraft and stuff works! (i could not believe that i got even a slightest understanding of how this game works) personally, for myself i dont really see any point in learning hl sdk for now as ue4 covers all my needs, but ill return to it someday, just for fun. now im trying to really learn how to program stuff and get a deeper understanding on how games work in general

    • @Admer456
      @Admer456  หลายเดือนก่อน

      @@dxii_real Character development arc :0
      But for real, I'm glad you found something that motivates you and works well for ya, and that you're learning how other games work too. It doesn't have to be Half-Life, some of the ideas and concepts I show are more or less universal

  • @soldadopudim3859
    @soldadopudim3859 ปีที่แล้ว

    This man has limitless potencial.

  • @rickflare6893
    @rickflare6893 หลายเดือนก่อน

    Shyeeet , ok 👍 I will be back in 3 months with coding under my tool belt.

  • @ItspronouncedAdumzee
    @ItspronouncedAdumzee 5 หลายเดือนก่อน

    Thank you

  • @sandrostupid7602
    @sandrostupid7602 7 หลายเดือนก่อน

    that's what i need to learn in C++ and OpenGL? ok no problem i'm gonna spend months for it

  • @Bacontsu
    @Bacontsu ปีที่แล้ว +1

    nostalgic

  • @Maximiliankovic
    @Maximiliankovic ปีที่แล้ว

    I want to learn programming, 10 years, now is the time, i'll come back for sure
    xDDDDDD

  • @Half-Life-Dev
    @Half-Life-Dev ปีที่แล้ว +1

    bro do you know how to disable the python laser scope body in multiplayer mode so it only loads body 0 and not 1? I modified all the code but it reappears

  • @scottbanana7065
    @scottbanana7065 2 หลายเดือนก่อน +1

    how are you making particles + where can i get some cool particles ? i mean which entity u use cuz sprites like facing the camera not showing in 3d as particle

    • @Admer456
      @Admer456  2 หลายเดือนก่อน +1

      The engine doesn't have a proper customisable particle system, so your best option is env_shooter. It can spew sprites that bounce around, typically used for water droplets and similar things.

    • @scottbanana7065
      @scottbanana7065 2 หลายเดือนก่อน

      @@Admer456 Thanks man!

    • @scottbanana7065
      @scottbanana7065 2 หลายเดือนก่อน

      @@Admer456 for more clearly, what entity u used here to make that 3d fire particle 0:56 and that fire is a sprite or beam or what, please tell me from where did u get those particles

    • @Admer456
      @Admer456  2 หลายเดือนก่อน

      @@scottbanana7065 This can be achieved with env_shooter, and you can find sprites in Half-Life's "sprites" folder (steamapps/common/Half-Life/valve/sprites)

  • @shydun
    @shydun ปีที่แล้ว

    hello again admer!

  • @that1pieperson80
    @that1pieperson80 ปีที่แล้ว

    W channel bro

  • @n0iZz
    @n0iZz ปีที่แล้ว +2

    Awh, I don't know C++...
    See you in a few years then...

  • @Crayfry
    @Crayfry ปีที่แล้ว

    I love your videos and created a very basic mod a year ago with your first half life modding tutorial series. Was wondering, do you know how I can get into source/halflife2 modding?

    • @Crayfry
      @Crayfry ปีที่แล้ว

      To be more specific, Im looking for a way to setup source modding, not the making proccess of a source mod. Like which sdk should I use? How do I set it up? And so on.

    • @Admer456
      @Admer456  ปีที่แล้ว +1

      Thankfully Source is a lot more documented than GoldSRC.
      You can head to Valve Developer Community and one of the (several?) Source modding Discord servers.

    • @nynx8269
      @nynx8269 ปีที่แล้ว

      Recommend learning c++ and math

  • @cannolithearcticfox4405
    @cannolithearcticfox4405 ปีที่แล้ว

    Programming big brain

  • @tymek2047
    @tymek2047 ปีที่แล้ว

    I gueess its time to finally learn c++

  • @GuyOnAChair
    @GuyOnAChair ปีที่แล้ว

    Nice.

  • @XFajk
    @XFajk ปีที่แล้ว +1

    I have one questions you can make modes but I can I make full games with this?

    • @Admer456
      @Admer456  ปีที่แล้ว +2

      Nope, only mods

    • @ChickenFingers42
      @ChickenFingers42 ปีที่แล้ว +1

      @@Admer456 Unless you license the GoldSrc engine, I guess? lol. Is that still possible? Probably not.

    • @Admer456
      @Admer456  ปีที่แล้ว +1

      @@ChickenFingers42 Yeah, that's the thing. Valve will either not reply to your email at all, or tell you to use Unity

    • @dxii_real
      @dxii_real ปีที่แล้ว +1

      @@Admer456 what about total conversions like afraid of monsters?

    • @FulmineNero
      @FulmineNero ปีที่แล้ว +1

      @@dxii_real That is possible. "Total conversions" like afraid of monsters is also meant when speaking of mods. Mods is the all-encompassing term for total conversions and plugins for existing games/mods.

  • @404_logic4
    @404_logic4 ปีที่แล้ว

    I went to an arcade and they gave me a card with your white fox as the image of the card

    • @Admer456
      @Admer456  ปีที่แล้ว

      You have got to be kidding me lmao
      Admer Gaming is real

  • @dxii_real
    @dxii_real ปีที่แล้ว

    i like
    now i can remake russia on goldsrc

  • @zAlphii
    @zAlphii ปีที่แล้ว

    i didnt know there was an admercord

  • @Valpucio
    @Valpucio ปีที่แล้ว

    Well, i'm gonna make me a favour and i gonna learn C++
    (If I don't lose motivation after a while)

  • @viva_la_nature
    @viva_la_nature 8 หลายเดือนก่อน

    I decided to make my diploma work a half-life mod, there are 120+ ways and different resources. Deadlines are coming and I'm scared.

    • @Admer456
      @Admer456  8 หลายเดือนก่อน +2

      You'll make it. My high school diploma work was about game programming in the Quake 3 engine

    • @viva_la_nature
      @viva_la_nature 8 หลายเดือนก่อน +1

      Dude you are freaking great

  • @HalfAsleepSam
    @HalfAsleepSam ปีที่แล้ว

    Using this as a tutorial for HL2 because theres not a single tutorial for hl2 sdk
    edit: ik they're different

    • @Admer456
      @Admer456  ปีที่แล้ว

      Maybe try Valve Developer Community? They got some Source stuff.

    • @HalfAsleepSam
      @HalfAsleepSam ปีที่แล้ว

      @@Admer456 I'll check it out

  • @yzn666
    @yzn666 ปีที่แล้ว

    I have a question, Source Engine 1 uses c##. ?

    • @Admer456
      @Admer456  ปีที่แล้ว

      Source 1 uses C++.
      Only S&box (based on Source 2) uses C# for game code

  • @penguingalorigin6341
    @penguingalorigin6341 ปีที่แล้ว

    Noot noot

  • @brayanrodrigoinocenciodefr8850
    @brayanrodrigoinocenciodefr8850 6 หลายเดือนก่อน

    i wanted to make mods for half life 2 pls make a tutorial of half life 2

    • @Admer456
      @Admer456  6 หลายเดือนก่อน

      Maybe one day, when I finish the Half-Life 1 programming series (and mapping series).

  • @metaglitch5931
    @metaglitch5931 ปีที่แล้ว

    C++ looks like hell

    • @Admer456
      @Admer456  ปีที่แล้ว

      Oh indeed, stuff is pretty tough. Doesn't help HL SDK is super messy either

  • @OGD1mple
    @OGD1mple ปีที่แล้ว

    Once again

  • @KSBN-CCB
    @KSBN-CCB 2 หลายเดือนก่อน

    ChatGPT ✅

    • @Admer456
      @Admer456  2 หลายเดือนก่อน

      @@KSBN-CCB I wouldn't recommend it. Especially for HL programming. It spits out code that LOOKS like it fits the Half-Life SDK, but it's mostly just hallucinating. I wouldn't trust it to understand the essence needed to properly explain its code snippets either
      It's much better to just focus on learning C++ and reading Quake code, HL SDK code etc. to gain an understanding of what it does and talk to people about it

    • @KSBN-CCB
      @KSBN-CCB 2 หลายเดือนก่อน

      @@Admer456 Im making my own game based off hl2 and it's gonna be totally unique, I don't have time to learn c++

    • @Admer456
      @Admer456  2 หลายเดือนก่อน

      If you're only looking to get the end result - without any interest in learning the craft - you are absolutely setting yourself up for long-term failure. But in either case I wish you luck

  • @AtomicPython
    @AtomicPython 3 หลายเดือนก่อน

    I really am too stupid for this lmao

    • @Admer456
      @Admer456  3 หลายเดือนก่อน

      What makes you think that?

    • @AtomicPython
      @AtomicPython 3 หลายเดือนก่อน

      @@Admer456 I need to learn C++ , I couldn't even wrap my head around how Python or Lua worked. I just cant find good ways to learn code n that, y'know?

    • @Admer456
      @Admer456  3 หลายเดือนก่อน +1

      It took me multiple attempts until I started to properly learn C++, so, yeah, I think you just need to try harder.
      I did list a few sites like cplusplus.com and Cherno's tutorial series on C++, so you can start there

    • @AtomicPython
      @AtomicPython 3 หลายเดือนก่อน

      @@Admer456 Oh okay, thank you man

  • @americanhuman1848
    @americanhuman1848 ปีที่แล้ว +2

    i miss semicolons all the time and when i do i just mentally facepalm

    • @Admer456
      @Admer456  ปีที่แล้ว +1

      It happens to the best of us

  • @NanR
    @NanR ปีที่แล้ว

    Re-upload?

    • @Admer456
      @Admer456  ปีที่แล้ว

      Nope, a complete remake!

    • @NanR
      @NanR ปีที่แล้ว

      @@Admer456 nice

  • @armaster9264
    @armaster9264 ปีที่แล้ว

    First

    • @Admer456
      @Admer456  ปีที่แล้ว +3

      No, Denis is first actually

  • @Sei_ren69
    @Sei_ren69 10 หลายเดือนก่อน

    Grrrr boringgggg I prefer watching family guy funny moments #892

  • @adrianananu5974
    @adrianananu5974 ปีที่แล้ว

    you MUST learn c++. do NOT attempt if you dont have experience!!! me who spammed Admer for a few months straight and learned all i needed (RealSlimShady) love you bro!

    • @adrianananu5974
      @adrianananu5974 ปีที่แล้ว

      dont get me wrong, you helped me a lot and i am sorry if i annoyed ya

  • @nicholaspetty9874
    @nicholaspetty9874 ปีที่แล้ว

    You are doing great, keep it up! You should use a service such as Promo'SM!!!