Garry's Mod

Garry's Mod

85 betyg
Advanced Light Entities Module
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Content Type: Addon
Addon Type: Effects
Addon Tags: Scenic, Realism
Filstorlek
Lades upp
Uppdaterades
3.162 MB
6 jan @ 1:49
21 maj @ 18:45
3 ändringsnotiser ( visa )

Abonnera för att ladda ner
Advanced Light Entities Module

I 1 samling av Jiyū to anzen
Projected Texture Light Effects
7 artiklar
Beskrivning
A simple edit to remove all entities from the selection except for "expensive_light_new" and "projected_light_new" entities, and disallows spawns from spawnmenu. The purpose of this mod is to allow these entities to be easily used for other mods, and my own projected texture mods. These entities do not collide with bullets or entities. I should also say that THIS DOES NOT WORK ON ITS OWN, A MOD HAS TO UTILIZE IT.

I do not own the code, all I did was edit it- credit goes to tau. I will take this down if the original creator requests it.

Original Addon: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=493751477&searchtext=advanced+

This also conflicts with the original addon.

If you want more shadows for light entities at once, go to Garry's Mod properties and go to General, and set launch options at the bottom; then add this:
-numshadowtextures <number>

-------------------------------------------------------------

List of ConVars:

Projected_light_new_distance (VALUE) - Sets distance until this entity turns itself off from player
Projected_light_new_max (VALUE) - Sets max amount of this entity until no more can be spawned
Projected_light_new_lightlevel (VALUE) - Sets the lightlevel where the entity will turn off
Projected_light_new_filter (VALUE) - Sets the entity's filter

Expensive_light_new_distance (VALUE) - Sets distance until this entity turns itself off from player
Expensive_light_new_max (VALUE) - Sets max amount of this entity until no more can be spawned
Expensive_light_new_lightlevel (VALUE) - Sets the lightlevel where the entity will turn off
Expensive_light_new_filter (VALUE) - Sets the entity's filter

Expensive/Projected_light_new_max ConVar takes all the entities on the map, whether on or off, so increase the value if lights do not show up.

-------------------------------------------------------------
6 kommentarer
λ Eiku λ 5 sep @ 2:10 
[Projected Texture Grenade Light] lua/autorun/pt_grenadelight.lua:39: attempt to call method 'SetFarZ' (a nil value)
1. unknown - lua/autorun/pt_grenadelight.lua:39

Timer Failed! [Simple][@lua/autorun/pt_grenadelight.lua (line 15)]
Attempted to create unknown entity type expensive_light_new!


Something about this tells me it fails to incorporate the required light entities, the only time it worked was when I had the original addon alongside with this, and clearly you say it conflicts with this version, but it also collided with the grenade itself so I am indefinitely confused, a lot of the information is misleading.
PManPlays44 29 maj @ 7:24 
Do these addons work with the Real CSM mod? Does that mod already implement dynamic fire, explosion, muzzleflash, e.t.c.? I would test it myself, but my Gmod keeps crashing when I try to use the Real CSM mod, and I'm currently try to find a fix for that.
really lags
Hircine 18 feb @ 16:21 
for what ever reason when i have this addon enabled it will create untextured squares on explosions, certain muzzle flashes, and gun smoke. for reference i use addons like MMod Particles - Explosion & Fire, and Half-Life 2 Reanimation Pack (Juniez Version) these addons seem to conflict without giving any errors indicating so, i currently have all of your Projected texture addons and tried uninstalling each one to see the problem but it seems to be the main light module conflicting with them maybe, i hope this is something fixable because i love these addons and would like to keep all of them together
Ready the Rabbit 20 jan @ 16:14 
false alarm it's a different addon, "hall of mirrors material", my bad
Ready the Rabbit 20 jan @ 15:40 
not exactly sure if it's one of the project texture addons but after the update my game started lagging like crazy, can try and look into it?