HL coding and compiling Created 16 years ago2007-08-02 02:13:32 UTC by kc8kjp kc8kjp

Created 16 years ago2007-08-02 02:13:32 UTC by kc8kjp kc8kjp

Posted 16 years ago2007-08-02 02:13:32 UTC Post #231039
ok, i got a C++ program finally and i understand how to do some stuff in coding, so i edit a few things in some of the files in Goldsource DLL's, however i have no idea to compile the files to make the DLL :
Posted 16 years ago2007-08-02 08:17:17 UTC Post #231058
If you're using MSVC 6, open up hl.dsw, which is in Single-Player Source/dlls. On the left you'll see a listing of all the files in the project. When you wanna compile the dll, make sure everything is saved and hit F7, which builds the project. It'll take a while since there's a shitload of stuff to compile; when it's done there should be a new dll in Single-Player Source/dlls/Profilehl. Copy that to your mods dlls folder.

If you want the dll to automatically be placed in your mods folder when you compile, in the menu go to Project -> Settings -> "General" tab. Under both "Intermediate files" and "Output files" put the full path to your mods dlls folder.
Posted 16 years ago2007-08-02 14:24:54 UTC Post #231073
k, thanks
Posted 16 years ago2007-08-02 14:33:14 UTC Post #231076
For the client dll, open up cl_dll.dsw, which is in Single-Player Source/cl_dll. Everything is the same, except when you compile the new dll it will be placed in Single-Player Source/cl_dll/Debug.
You must be logged in to post a response.