Garry's Mod
Projected Texture Impact Light
18 件のコメント
OPTIX 6月3日 16時00分 
each time the npcs shoot the particles keep shooting if that makes sense its lagging my game pls fix
Zippy 2月1日 1時59分 
Glad you fixed it. And yeah, life steals precious Gmod time sadly...
Jiyū to anzen  [作成者] 1月31日 23時42分 
sorry for the wait, it was finals week, but I fixed it
Zippy 1月22日 8時38分 
getting the same issue i believe from the muzzle one
Zippy 1月22日 8時27分 
[Projected Texture Impact Light] lua/autorun/pt_impactlight.lua:128: attempt to call method 'GetActiveWeapon' (a nil value)
1. v - lua/autorun/pt_impactlight.lua:128
2. unknown - lua/includes/modules/hook.lua:102
3. FireBullets - [C]:-1
4. PrimaryAttack - addons/zbase2/lua/weapons/weapon_zbase/sh_internal.lua:80
5. ZBWepSys_Shoot - addons/zbase2/lua/zbase/npc_base_internal.lua:797
6. ZBWepSys_FireWeaponThink - addons/zbase2/lua/zbase/npc_base_internal.lua:1188
7. ZBWepSys_Think - addons/zbase2/lua/zbase/npc_base_internal.lua:1254
8. ZBaseThink - addons/zbase2/lua/zbase/npc_base_internal.lua:457
9. v - addons/zbase2/lua/zbase/sh_hooks.lua:186
10. unknown - lua/includes/modules/hook.lua:102 (x33)

Missing IsNPC/IsPlayer() check?
Jiyū to anzen  [作成者] 1月9日 19時20分 
Things should be fixed now, and work better. Let me know how it works.
Jiyū to anzen  [作成者] 1月9日 13時50分 
Yeah- the check for metal surfaces kinda sucks anyways so I’ll rework it and fix that.
Zippy 1月9日 13時38分 
@Jiyū to anzen
im also getting that error, just a missing nil check?
Zlobin Proto AK-12 1月8日 17時26分 
I'm getting weird particles shooting NPC's. I'm using full dynamic animated blood as well so maybe there's an incompatibility between the two, but could you check it out?
Jiyū to anzen  [作成者] 1月8日 10時19分 
I cannot port this to Hl2- as HL2 does not support lua code.
Chillshark2003 1月7日 22時29分 
do you think you could port these to hl2?
bre 1月7日 19時50分 
Oh, perfect! Appreciate you fixing it :csdsmile:
Jiyū to anzen  [作成者] 1月7日 19時21分 
Dude I just got that error myself earlier and was about to fix it, what a coincidence
bre 1月7日 18時33分 
This gives an error when hitting some surfaces, probably needs some kind of surfaces fallback if I had to guess... The surfaces are stuff like L4D2 props. I'm getting this from hitting a couch and a light with a default HL2 pistol.

lua/autorun/pt_impactlight.lua:68: attempt to index local 'SurfaceData' (a nil value)
1. v - addons/projected texture lights/lua/autorun/pt_impactlight.lua:68
2. unknown - lua/includes/modules/hook.lua:102
Potato Gaming 1月7日 9時57分 
Neat!
Jiyū to anzen  [作成者] 1月3日 21時01分 
I’ll try it out when I can. Thanks for the suggestion.
Ready the Rabbit 1月3日 16時43分 
can you try doing one for weapons that have glowing or bright parts on them? like the ar2, gravity/physics gun, crossbow, bugbait, stunstick etc.
Kregg 1月3日 7時18分 
This is aweome!