Valve Source Code 2013 Tutorial (Episode 19): Adding Dynamic Lights For Weapons & Items

Channel:
Subscribers:
18,100
Published on ● Video Link: https://www.youtube.com/watch?v=FLgtM-h5O3E



Half-Life 2
Game:
Category:
Tutorial
Duration: 16:00
775 views
32


Hello everyone and welcome to a new (probably short) series of videos I do involving the source code from Valve for Half-Life 2, and some guides on how to do stuff with this code. In this episode, I outline how to add dynamic lights, or dlights for short, for weapons and items in Source. In particular, I focus on muzzle light flashes (that works for most weapons), the Stunstick, the Physgun and battery item pickups. Please let me know what you think and see you for whatever I decide to do next, thanks for watching!

Based off this tutorial: https://developer.valvesoftware.com/wiki/Muzzle_Flash_Lighting

Stunstick tutorial: https://youtu.be/nczWHAplPcI

Physgun tutorial: https://youtu.be/utUc71lEm8c

► You can buy me a coffee to support the effort of creating videos on my new channel! -- https://www.buymeacoffee.com/gareththegamer
► My new channel: GarethTheGamer -- https://www.youtube.com/channel/UC36qEnApR9ua9eDjaRLYcbA




Other Videos By TheMaster974


2023-05-15Hammer Tutorial 31 - Adding Dynamic Light to a Portal Turret
2023-05-08May 2023 Update (New Videos Are Coming!)
2023-04-27Valve Source Code 2013 Tutorial (Episode 13.75): Variable Overflows & Examples
2023-04-18Gareth Showcases: cstrike-sdk-2013 (Downloading & Testing A Counter-Strike Source Mod!)
2023-04-15Looking At My Old Portal Maps From 2012!
2023-04-13Valve Source Code 2013 Tutorial (Episode 20): Adding The Hopwire [Black Hole] Grenade & Issues!
2023-04-09April 2023 Update (Testing Out A New Audio Setup & Videos Are Coming!)
2023-04-06Halo: Reach - Firefight Matchmaking Episode #14 [Playing With James!]
2023-04-01My First Ever Music Project! - Dead or Alive Full Album (2010)
2023-03-26Hammer Tutorial 30 - Pneumatic Diversity Vent in Portal 2
2023-03-20Valve Source Code 2013 Tutorial (Episode 19): Adding Dynamic Lights For Weapons & Items
2023-03-13Valve Source Code 2013 Tutorial (Episode 18): Restoring The Molotov Weapon
2023-03-08Gareth Plays: The Complex: Found Footage (Eerie Backrooms Exploration!)
2023-02-28Halo: Reach - Firefight Matchmaking Episode #13 [The Return To 2 Player Score Attack Domination!]
2023-02-26Gareth and James Play: Portal 2 Co-op Part 6 (Art Therapy DLC!)
2023-02-21Gareth and James Play: Portal 2 Co-op Part 5 (Saving Science!)
2023-02-17Valve Source Code 2013 Tutorial (Episode 0): Downloading and Compiling the Code [2023 Edition!]
2023-02-16Gareth and James Play: Portal 2 Co-op Part 4 (Excursion Funnels Course!)
2023-02-11Gareth and James Play: Portal 2 Co-op Part 3 (Hard-Light Surfaces Course!)
2023-02-07Hammer Tutorial 29 - Box Dropper From Portal 1 As A func_instance
2023-02-06Gareth and James Play: Portal 2 Co-op Part 2 (Mass and Velocity Course!)



Tags:
TheMaster974
Valve
Source
Code
2013
Singleplayer
Tutorial
Adding
Dynamic
Lights
dlight
For
Weapons
Items
Firing
Light
Weapon
Addition
Implementation
Stunstick
Physgun
item_battery
Battery
Item
Half-Life 2
Half
Life
Coding
Visual
Studio
Guide
How To
Episode 19
dlights



Other Statistics

Half-Life 2 Statistics For TheMaster974

At present, TheMaster974 has 78,348 views spread across 111 videos for Half-Life 2, and roughly a days worth of Half-Life 2 videos were uploaded to his channel. This is 9.78% of the total watchable video on TheMaster974's YouTube channel.