Need help getting started with hl2

  • Thread starter Thread starter Socketman
  • Start date Start date
S

Socketman

Guest
I have a buddy who is interested in getting into game coding. He is interested in doing hl2 and wanted to know where to start. He is fairly fluent in C++. I read here that VC++6 will be the language. And that it will probably be set up similar to HL1's SDK. If this is so, can anyone help me out by pointing out where i can get HL1's sdk? Or anything that may help my friend get started coding (even for just games in general). He is comp sci major in his junior year but wants some hands on stuff.

Thanks guys.

edit: guess i should mention we are after the basics: changing classes, remaking some rules, editing a little physics etc.
 
thanks a ton hasan,
I'll forward all of that to my buddy.
 
Just a question - if I do play around with the code, is it safe to replace the dlls in the actual halflife valve folder? Will steam let me do that, or will it think I'm 'tampering' and not allow it?
 
W00t, just compiled. I'm using VC++ Express 5 Beta

There were a few probs though - some enum constants were being referenced incorrectly - I assume VC++ 6 just allows this though.

e.g.

Code:
Class A {
    enum Values {one, two, three}
}

They referenced the enum constants as

Code:
A::Values::one

when really it should just be

Code:
A::one
 
Copy the valve folder, and paste is right next to it in the Half-Life folder. Rename your copy to anything you want exept "Valve" lol, then replace the dlls in that directory by yours. Open up Steam and you'll have a new entry in the games menu. :)
 
Yeah figured that out - although you need to create a liblist.gam file for it to appear in steam, since the valve folder doesn't have one.

I've been make the gman mortal, but I need to create a model for his death animation - don't know if I can be arsed now!
 
maybe you can just stop him from animating and turn him 90 degrees or something so that he is lying on the ground rather than standing up.
I think you can do that in the code.

P.S. try
http://www.thewavelength.net

has tuts for setting up a mod and debuggin on steam.
 
Back
Top