Garry's Mod

Garry's Mod

767 ratings
Volume Lights for HL2/HL:S/Portal
2
3
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Scenic, Realism
File Size
Posted
Updated
5.492 KB
7 Mar, 2024 @ 4:59pm
13 Mar, 2024 @ 4:18pm
2 Change Notes ( view )

Subscribe to download
Volume Lights for HL2/HL:S/Portal

Description
Volumetric Lights for base-game content

This addon utilizes the Draconic Base's basic volume light function to add simulated light volumes to a variety of base-game content from Half-Life: 2, Half-Life: Source, and Portal 1. This includes:
  • Combine Elites
  • The Combine hunter chopper
  • Manhacks
  • Combine turrets
  • Combine cameras
  • Half-Life: Source security turrets
  • Gargantua
  • Portal turrets
  • Portal's camera

Convars
  • cl_lightvolumes_cameras -- Combine & Portal 1 cameras
  • cl_lightvolumes_elites -- Combine Elites
  • cl_lightvolumes_halflifeone -- Half-Life: Source NPCs
  • cl_lightvolumes_hunterchopper -- Combine Helicopter
  • cl_lightvolumes_manhacks -- Self explanatory
  • cl_lightvolumes_turrets -- Combine turrets
  • cl_lightvolumes_turrets_portal -- Portal 1 turrets.

These "lights" are dynamic in that they will dim while in brighter areas, and become more obvious in darker spaces.


If you need immediate help with this addon, or just want to know what I'm working on or etc, then consider joining my Discord[discord.gg] server.
Popular Discussions View All (2)
28
31 Jul, 2024 @ 3:33am
how much lag we talkin
Dwarf
0
14 Mar, 2024 @ 10:59am
what maps in screen shots
Psycho
156 Comments
дабстеп мытищи 20 Nov @ 8:32pm 
wish the light went off on death and non-elite combines had this too
Vuthakral  [author] 15 Nov @ 2:43am 
See previous comment
爱笑的佐巴扬 14 Nov @ 1:24pm 
[Volume Lights for HL2/HL:S/Portal] lua/autorun/lightvol_basegame.lua:30: Tried to use a NULL entity!
1. GetModel - [C]:-1
2. RemakeLightVolume - lua/autorun/lightvol_basegame.lua:30
3. func - lua/autorun/lightvol_basegame.lua:62
4. unknown - lua/includes/modules/hook.lua:267
Noelle Holiday 9 Nov @ 7:56am 
correction, that happens when i have keep corpses on
Noelle Holiday 8 Nov @ 10:14am 
whenever i despawn or kill an npc affected by this mod, i get this error?
[Volume Lights for HL2/HL:S/Portal] lua/autorun/lightvol_basegame.lua:30: Tried to use a NULL entity!
1. GetModel - [C]:-1
2. RemakeLightVolume - lua/autorun/lightvol_basegame.lua:30
3. v - lua/autorun/lightvol_basegame.lua:62
4. unknown - lua/includes/modules/hook.lua:102
Vuthakral  [author] 22 Jul @ 10:35am 
Very similar.
And what about the soldiers, turrets, and Manhacks?
Vuthakral  [author] 22 Jul @ 6:36am 
It'd be possible to fake it in hl2 by putting sprites directly on the models, but not a real coded system like this one is. But that workaround would require a lot of materials (a few hundred just for the combine helicopter), and likely be very taxing on the renderer as a result.
I have a question, ¿with hl2 is it possible to make this mod?
Thing 22 Nov, 2024 @ 11:26am 
"[Volume Lights for HL2/HL:S/Portal] lua/autorun/lightvol_basegame.lua:86: attempt to compare number with nil
1. unknown - lua/autorun/lightvol_basegame.lua:86
2. unknown - lua/dlib/modules/hook.lua:904"

Could you please help me?