looking for half-life 1 SDK... (2016) Created 8 years ago2016-02-17 09:51:40 UTC by ninja defuse ninja defuse

Created 8 years ago2016-02-17 09:51:40 UTC by ninja defuse ninja defuse

Posted 8 years ago2016-02-17 09:51:40 UTC Post #328913
hello
i am looking for half-life 1 sdk that works with modern compilers
Posted 8 years ago2016-02-17 10:39:12 UTC Post #328914
I think you should take a look here.

http://twhl.info/forums.php?thread=18871

There are links to the SDK and also the compilers!! ;)
Posted 8 years ago2016-02-17 11:00:19 UTC Post #328915
Does the HL SDK available on Steam not work with modern compilers?
Posted 8 years ago2016-02-17 11:09:57 UTC Post #328916
TL;DR

1) Download Microsoft Visual Studio 2010 Express here : http://www.pcadvisor.co.uk/download/developer-programming/microsoft-visual-studio-2010-express-iso-216/
2) Mount the ISO with Daemon Tools, PowerShell or any other utility of the same kind.
OR
Extract the ISO with your favorite archive program (it's like a ZIP).
3) Run "Setup.exe".
4) Install the software as your like.
5) Download the Service Pack 1 update here : https://www.microsoft.com/en-US/download/details.aspx?id=23691 Please note that if you don't like online installers, you can use an offline ISO (see "Additional Information" on the link I sent you)
6) Install the Service Pack 1 using the same methods as you did with VS 2010.
7) If you have Git installed and you are familiar with it, type in a Git Bash (or shell that is linked to Git) : git clone https://www.github.com/ValveSoftware/halflife.git
OR
Visit the Half-Life 1 GitHub repository here : https://github.com/ValveSoftware/halflife and click the "Download ZIP" button and extract the archive.
8) Open the "projects/vs2010/projects.sln" file with Visual Studio 2010.
9) Start coding !
10) PROFIT !

@Loulimi : The Half-Life SDK in Steam doesn't contain the source code and their tools are quite outdated (Hammer 3.4, QCSG, QBSP...), the only thing worth in the SDK are some maps samples and some documentation.
Posted 8 years ago2016-02-17 15:42:47 UTC Post #328919
TL;DR

1) Download Microsoft Visual Studio 2010 Express here : http://www.pcadvisor.co.uk/download/develop
er-programming/microsoft-visual-studio-20
10-express-iso-216/
2) Mount the ISO with Daemon Tools, PowerShell or any other utility of the same kind.
OR
Extract the ISO with your favorite archive program (it's like a ZIP).
3) Run "Setup.exe".
4) Install the software as your like.
5) Download the Service Pack 1 update here : https://www.microsoft.com/en-US/download/de
tails.aspx?id=23691 Please note that if you don't like online installers, you can use an offline ISO (see "Additional Information" on the link I sent you)
6) Install the Service Pack 1 using the same methods as you did with VS 2010.
7) If you have Git installed and you are familiar with it, type in a Git Bash (or shell that is linked to Git) : git clone https://www.github.com/ValveSoftware/halfli
fe.git
OR
Visit the Half-Life 1 GitHub repository here : https://github.com/ValveSoftware/halflife and click the "Download ZIP" button and extract the archive.
8) Open the "projects/vs2010/projects.sln" file with Visual Studio 2010.
9) Start coding !
10) PROFIT !
This must be added to TUTORIALS with some images...
Posted 8 years ago2016-02-17 21:36:16 UTC Post #328928
Maybe I should start writing some tutorials for people that want to code their own mod.
Posted 8 years ago2016-02-17 21:41:01 UTC Post #328929
PLEASE!!!!! :crowbar:
Posted 8 years ago2016-02-18 01:34:58 UTC Post #328930
Does it work with Visual Studio 2013?
Striker StrikerI forgot to check the oil pressure
Posted 8 years ago2016-02-18 02:57:59 UTC Post #328931
There's a few people on Github who have modified the SDK project to work on various versions of VS, for example:

2013: https://github.com/malortie/halflife/tree/branch-malortie-vs-2013

2015: https://github.com/malortie/halflife/tree/branch-malortie-vs-2015
Penguinboy PenguinboyHaha, I died again!
Posted 8 years ago2016-02-18 14:08:25 UTC Post #328933
Thank you for the reply
I will download 2013 VS because 2015 might be too heavy for my older PC
I havent write in C++ for a long Time but i remember things :)
Posted 8 years ago2016-02-18 14:18:43 UTC Post #328934
This topic should be on tutorials, please.
Posted 8 years ago2016-02-18 17:34:46 UTC Post #328935
You can use the official GitHub SDK from Valve with Visual Studio 2013, just say "Yes" for the upgrade when you open the solution file.

I wouldn't recommend VS 2015 because a lot of math functions are different and you would run on a lot of compile errors (except if you use malortie's fork).
Posted 8 years ago2016-02-19 11:57:16 UTC Post #328940
i noticed a long time ago that hl 1 programmers didn't use bool function... they defined it as int variable for some reason :o
Posted 8 years ago2016-02-19 12:35:39 UTC Post #328941
quake doesn't use bools either - i was shocked to find that out given the lack of memory compared to today
Tetsu0 Tetsu0Positive Chaos
Posted 8 years ago2016-02-19 13:50:05 UTC Post #328945
This is because C doesn't have a boolean type. It was featured in C++.
Posted 8 years ago2016-02-19 14:00:37 UTC Post #328946
Fancy that
User posted image
Tetsu0 Tetsu0Positive Chaos
You must be logged in to post a response.