Programming

Name / Description
Site/Author
3 State Zoom For Any Weapon
I missed the zooming feature of the 357 that was in HL1 so I thought as a beginner tutorial I'd write a weapon zooming lesson. I then carried it out to a 3-stage zoom.
Coding a flashlight to secondary attack by Lord Ned (189)
Changing a weapon's secondary fire to toggling the flashlight
Add Far Clipping/Fading to Particles
This will let you optionally set far clipping/fading on particles, so you can fade particles out at a certain distance from you.
Enabling Spectator Mode
How to get spectator mode working. Based on HL2MP SDK
How to add Ammocrates for missing ammo type and/or create new ammo types
This tutorial will cover the code needed to add Slams and SGM1 Grenades as Ammocrate types, and also fix the graphics for two of the existing ones.
Setting up Visual Studio .net 2005 Beta C++ for Source
This is a quick and painless Artical on how to setup Visual Studio .net 2005 Beta, for use with Source Mods.
Adding Muting to your Scoreboard
A Small tutorial that explains how to put in simple muting on your scoreboard.
Attaching VGUIScreens to viewmodels
An article explaining how to attach dynamic vguiscreens to a weapons viewmodel
An Exploration Of Weapon_RPG: Part 1B
A fully documented exploration into the weapon_rpg class, starting with the basecombatweapon class and moving up the inheritance stack. The first part of the article disects basecombatweapon_shared.
Static Ragdolls
Ragdolls attached to their spawnpoint by a ragdoll constraint
Adding explosion to the Xbow bolt
Remember HL1's cross bow bolt exploded when it hit? Get that, in HL2.
Making Bots Join A Team
Make the bots join whichever team you wish. So easy, even I can do it!
GameUI
Explanation on handling VGUI without having a connection to a game.
Debugging your half-life 2 mod
I go through both methods for debugging your modification
Third Person Camera Upgrades
Collision check, translucency
Smoke Grenade
Change the frag grenade in MP HL to a smoke grenade
Making Your HL2DM Mod a Perfect Clone of HL2DM
This article let's you know how to setup your HL2DM mod to be exactly like HL2DM.
Scoreboard
Setting up a basic scoreboard (with teams!) in the HL2 FROM SCRATCH MP SDK
Adding Simple Pick up in Multiplayer
allows players to pick up objects with +use in multiplayer.
Game Movement Series #1: Wall jumping
How to setup wall jumping in half-life 2
Coding a Mod by Lord Ned (188)
You wanna make a mod? This tutorial focuses on the behind the scenes aspect, and less on the content.
3rd person View in Multiplayer
How to enable it in HL2DM
Implementation of a string lookup table
A string lookup table is a set of functions that is used to convert strings to pre-defined values
Adding Single-Player Weapons to Half-Life 2
The purpose of this article is to help you add the code for new weapons to your Half-Life 2 mod.
Super Phys Cannon Impulse
Get blue phys cannon with impulse 12
Game Movement Series #2: Analog Jumping and Floating
How to set up analog jumping (the longer you hold jump, the higher you go) and floating (pressing jump as you are falling decelerates your fall)
An Exploration Of Weapon_RPG: Part 1A
A fully documented exploration into the weapon_rpg class, starting with the basecombatweapon class and moving up the inheritance stack. The first part of the article disects basecombatweapon_shared.
More 3rd Person Camera Upgrades
This is an update to chrono's snippet.
Display player bounding box
Adds a console command to output the players bounding box mins & maxs to the console, and also draw's the bounding box in the world.
Three Firing Modes for Pistol
Explains how to create 3 firing modes for the pistol: semi-automatic, burst-fire, and fully-automatic.
Storing weapons on ladder
like Raven Shield or BF2
Fix MP Grenade Auto-Switching
A basic fix for stopping the grenade from auto-switching to the next best weapon after you throw one. Also allows more than one grenade to be thrown.

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.