THE HANDY VANDAL'S ALMANAC
Game Design Resources for Half-Life
Home : Topics : Menu : Reviews
Almanac 2 : Xen Rebels

Site no longer actively maintained ... HV

"New Studies Reveal Link With Cattle Mutilation"
 

CODING: INTRODUCTION
New August 2002: Coding Rebels for Xen Rebels -
New July 2002: Intro to Coding - C++ Compilers -
June 2002: Making New Entities: Cloning Method
New March 2002: Using Classes in C++ Programming
NEW - DEC. 28, 2001 - CODING TIPS by the Handy Vandal
See also Coding -
Programming - Mods - Models - Coding Monsters -
Updated August 6, 2002 - 1:17 PM

 

Introduction Coding for the Half-Life SDK

Coding means re-writing the Half-Life SDK, using the C++ programming language, and an editor/compiler tool — usually Microsoft Visual C++, although you can use other tools.

You can modify both the server file HL.DLL and the client file CL_DLL.DLL. The server file controls things like game rules and entity behavior. The client file controls screen rendering, the HUD, menus, and so on. By manipulating the SDK's source files, you can compile HL.DLL and CL_DLL.DLL files to create a wide range of modified and augmented game features: new rules, new weapons and monsters, altered physics, and so on.

The SDK includes a number of .doc files with enough instructions to get you started, but not much more. You can find coding tutorials at various web sites -- see Coding.

Hacking the SDK is a huge, complex task, and requires at least some working knowledge about C++ ... but even if you don't have the working skills, I encourage you to take a look at the SDK: one learns to work with code by playing with code ... which starts by looking at code, studying code, thinking about code ... and procedes, after experimenting with code, to debugging code until it works the way you like.

See Coding Tips for a some SDK-hacking guidelines.

For more specific details about making mods and hacking the SDK, see Mods,

 
 
CODING: INTRODUCTION
Handy Vandal's Almanac Logo

"Handy Vandal" and "Handy Vandal's Almanac" copyright 2008 by Karl Gregory Jones
Almanac: Half-Life : Half-Life 2
Xen Rebels
karljones.com
Contact the Handy Vandal

Half-Life © 1998-99 Sierra On-line and Valve L.L.C. All rights reserved. Half-Life and the Half-Life logo are trademarks of Sierra On-Line. Valve and the Valve logo are trademarks of Valve L.L.C. Half-Life images, textures, music, sound effects, and other graphic or audio content © 1998-99 Valve L.L.C. All rights reserved.