Programming

Name / Description
Site/Author
Installing Your Mod on Steam
Have you tried to install your mod on steam and you just can't do it well i aim to give a little insight into this problem.
Specific weapons for different teams
Specific weapons for different teams
RPG Item Dropper
RPG Item Dropper
Using INI configuration files properly
Using INI configuration files properly
Temporary Entities
what temporary entities are and how to use them in Half-Life
Radio System
This tutorial is made to help you create a Radio System (like CS). With sounds and team only messages.
Orthogonale TriAPI
Orthogonale TriAPI (German)
CS/TFC Spawn Delay
CS/TFC Spawn Delay
Hud_print
This tuturial shows you how to get a message on the HUD
2 zoom sniper scope
2 zoom sniper scope
A smoke grenade
Difficulty rating: easy. This relies heavily on existing Halflife grenade code and has almost nothing original.
Bot Frame
This is for people wanting to make their own Half-Life bot.
FOV and LOS Checks
Checking line of sight and field of view
Proximity Satchels UPDATED
Proximity Satchels UPDATED
View Roll On Strafe
This tutorial will show you how to achieve the view rolling effect while strafing, as in DMC and AHL
Butter Fingers Bullet
This tutorial will show you how to create new bullet types.
Creating a New VGUI Menu - Part 3
Editboxes and Images
VGUI HUD Tutorial - Part 3
This tutorial will explain how to add the current name of the weapon the player is using to the HUD we created earlier.
Old Menus System
Old Menus System
Getting Started
Getting Started
How To Enable HLTV In Your Mod
How To Enable HLTV In Your Mod
Mp3 Fix
Mp3 Fix
Weapon Selection Fix
This tut will fix the weapon select bug where weapons that have ran out of primary ammo but still have secondary ammo are not selectable.
DISGUISE TUTORIAL
This tutorial shows how you can make a very simple disguise system with an old style menu.
Custom Model Entity
This is a tutorial on making a custom model entity.
VGUI HUD
This article describes the principles behind coding a VGUI HUD by piggy backing off the existing HUD, seriously reducing the amount of code needed.
Respawn Delay (When Dead, Not When Spawn)
Respawn Delay (When Dead, Not When Spawn)
M16 TUTORIAL
This tutorial shows how to make an M16 assault rifle, with an optional silencer, just like the M4 rifle from Counter-Strike.
Team name fix for SDK 2.2
Here is a fix for people having problems with DarkKnight's team VGUI tutorial
Instant Firing Rockets (like in TFC)
Instant Firing Rockets (like in TFC)
Chumtoad firing hornet gun
Chumtoad firing hornet gun
Dynamic colored lights - model color fix
Dynamic colored lights - model color fix
Blended color indication
Blended color indication
Team Spawn Points Fixed!
Bigguys Team Spawn Points had a couple of errors, so here is how your fix them.
Relation between monsters
Relations between monsters in Half-Life
Stop Grenade Tumbling
Ever noticed that grenade the MP5 fires tumbles end over end in the air
Fixing Valve's bouncy crouch code
Notice how if you tap your crouch key very fast you bounce? This code will fix that.
Improved MP5 Burst
Improved MP5 Burst
TriAPI BreakOut
Hud game
Removing a PlayerItem
Function to remove named items from a player's inventory.
CS Style 2x Zooming
CS Style 2x Zooming
Bullet FlyBy
Bullet FlyBy (German)
Particle Engine tutorial part 4
Part 4 in 5 part series
C++ Review
C++ Cheat Sheet
Snark-Dropping Crossbow
Snark-Dropping Crossbow
Debugging your mod using steam
A small guide, written by Valve's Alfred Reynolds, on how to debug your mod in steam.
Radar System
Radar System
VGUI HUD Tutorial - Part 1
this tutorial will explain how to set the HUD up, and just get the basis.
No minus frag when killed self
No minus frag when killed self in Half-Life
Snark Trails
This tutorial, while not hard to do, gives a great effect; with snarks leaving behind a smoke trail as they run.
Vectors: An Introduction
Vectors: An Introduction
Weapon Clips and such
Weapon Clips and such
Clientside richoche sounds
This tutorial will tell you how to make clientside richoche sounds. That basicly means, if you shoot at metal railings, then you hear metal richoche's etc.
Variables
This is going to be a fairly long tutorial on the basic data types of C.
BULLET type
This tutorial will help you gain an understanding of the FireBulletsPlayer and FireBullets
Stealthsuit
Create a Cloaked Stealth Suit in Half-Life
Egon secondary fire mode
So, lets add up a secondary fire mode for the egon
Menus in Half-Life
Menus in Half-Life
Booby trap satchel
In this tutorial we will add a new type of Satchel using the weapons box as a model.
In-game Player Menus
In-game Player Menus
Usp ( Counter-Strike Style)
Usp ( Counter-Strike Style)
Egon Secondary Fire: Vampire
This tutorial will show you how to create new damage type for the Egon.
Proximity Fuse for Satchels
Proximity Fuse for Satchels
Installing Gamerules
This is just a simple way to switch to different gameplay modes.
A Laser-Pointer for any hl-weapon
A Laser-Pointer for any hl-weapon
Door Fix
It seems the door entities have a bug, if they are blocked, the moving sound gets played continuously even after the door closes or opens.
Admin System
Code an Admin System into Half-Life
Coded Fabrics
This model I'm describing can be used for any surface that can bend, so it can be a flag
Health and Armor restore after frag
Health and Armor restore after frag
Maintaining Class After Death
Maintaining Class After Death
Weapons that use!
Very simple tutorial, but it will teach you how to allow a weapon to 'use' objects, just like when the player hits the use key.
How to add a Christmas Easter Egg! (or any date!)
New to coding and ever wondered how TFC did the Christmas easter egg? Fear nevermore!
Adding new monster classes
Adding new monster classes
Creating New Entities
ow to create a brand new entity! + writing the FGD
Half-Life Graphics Part 2 - EfxAPI
Half-Life Graphics Part 2 - EfxAPI (German)
The Weapons Tutorial - Part One
how the code actually works so that you can add your own features
The Weapons Tutorial - Part Two
The second part builds upon the more general information learnt in the first, describing how it applies to each of the original half-life weapons.
.MAP to .DXF Conversion
Hammer code that converts a map from standard .map format to .dxf format
GameRules - Part 5
I've decided to add the Last Man Standing gamerule set (part 3 & 4 are missing)
Half-life1 Coding: 4digits on HUD and 9999 ammo on clip
Second part of the tutorial, that includes the modification of the HUD to show 4 digits on ammo, and the modificacion on the client-server message for the weapon magazine.
FlashBang
FlashBang
Different Classes In Every Team (FIX)
Different Classes In Every Team (FIX)
TriAPI based team overlays
This tutorial will show you how to make use of the Triangle API to make team overlays
Explode Shake (UPDATE)
Explode Shake (UPDATE)
Changing Spawn Times
Changing Spawn Times
Mp5 Burst
Mp5 Burst
Dynamic Lighting
Dynamic Lighting
Charging Crossbow
Charging Crossbow
1 Swing Crowbar
make the crowbar only swing once when held
Make a player fly
Make a player fly
Ping Rating
Ping Rating
HLSDK Engine Notes
HLSDK Engine Notes
How to change the tripmine beam color in the console
How to change the tripmine beam color in the console
Creating a Dash key
This tutorial will show you how to setup a new key and console command, which can then be used in game to make the player sprint when holding the key
3rd Person Ansicht
3rd Person Ansicht (German)
Freeze Grenades
Freeze Grenades
Adding New skill.cfg Entries
Adding New skill.cfg Entries
Explosion Shake
Explosion Shake
Disable The FoV Command
Disable The FoV Command
Tungsten Arrows
Ricochets of walls.
Half-life1 Coding: More than 254 of ammo
In hl1 you can simply edit the max_ammo_carry of certain ammo type but the hud would show up to 254 of ammo, this is because the message that send the info to the client uses a byte value for it.
HL's Color Indexing System (fixed/changed)
HL's Color Indexing System (fixed/changed)
Creating a New VGUI Menu - Part 1
Creating a New VGUI Menu and getting it to show in your mod
Slots/positions Fix
Slots/positions Fix
Changing maximum allowed weapons to 45
Changing maximum allowed weapons to 45
Half-Life Server Info Class
Half-Life Server Info Class
Hiding in Shadow
In this article I will explain how to make a monster disregard the player if they're within a certain level of light
How to Make your Death Msg more like you
How to Make your Death Msg more like you
SDK2 Basics: String handling
The way that strings are handled internally in the SDK can be confusing to start with.
The Weapons Tutorial - Part Three
add a complete, fully functional new weapon to Half-Life (and that includes the HUD componants!)
Reloadable Hornet Gun
How to make a reloadable hornet gun
View model rendering tut fix
View model rendering tut fix
Egon Beam Observer Fix
For eye-mode specators
Viewport Management
Tutorial covering the creation of multiple viewports
Silenced Glock
Silenced Glock
Activities and Sequences
This is a brief description of the difference between an activity and a sequence. I expect it will be fleshed out in time.
Vertex and Pixel Shaders
Per-pixel dynamic lighting. Real-time bumpmapping. Cartoon shading. Thermal goggles.
3 Mode Zoom For Mp5
3 Mode Zoom For Mp5
A New Weapon Challenge
Challenge based article about adding a new weapon to Half-Life
Creating full Half-Life weapons
both client and server side detailed
How to Make a Desert-Eagle (SDK2.2)
How to make a Desert-Eagle
User Input Processing System
User Input Processing System
Half-Life''s Color Indexing System
This tutorial is meant for the people who are confused about how Half-Life uses its color index's.
Advanced: Understanding the Monster AI
A detailed tutorial on how the Half-Life AI hangs together. Covers Schedules, Tasks, and Monster States, with examples.
Good Homing Rockets
This tutorial shows how to change the rpg rockets to home in on the closest living thing besides you.
Scavenger Hunt AI Tutorial
Heres another tutorial for bots. This one on creating some basic bot item search code.
Function Overloading
Function Overloading is useful when you have a function that you want to do several different things with
Energy weapon
Energy weapon
Chumtoad firing hornetgun correction
Chumtoad firing hornetgun correction
Sawed-Off Shotgun
This Tutorial will convert the .12 Gauge shotgun into a Sawed-Off Shotgun, This will make it much loader and it also fires a much larger load than a normal shotgun,
New Menuing System Tutorial
In this tutorial, we are going to go through the steps necessary to create a menuing system for Half-Life similar to the one for Quake 2.
Realistic Reflections in Real-Time
Realistic Reflections in Real-Time
Infrared NightVision
Infrared NightVision
MP3 Player
Add MP3 support to Half-Life
Simulating Randomness
Simulating Randomness
Paintrace Hud Indicator
This tutorial will show you how to add a hud element that will project a sprite of you player that flashes in the area you were last hit.
Static Water Simulation
Static Water Simulation
Entity Variables
The more coding you do, the more you'll start talking about the 'pev'
How to Align a Model Against the Floor
How to Align a Model Against the Floor
Set Up a liblist.gam
Set Up a liblist.gam
Adding Weapons in 2.2 sdk PART 1
Okay, so you want to add your own weapon to the 2.2 sdk?
Particle Engine tutorial part 1
Part 1 in 5 part series
Waffensystem
Waffensystem (German)
Scripts (a follow up to Aliases, scripts, and binds)
Scripts (a follow up to Aliases, scripts, and binds)
Gman 2
Ever wanted to use gman twice in a map with a different look?
Removing blood and gibs from Half Life
This tutorial will show you how to remove blood and gore from Half Life.
Non-Exploding Snarks
This tutorial explains how to have snarks that don't explode after 15 seconds in your mod.
HUD Countdown Timer
add a server controlled hud countdown
Class System Tutorial
There are a few ways of implementing a class system.
Weapon Modifications
Weapon Modifications
Dash Key Part 2
Stamina controlled sprint
Flexible Client Based Zoom - SDK2
This tutorial is designed to help you create a flexible client side Zoom function for SDK2
Medkit Bugfix
Medkit Bugfix
Advanced Bot Frame
This is for people wanting to make their own Half-Life bot.
Advanced script for Slow Motion (bullet time)
Script for a kind of smooth slow motion (bullet time) in Half-Life.
Building the DLLs with VS.NET 2003 for Steam
Teaches you how to setup your VS.NET 2003 to build the Half-Life dlls, and how to get them working on Steam.
Debugging your dlls
Debugging your dlls for your Mod
Half-Life Graphics Part2: EfxAPI
An overview of all the useful UTIL_ and efxAPI functions for drawing 3d sprites, shaking and fading the screen, drawing beams + decals, temporary models etc.
Another Way To Make Those Cute Lil Houndeyes Not So Cute
Another Way To Make Those Cute Lil Houndeyes Not So Cute
Hitboxes and Code
In Half-Life you may have noticed sparks appear when you shoot barney's helmet or an alien grunt's armor.
Spreadsystem
Spreadsystem (German)
Changing max ammo/clip capacities
Changing max ammo/clip capacities
Standing Still For 5 Seconds (Respawning)
Standing Still For 5 Seconds (Respawning)
Weapon Categories
Weapon Categories
Shotgun w/ slugs and buckshot
This tutorial is about how to create a Shotgun with two types of ammo (slugs and buckshot).
Scissoring Sprites
instead of defining the area the sprite CANNOT be drawn in, you instead define the area the sprite CAN be drawn in.
Painlessly Drawing TriAPI In Orthogonal Mode
I decided to whip up this tutorial to show you the simplicity of drawing triangles in orthogonal mode using TriAPI
AI Tutorial - Part 1
This tut will cover a new monster who can sit in your map, and run away if you shoot at it.
Frags for killing Monsters in MP FIX
Frags for killing Monsters in MP FIX
TeamKiller Kicking
This tut will show you how do add a function to your code that will check a players teamkill amount and justify it with an action. So here we go.
Creating New Weapons in the 2.2 SDK
Creating New Weapons in the 2.2 SDK
View model rendering
View model rendering
Alias's, Scripts, and Binds.
This is a brief guide explaining the differences between Alias's, Scripts, and Binds.
Holster Animation
Holster Animation
An Entity like a CS Buy Zone
Create an Entity like a CS Buy Zone
MP3 player in HL
MP3 player in HL
TO Recoil
TO Recoil
Counterstrike Gameplay
Counterstrike Gameplay
bouncing bodies
bouncing bodies
Creating a Mad Scientist Entity
Simple tutorial on creating a custom entity
WaterMatch
WaterMatch (German)
CTF Gameplay Part 2
Creating the Capture Point
Launch 3 Rockets
Launch 3 Rockets
MP3-Entity erstellen
MP3-Entity erstellen (German)
SDK2 Basics: Creating a new entity class and adding it to your level
How to create a simple variant of the CGameText class and add it to the available entities in Worldcraft.
Voice API in SDK 2.2
Voice API in SDK 2.2
Adding a Diablo View Effect
In this tut, i will show you how to add a diablo camera effect to your mod.
Client-Side Waffen-Coding
Client-Side Waffen-Coding (German)
Drop NOTHING on death
Drop NOTHING on death
ANY blood color
ANY blood color
Respawning Monsters in MP (concept)
I will now explain how I did monster respawning in MP
Health/Armor color blending
Health/Armor color blending
Complete Freedom of Rotation
Changing view angles with quaternions
Basing one monster class off another
Basing one monster class off another
Geldanzeige im HUD
Geldanzeige im HUD (German)
Basic Half-Life Weapon Coding
Basic Half-Life Weapon Coding
Advanced: Building an in-game menu entity
How to develop a new entity that handles menus in game (ala counterstrike's 'buy weapons' menu).
Dynamically Resizing Models
Dynamically Resizing Models
GameRules - Part 2
Adding Assault to Your Mod (part 3 & 4 are missing)
Downloading and setting up the Half-Life SDK
Understanding hud.txt
Half-Life Graphics Part 1 - 2D Sprites
Half-Life Graphics Part 1 - 2D Sprites (German)
GameRules - Part 1
Adding Two-Team Deathmatch to Your Mod (part 3 & 4 are missing)
Sensor Mine
Sensor Mine
Freezing a Player
Freezing a Player while shooting a weapon
Introduction to the Sourcecode
Introduction to the Sourcecode
Erstellen einer schallgedämpften USP
Creating a Silenced USP (German)
Effects Fun Part I
The BSP map format that Half-Life uses makes it fairly easy to do certain types of special effects, including fake underwater caustics, so we'll play around with that a little...
NVGoggles
Create Night Vision Goggles in Half-Life
TFC Rocket Launcher
Add a TFC Rocket Launcher in Half-Life
Funcs for Round system
Funcs for Round system
thirdperson camera clip
thirdperson camera clip
No gun dropping after death
No gun dropping after death
Weapon : FireGrenade
Weapon : FireGrenade
Steam-Developing Q&A
Steam-Developing Q&A (German)
CS Style 2x Zooming (for SDK 2.3)
CS Style 2x Zooming (for SDK 2.3)
MP5 to Chain gun
MP5 to Chain gun
Cluster grenades, a complete new weapon for Half-Life
Create a new weapon for Half-Life
AI Tutorial - Part 2
Today we are going to make our monster kill
Hud Bars (Statussäulen)
Hud Bars (Statussäulen) (German)
Smoke trail behind player
Smoke trail behind player
Tripmines with configurable beam brightness
Tripmines with configurable beam brightness
Client dll Coding Tutorial #2
Drawing a Special Credit String on the clients head's up display
HuD Colouring
This tutorial will cover the Basics for changing the colour of the HUD in HL
Automatically set entity collision box by model
(Extension to X-0ut's custom model tut)
Particles FIXes and improvements
Particles FIXes and improvements
Half-Life Team System With VGUI Menu w/SDK 2.2
Half-Life Team System With VGUI Menu w/SDK 2.2
Beheading Zombies
Beheading Zombies
Throwable Crowbar
Code a Throwable Crowbar
visible laser sight line thingy
visible laser sight line thingy
Adding new monster factions
this tutorial will show you how to add new factions to monsters.
Half-Life debuggen
Half-Life debuggen (German)
Remove the minus frag when killed self
You want to kill yourself and dont get minus points?
Half-Life AI, Schedules and Tasks
The Half-Life AI is made mostly of two things, tasks and schedules
Debugging in Visual Studio 6
Debugging in Visual Studio 6
All About messages in Half-Life
This tutorial will describe the basics of adding new HUD componants to the client dll
Change the origin of bullets
This is how you would change the location of where tracers and bullets, or rockets, are coming from to match your weapon model
Good Half-Life Net Play
Things that effect network stats during gameplay
Spawnpoints
Spawnpoints (German)
HUD Graphics for Half-Life
This tutorial almost completely explains how to do HUD graphics.
Recoil
Recoil (German)
Adding New Skill Healths
In this tutorial we will learn how to add new Skill Health links to add to new custom monsters.
6 shot magnum
In this tutorial we are going to make the secondary fire of the python fire off all six rounds.
Sentry continued: adding Sentry-parts box and hud-icon
Sentry continued: adding Sentry-parts box and hud-icon
Das Half-Life Serverprotokoll
Das Half-Life Serverprotokoll (German)
Faster clicking equals faster shots
Faster clicking equals faster shots
Changing Blood and HUD Colors
Heres a short tutorial on how to change the HUD and blood colors. Really simple.
Shields
Shields
Flammenwerfer erstellen
Flammenwerfer erstellen (German)
Checkpoint system for spawnpoints
A checkpoint system designed for cooperative play but possible in other game modes.
AI Tutorial - Part 3
This tutorial will cover : 1. Making the monster get angry at you if you shoot him. 2. Random chatting according to it's state.
Adding new weapons 2.2 sdk PART 2
continued
VGUI HUD Tutorial - Part 2
Adding panels and labels and such.
Printing messages to a client
how to print stuff to a client
Die Erstellung eines Laserstrahls
Die Erstellung eines Laserstrahls (German)
Bullet Chasecam
Bullet Chasecam (German)
Higher Res for VGUI Images
This article shows you how to quickly change the default 320 & 640 .tga image sizes to fit whatever resolution a player is using.
TURRETS - Targeting Laser Spot
Here's how to get the little red dot on turrets.
Config for map
If u want add options to your maps u can add to all maps config files...
CoD/Halo style weapon switching
How to implement call of Duty/Halo style weapon slots and switching.
Real-Time 'TRON 2.0' Glow in Half-Life
Real-Time 'TRON 2.0' Glow in Half-Life
Spinning Corpses Simple Fix
A Simple 4-line fix for spinning corpses.
Changing Weapon Damage Outside the Dll
In this tutorial I will show you how to change the weapon damages without recompiling the dll
Changing Armour colours
What this code will do is change the armour hud colours depending on how much armour you actually have.
Reloadable HornetGun FIX
I tested my tutorial and found out that there was an error with the reloading with secondary attack so im attempting ot fix it
Customizable Hud Color
Customizable Hud Color
Half-life's hidden physics code
Half life contains some extra code dealing with dead body physics
HEV Chargers with larger charging capacity
HEV Chargers with larger charging capacity
Half-Life Server Protocol
This article is a reference to a method of using the server protocol with PHP
Map Briefing
how to add
map briefings to your mod as seen in TFC, CS
Modeling events
Modeling events
Player-guided weapons
Make the RPG like the UT redeemer, easy!
Orthogonal Drawing with TriAPI
I decided to whip up this tutorial to show you the simplicity of drawing triangles in orthogonal mode using TriAPI
Startup Edits
Specify the weapons and ammo players spawn with via your server.cfg or listenserver.cfg
Making an InstallShield Installer
Making an InstallShield Installer for your Mod
Screen Fading and Shaking
This tutorial will show you how to use the UTIL_ScreenFade and UTIL_ScreenShake functions in your weapons to create effects like night vision and vibrations.
Super Sharp MP5
This is an easy way to change the widespread of the MP5 into a much smaller one.
VGUI HUD Suppliment (Part 1)(FIX)
It has been brought to my attention that people are having problems with their OTHER VGUI menus after doing this HUD tutorial... ie: no mouse control. I have found the cause, and figured out how to fix it.
Your First MOD
good introduction to starting a Half-Life Mod
Impulse 101
This tutorial teach a very simple way to edit, remove the cheating Impulse 101 code.
Glock Silenced and zoomed
Glock Silenced and zoomed in Half-Life
Advanced script for Holstering Weapon
Script for a slightly better illusion of holstering and re-equipping weapon in Half-Life.
Third and Fourth attack
Addign a Third and Fourth attack to your mod
Building the hlds_l Linux .so
How to get Half-Life's server to compile and run on Linux boxes worldwide
Homing Missle
Create a homing missile in Half-Life
Weapon flags
Every Half-Life weapon have flags. For example MP5
Short Essay about most common functions in C++ for HL Coders
This is going to be a fairly long tutorial on some basic functions in HL SDK.
Introduction to C
Short Article Introducing C
Blast Soundwave Effect From a Weapon
Blast Soundwave Effect From a Weapon
How to make a key that toggles
If players want to remain in a position (such as crouch or prone) for extended periods of time, this could lead to fatigue, here's how you can alleviate that with some clever manipulation of the button code.
CTF Gameplay Part 3
Setting up Client side and FGD
TFC Status Bar Functionality
TFC has a generic status bar that sends a bunch of different details to the client.
Nebel in HL (SDK 2.2)
Nebel in HL (SDK 2.2) (German)
Monster Teamplay
Monster Teamplay (German)
Roter Bildschirm bei Schaden
Roter Bildschirm bei Schaden (German)
Adding new bullet types
In this tutorial I will go over how to add new bullet types.
Introduction to Half-Life coding
Introduction to Half-Life coding
Fog in half-life (using tri-api)
This tutorial should be easy to follow provided that you have at least some
grounding in c++
Unlimited Health Rechargers
Unlimited Health Rechargers
Change host players ping on the scoreboard to 'Host'
Change host players ping on the scoreboard to 'Host'
Make a teleporter exit spawn you inside an area
This tutorial will demonstrate how simple you can make a brush define the area where the player will spawn inside when entering a teleporter.
Improved Freeze Grenades
I have found a way to make Better Freeze Grenades
Random Terrain Generation
Random Terrain Generation
Bump Mapping in Half-Life
e. It adds detail where there was none before, and provides a much enhanced visual experience.
How To Make Thirdperson View To Your Mod
How To Make Thirdperson View To Your Mod
Half-Life's In-Game Visibility Determination
Where would we be without visibility determination?
Placing Breakpoints
Placing Breakpoints
Using Glowshell
I am writing this tutorial because there are no tutorials on this that I can find and this effect is easy to make if you know what to do. This tutorial will be easy for people who are new to Half-Life Modding.
Coding Fog
How to code in some fog in your mod
TURRETS - Secondary Fire
Here's how you PREPARE a turret to support the secondary fire mode.
Governer
Governer
Vehicles
Vehicles
Shooting through walls
Shooting through walls
Introduction to GoldSrc Programming - Setting up Visual Studio
A detailed tutorial covering the setup of Visual Studio for work with GoldSrc
Weapons in the HUD Tutorial
Made a weapon and can't figure out how in the hell to get it into the HUD?
VGUI HUD Suppliment (Part 2)
Alright, you made it this far, now there isn''t much more to be done, you have the basis already, now we just gotta do some normal VGUI code. Adding panels and labels and such. So, lets get started...
TriAPI based scope-masking system
Revision 4
View Turrets through Barrel
View Turrets through Barrel
Half-Life Graphics Part 3: Triangle API
An overview of the triangle API, which can be used to draw textured, animated polygons on the fly.
FatBoy Mode
FatBoy Mode
SDK2 Basics: How to send messages between the client and game DLLs
Half-Life is split into two DLLs - client.dll and hl.dll.
Using the ALERT function
Using the ALERT function
Where is Poppy - Your First Custom Entity
In this, the second part in the 'Where is Poppy' modding tutorial series I take you through the steps for creating your own custom mesh loading entity
Basics on C++ Objects and Inheritance
Basics on C++ Objects and Inheritance
Custom DrawHudString
This tutorial will alter the existing DrawHudString function in the CHud Class, we will be adding the ability for colored text and different draw modes.
Getting an entity to point at you while it fires
Challenge based article about getting an entity to point at you while it fires
The Think, Touch, and Use functions.
These functions are key to how an entity w
Hints on how to program a Half-Life mod
This article tries to give hints to would-be HL mod authors in many different aspects of the programming experience.
VGUI Scope
This tutorial is a step-by-step guide to creating a VGUI Sniper Scope.
Particle Engine tutorial part 2
Part 2 in 5 part series
Secondary Attack for Egon: Teleport player to random info_player_deathmatch
Secondary Attack for Egon: Teleport player to random info_player_deathmatch
Creating a Vampire gamestyle
The purpose of this tutorial is to show you how to create a whole new game type in 12 lines
Smoke Grenade
Code a Smoke Grenade
Unsichtbarkeit
Unsichtbarkeit (German)
Rescaling the easiest way
You want the most easy way to rescale halflife
Do-it-yourself-WireFrame!
Rendering a wireframe of maps yourself
New HL HUD Message System
I noticed that a lot of bandwidth is consumed when trying to display a HUD Message. To fix this I coded a new type of message system that uses a lot less bandwidth.
HUD Sprites
Understanding hud.txt
Gman 2
Ever wanted to use gman twice in a map with a different look?
Adding new advanced options
Adding new advanced options
Scoreboard team colors
You wanted to know how to color the teams in the scoreboard?
Client Side word censoring
how to add old school Client Side word censoring
TURRETS - HORNET GUN TURRET
This tutorial will somewhat describe how to create a completely new turret.
Doubler Powerup
Doubler Powerup
Weapon Droppings
Weapon Droppings
Change Armor Spawn
This tuturial will help you to change the armor you are spawning with
Playing .mp3 files in Half-Life
Warning - this is taken from my brief investigation, but relies on having a multi-channel soundcard
Minikarte im HUD
Minikarte im HUD (German)
Half-Life Programming Planet Snippet Collection
Collection of coding snippets that may or may not work, use a a reference when building your mod
Gauss Teleporter
Gauss Teleporter
TURRETS - Gauss Turret
This tutorial will somewhat describe how to create a completely new turret.
Team Coloured Text and Spectator Chat
This tut will show you how to make spectators stop seeing what alive people are saying and vice-vesa.
Render Scene
Quick & simple, heres how to draw visible surfaces (bsp only) - unlit.
VGUI HUD Suppliment (Part 1)
Ok, now, for starters, this tutorial will explain how to set the HUD up, and just get the basis.
Modding Weapons (Ammo, Weight etc)
This tutorial will teach you how to edit the ammo per clip, how fast you walk with a weapon and much more!
Spectator-style camera with clipping
Spectator-style camera with clipping
Shooting through walls
Shooting through walls
The Power of CVARs!
The Power of CVARs!
Wall Jumping
Wall Jumping Tutorial
Particle System
Particle System (German)
Radio Voices
This tutorial modifies the client dll (in codedir\\cl_dll) to play audio sounds.
Speed
This tuturial helps you set your speed this tuturial is really easy.
Wall Puff
This tutorial will show you how to add clientside smoke puffs. You'll need a sprite that's compiled as an additive.
SDK2 Basics: Adding a new monster with default AI
How to add a new monster to your maps.
Advanced script for Smooth Zoom
Script for smooth zooming in and out in Half-Life.
Observer Tutorial
create an observer mode for your mod
Light Effect After an Grenade (Very Fast)
Light Effect After an Grenade (Very Fast)
Coding NPCs in GoldSrc
This tutorial will lead you through the arcane art of adding fog to your mod
SDK2 Basics: Explanation of the Weapon code (MP5) by Greg Hudson
Explanation of all the MP5 code. Written by Greg Hudson.
Clearing Decals
This snippet gives you some simple code to utilize the client side decal clearing function to wipe all decals from the map for a round reset, or whatever.
Binding new keys.
In this tutorial we are going to add two new key functionalities.
Half-Life Graphics Part 1: 2D Sprites
All you ever wanted to know about drawing 2d sprites on the HUD.
Making A Player Fly
This is a tutorial teaching you how to make a flying system in half-life
Changing Tracer Effects
Changing Tracer Effects on weapons in Half-Life
Revamping the Player Model System
A system to Revamp the Player Model system so that it doesn't use Infokeys (which are easily hackable, and insecure) this also prevents hltv bugs.
Taunting Crowbar
Very simple done, this you now be able to taunt other players when you have the crowbar out.
The Half-Life DLL
Finding your way around the Half-Life DLL
Coding New Entities for Half-Life
This is a simple tutorial to discuss making new entities, and reading their keys in your code, so you can customize them.
Different Classes In Every Team
Different Classes In Every Team
Turn off flashlight after player death
Turn off flashlight after player death
Sparks & Smokepuffs fix
Sparks & Smokepuffs fix
Incremental Zooming (On the Client Side)
Incremental Zooming (On the Client Side)
Your First Program
Here I will show you a fast and simple program and demonstrate the basics of C
Using the Microsoft Visual C++ 6 IDE
Using the Microsoft Visual C++ 6 IDE
Triple-Bolt Crossbow
Triple-Bolt Crossbow
RPG Power
make the RPG a little more powerful
Drop primary gun instead of weapon box
When a player dies drop primary weapon rather than weapon box
Add cl_righthand to your mod
This is for Half-Life 1 and the GoldSrc engine
Bot Tutorial 101
Basics of coding bots in Half-Life
Advanced: Understanding the Monster AI (part 2)
Second part of the AI tutorial. Covers how events are triggered from the monsters animation definitions (.qc file), and some addtional info on Monster Attacks.
Precaching
Precaching was one of the first stumbling blocks we encountered when we starting working with the SDK.
Engine Functions
This is the lowest level entry to the engine. It also maps quite conveniently to Quake-C stuff, so check that out
Making A Semi-Automatic Handgun
Making A Semi-Automatic Handgun
Installing the SDK
Installing the SDK
Power Shotgun
here's how to create a power-shotgun
Red screen after Death and Damage
Red screen after Death and Damage
Hash Tables
Hash Tables
Controlling Player Speeds
This tutorial shows how to enable you to set what speeds the player can go, and force them to remain at those speeds.
Green Driplles
Green Driplles
Dynamic NPC Stepping Sound
Replace default set of NPC stepping sounds with the set from the texture they're walking on.
Change the mp5 grenade launcher to a Shotgun-cannon.
Change the mp5 grenade launcher to a Shotgun-cannon.
Particle Engine tutorial part 5
Part 5 in 5 part series
Basic Weapon Coding Reference
here are the basic things you need in a normal weapon
Building the Half-Life DLLs
with the Microsoft Command-Line Compiler
Team Spawn Point Fix
okay, make sure to do BigGuy's tut on team spawn points first
Adding weapons to the HUD
Adding weapons to the HUD
Old Menus Fix
Old Menus Fix
Snark Grenade
Snark Grenade
Adding muzzle flashes that also light up world brushes
Adding muzzle flashes that also light up world brushes
HUD Health Bar
HUD Health Bar
Adding Ammo items to a H-L weapon.
Adding Ammo items to a H-L weapon.
Shotgun Modes
decide between firing a super compressed attack or a really spread out attack
Make a Medic
Make a Medic
Teamdeathmatch Spielmodus
Teamdeathmatch Spielmodus (German)
Make a Particle Burst When a Player Joins (Like Q1/Q2)
Make a Particle Burst When a Player Joins (Like Q1/Q2)
Dead Icon
In this tutorial I'm going to show you how to add a dead-icon to the scoreboard.
Screenshaking
Screenshaking
'Dynamic' skies in Half-Life
Controllable skies
Show mod name in server list
Customize the Mod name displayed in the server list
Better Third Person Camera
Simple snippet for a better third person camera with player fading.
Rescaling Half-Life
Rescaling Half-Life
Event System in SDK 2.2
Event System in SDK 2.2
Coding Style
Coding Style
Changing the Default Multiplayer Weapons
Changing the weapons a player spawns with is very easy, very simple.
Palette.lmp file
Quake style particle effects disabled but present in goldsrc
Half-Life Observer Mode Tutorial
Half-Life Observer Mode Tutorial
How to use UTIL_ScreenShake
Hello children, today i'll teach you how to use the UTIL_ScreenShake. Well actually it's really easy, you just gotta know what everything does.
Introduction to Half-Life SDK2
Introduction to Half-Life SDK2
SDK2 Basics: Looking at a simple entity class
This is a quick look to see what an existing entity class, CGameText, does and how it works.
Frags for killing Monsters in MP
Frags for killing Monsters in MP
VGUI HUD Tutorial - Part 4
Adding an ammo indicator to the HUD
Creating a Sniper Rifle in the 2.2 SDK
Creating a Sniper Rifle in the 2.2 SDK
Where is Poppy - Setting up a GoldSrc Mod
In this, the first part in the 'Where is Poppy' modding tutorial series i highlight the steps required for setting up your GoldSrc Mod for its first run
Customising the HUD colour
Customising the HUD colour
Changing Multiplayer Weapon Damages
To change the weapon values for multiplayer games simply open up the multiplay_gamerules.cpp
CTF Gameplay Part 1
Creating the Flag Entity
Jumping and Landing Sounds
Jumping and Landing Sounds
Custom Player Animations
This tutorial will explain what you need todo in order to get a custom player animation to play.
Quick Hints and Tips
Here is a collection of quick hints and tips that various people have asked me, but I cant be bothered to write a whole article about...
UTIL_ScreenShake
You know, the UTIL_ScreenShake can only shake clients that are on ground. Because that sucks ass, here we're gonna fix it.
Custom AABB collision boxes for an entity
How do you use the existing AABB collision system in Half-Life to provide a more precise collision model of an object? You simply fill it with smaller objects! Read on for more details.
Homing Rockets with no laser spot
Homing Rockets with no laser spot in Half-Life
Crosshair Tutorial Nr.2
Crosshair Tutorial Nr.2 (German)
Particle Systems: The Theory
Particle Systems: The Theory
Yell at them
Yell at them
Real-Time 'TRON 2.0' Glow For Low-Spec Hardware
Real-Time 'TRON 2.0' Glow For Low-Spec Hardware
Model Classes
Model Classes in Half-Life
Particle Engine tutorial part 3
Part 3 in 5 part series
Fast 'n easy weapon naming
Fast 'n easy weapon naming
How to create a DEAD message in your scoreboard
How to create a DEAD message in your scoreboard
Decals for every mp5 bullet
Decals for every mp5 bullet
Sparks & Smokepuffs
Sparks & Smokepuffs
Weapon Names on the HUD
Weapon Names on the HUD
How to create a server-client message
This article describes, step-by-step, how to create a message which can be sent from the server-side to the client-side.
Bot Tutorial 2
In this one I hope to start on some of the navigation code and the bots use of ladders.
Entity Effects on View Model
Add Entity Effects on a View Model
Activating w_ models animated animation
Activating w_ models animated animation
Making a NailGun
Making a NailGun
Creating Different Colored Menus
Fairly simple put, it allows you to create menus of different colors.
Creating your Menu Bitmasks
Creating your Menu Bitmasks in Half-Life
Adding User Variables to Half-Life
Adding User Variables to Half-Life
Better Weapon Droping
Better Weapon Droping
Quick Guide to Debugging
Quick Guide to Debugging
Creating a New VGUI Menu - Part 2
Panels, Labels, Buttons, and Commands
Where Did I Hit Him (Update 2)
Where Did I Hit Him (Update 2)
Hand Cannon
How to convert the .12 Gauge shotgun into a Hand Cannon
Activating w_ models animated animation
Activating w_ models animated animation
Re-enabling the TFC concussion effect
Re-enabling the TFC concussion effect
Snark Grenade
Snark Grenade
How to allow monsters in mp
How to allow monsters in mp
Crosshair Tutorial
Crosshair Tutorial (German)
Adding a zoom to the mp5
adding zoom functinality to your mp5
Opening slots for old Menu System
Opening slots for old Menu System
CS AK47
Code a CS AK47 into Half-Life
Getting entity walking speed to match animation
Challenge based article covering getting an entities walking speed to match its animation
Changing the HUD color
Changing the HUD color
Advanced script for Mouse Wheel Zoom
Script for smooth mouse wheel zooming in and out in Half-Life.
Respawning Entities
This tutorial will show you how to reset pushables, breakables, doors, dead bodies and dropped weapons.
Changing The Server Browser To Show Your MOD Name In 'Game Type'
Changing The Server Browser To Show Your MOD Name In 'Game Type'
TURRETS
TURRETS in Half-Life
How to change your MP5 to an MP5-SD3
How to change your MP5 to an MP5-SD3
Scripting with sequence files
Scripting with sequence files
Dynamic Lighting
I'll show you how to make monsters attacks light up world brushes
How to Compile the Half-Life Standard SDK on the Linux Platform
How to Compile the Half-Life Standard SDK on the Linux Platform
View Roll When Strafing (like DMC)
View Roll When Strafing (like DMC)
Decals for every mp5 bullet (FIX)
Decals for every mp5 bullet (FIX)
Parachute
Okay this tutorial covers how to create a parachute like the one in firearms
Dule Shell Ejects
This will tell you how to make Client side dule shell ejections for dule guns
Weapon Strength
how to change the strength of weapons
Using the Persistence Engine with Half-Life
This article describes first line-by-line how to create a program that uses the Persistence Engine, and then suggests some ways to use it in a Half-Life mod.
Exploding Rounds for the Python
Exploding Rounds for the Python
Guass Fix
Guass Fix
TFC Concussion Fix
TFC Concussion Fix
MP3-Dateien in HL abspielen
MP3-Dateien in HL abspielen (German)
Weapon Categories Fix
Wep-Cat-Fix
Making a Flashbang
Tutorial on making a flashbang grenade, complete with CS-style screen fading & concussion effect.
Weapon Ammo Modification, Etc.
Weapon Ammo Modification, Etc.
Sentry
The final sentry will look and work something like the sentries in TFC that the engineers build, we are going to have a phase when a player builds the sentry and can give it ammo and rockets.
Half-Life Graphics Part 3 - TriAPI
Half-Life Graphics Part 3 - TriAPI (German)
Blood bursts
In this tutorial I will teach you how to use the UTIL_Bloodstream effect.
Advanced: How to create a radar for Half-Life
It's been done before for Counterstrike.. but this'll go over how to make your own, including sprite display, use of vector classes etc.
Colour attributes for Menus
Colour attributes for Menus
Change the mp5 grenade launcher to a Shotgun-cannon Fix.
Change the mp5 grenade launcher to a Shotgun-cannon Fix.
Client dll Coding Tutorial #1
Drawing a Special Credit Number on the clients head's up display!
Round based system
Round based system
Team Coloured Text and Spectator Chat ( Fix )
In pongles Tutorial on 'Team Coloured Text and Spectator Chat ' he has 2 small errors to fix :
Where DiD I Hit Him (Update)
Where DiD I Hit Him (Update)
Improved Spectatormode for Teamplay
Improved Spectatormode for Teamplay
CS-style weapon dropping
Here is a little tutorial on CS-style weapon dropping.
Solid Triggers
This is really a reference tutorial which will help you create your own solid based entities for things like the CS Buy Area.
Turning speed of an entity
Challenge based article covering the turning speed of an entity

Copyright © 2020 www.sourcemodding.com
All trademarks are property of their respective owners in the US and other countries.


Disclaimer!

Sourcemodding is in no way affiliated with the Valve Corporation. This is a non-profit community driven website using content from Valve and the Community.

All files are provided as is and are simply mirrors of files that can easily be found elsewhere online.

If you dispute anything on the website or want something removed please get in touch.