Garry's Mod

Garry's Mod

Horde Optimizer
35 opmerkingen
Darkness 22 jul om 0:25 
"this does not happen by default for some reason?" source does not use gpu culling or any other kind of occlusion. instead, it's all done using binary space partitioning, which has its quirks, that being overdraw in scenarios where the mapper does not care about bsp
feddifasber 14 jul om 3:42 
can you please add a feature where you can turn off the horde optimizer for certain entities? turrets disappear when knocked over, striders are just a pain to fight because they constantly turn invisible, it probably wouldnt do much to your system just turning it off for them because they aren't spawned in hordes frequently. (p.s npc battles are now so much better thnak you)
♬♫~Joe Blaze~♫♬ 2 jul om 15:47 
Not useful when sniping or shooting from afar.
NAgamer 22 feb om 16:11 
this causes a duplicate npc to appear when performing a killmove with bsmod
StafkiGTN 21 feb om 0:46 
the fog scared me and made me think my addons were compromised, cool addon though,. maybe i should read first </3
StickGuy 11 jan om 22:24 
or vj??
StickGuy 11 jan om 22:23 
does this work for snpcs?
Canoespotzewulfe 22 dec 2024 om 14:31 
Could there be a toggle that prevents some entities from not being rendered? The Gargantuan from black mesa flickers when half of it is behind something. Could be as simple as; "Copy paste model / npc name and it will be blacklisted from the optimization" or is it not that simple to add?
kaydenrayner5 2 dec 2024 om 8:36 
ISTG I WAS GOING CRAZY OVER THE FOG
ITS JUST THIS MOD
sora1d  [auteur] 6 nov 2024 om 22:08 
Did I leave it on by default lmao
FlattenedCar0 2 okt 2024 om 7:49 
I was wondering how there was random fog in my game, turns out it was an intended feature lol
bre 4 jan 2024 om 8:10 
works like a charm but i'm noticing it breaks RT cameras, so stuff like breen's monitor is flickering repeatedly
not game breaking or anything just a heads up for epileptic people :skele:
sora1d  [auteur] 12 okt 2023 om 18:51 
Fix applied thanks for the heads up!
>KB> >KEKSQUAD 12 okt 2023 om 18:30 
[Horde Optimizer] lua/autorun/hordeoptimizer.lua:144: Tried to use a NULL entity!
1. GetNPCState - [C]:-1
2. fn - lua/autorun/hordeoptimizer.lua:144
3. unknown - lua/ulib/shared/hook.lua:109

this could benefit from a nullcheck in case whatever entity is being used here becomes null/non-existent
Peanut Butter Jelly Jam 26 sep 2023 om 18:24 
Can you make an addon that does what this does but for props?
Рядовой КОТэЭ 9 sep 2023 om 12:58 
If I play with this on the server will it work?
פרחים 5 jul 2023 om 17:56 
10\10 yay
StrawWagen 21 jun 2023 om 14:18 
You could try setting the visibility distance of npcs beyond the fog, to something small like 1, would probably bring perf up another step
sora1d  [auteur] 12 jun 2023 om 21:25 
yup
Serika 12 jun 2023 om 7:24 
is ho_fog_enabled a serverside convar?
MonieThu 10 jun 2023 om 15:35 
sounds pretty lit
sora1d  [auteur] 8 jun 2023 om 17:32 
purely model hiding
Alfraido 8 jun 2023 om 17:20 
another thing, do npcs stop thinking when they arent rendering or is it purely model(s)?
sora1d  [auteur] 8 jun 2023 om 16:59 
I somehow didn't think of that. Thanks for your suggestion!
Alfraido 8 jun 2023 om 16:52 
can you add a command for making npcs always render at a certain distance, this would help avoid npcs being invisible even though you're right next to them. Thanks
house 8 jun 2023 om 9:30 
it also makes them disappear but only for like milliseconds its kinda hard to describe i can send a video though.
house 8 jun 2023 om 9:29 
Idk why but the mod keeps making errors when i spawn in enemy's using things like Dr.Gbase
Big Trouble 8 jun 2023 om 8:22 
Help I was transported back in time when I heard that music in the video


Great mod actually though!
sora1d  [auteur] 6 jun 2023 om 6:18 
Fixed
sora1d  [auteur] 6 jun 2023 om 3:11 
Seems to be singleplayer only issue, fixing it now. Thanks for reporting.
syahmi2002.sa 6 jun 2023 om 1:34 
I tried the addon with any NPC-altering addons disabled such as iNPC, Extended PM Animations for NPCs and Armored Combine NPCs, but the bug still persists.
syahmi2002.sa 6 jun 2023 om 1:19 
@some random idiot Not much that I can think of. Mind you that this bug doesn't occur when I kill NPCs with MWII Takedowns.
sora1d  [auteur] 6 jun 2023 om 0:43 
I can't seem to recreate those bugs on my end. Do you have any addon of note?
syahmi2002.sa 6 jun 2023 om 0:35 
Not only that, when a Hunter NPC from HL2 Episode 2 is killed, it will flicker while its death animation is playing before becoming a dead ragdoll.
syahmi2002.sa 6 jun 2023 om 0:28 
There's a bug I found in this addon. When an NPC is killed, it'll leave its final-"pose"-before-being-killed for a second or two before disappearing from view, while its dead ragdoll spawns normally.