Garry's Mod

Garry's Mod

[SEF] Status Effect Framework
145 Comments
Specneo Nov 27 @ 4:32pm 
oops.
Aaron  [author] Nov 27 @ 2:14pm 
wrongly used in kolossos weapon lua.
Specneo Nov 27 @ 1:22pm 
[[SEF] Status Effect Framework] lua/sef/sef_functions.lua:328: attempt to perform arithmetic on local 'value' (a nil value)
1. BaseStatRemove - lua/sef/sef_functions.lua:328
2. FunctionBegin - lua/sef/sef_effectlist.lua:425
3. fn - lua/sef/sef_hooks.lua:20
4. unknown - lua/ulib/shared/hook.lua:115
Specneo Nov 27 @ 1:22pm 
[[SEF] Status Effect Framework] lua/sef/sef_functions.lua:60: bad argument #2 to 'Desc' (number expected, got nil)
1. Desc - [C]:-1
2. ApplyEffect - lua/sef/sef_functions.lua:60
3. unknown - lua/weapons/kolossos/shared.lua:617
StrawWagen Nov 22 @ 12:23pm 
it's possible, someone did it by setting some savevalue repeatedly, i dont remember the exact value tho
Aaron  [author] Nov 17 @ 6:52am 
maybe with KeyValues... but im not sure if i didn't tried that and nothing happend
w.black57 Nov 17 @ 6:25am 
Hi, I'd like to say these are amazing status effects. I managed to create a mod out of some of the statuses (stati?).
Dynamic NPC Difficulty Scaling

I would like to ask if there is any possibility to speed up NPCs? I've been finding ways in lua to do this or is this a really limitation to lua in modifying the speed of the NPCs, I've been looking everywhere :SaffronCry: . Other than that keep it up! :SaffronHappy:
Asura Nov 6 @ 8:31pm 
there a way to turn off the voiceline that plays when u have all your AHP depleted? hearing 'armor compromised' repeatedly with AHP regen is a lil annoying.
Aaron  [author] Nov 1 @ 1:26am 
If passive is applied they you should have an icon in your HUD stating that.

For all effects and passives visit github and look for SEF_Passives file
LytePlayz Nov 1 @ 1:22am 
why when i try to apply a passive it doesnt work??? i did the usage correctly, im pretty sure its the effect names im messing up, what are the effect names???
カリフォルニアEAS Oct 26 @ 1:37pm 
ok
Aaron  [author] Oct 26 @ 12:06pm 
Lambda Player issue. not SEF
カリフォルニアEAS Oct 26 @ 12:01pm 
[[SEF] Status Effect Framework] lua/sef/sef_effectlist.lua:265: bad argument #1 to 'ScaleDamage' (number expected, got nil)
1. ScaleDamage - [C]:-1
2. HookFunction - lua/sef/sef_effectlist.lua:265
3. v - lua/sef/sef_hooks.lua:78
4. unknown - lua/includes/modules/hook.lua:102
5. FireBullets - [C]:-1
6. defaultfunc - lua/lambdaplayers/lambda/sv_weaponhandling.lua:217
7. UseWeapon - lua/lambdaplayers/lambda/sv_weaponhandling.lua:275
8. unknown - lua/entities/npc_lambdaplayer.lua:834
apionne Oct 22 @ 9:13pm 
Is there a way to hide the particle effects
Aaron  [author] Oct 15 @ 9:01pm 
You havę smth conflicting
カリフォルニアEAS Oct 15 @ 4:19pm 
it's fine?
Aaron  [author] Oct 15 @ 7:27am 
i have no issue with ARC9
カリフォルニアEAS Oct 15 @ 5:20am 
[[SEF] Status Effect Framework] lua/sef/sef_effectlist.lua:265: bad argument #1 to 'ScaleDamage' (number expected, got nil)
1. ScaleDamage - [C]:-1
2. HookFunction - lua/sef/sef_effectlist.lua:265
3. v - lua/sef/sef_hooks.lua:78
4. unknown - lua/includes/modules/hook.lua:102
5. FireBullets - [C]:-1
6. ProgressPhysBullet - lua/arc9/shared/sh_physbullet.lua:479
7. v - lua/arc9/shared/sh_physbullet.lua:255
8. unknown - lua/includes/modules/hook.lua:102
Turns out my issue was a speed changer addon but i couldn't find it so i just assumed it was a mod issue or a weapon base
Aaron  [author] Sep 22 @ 12:41pm 
Particles is up to dev

Hidden icon/hud can be added in the future
ɅµЋƵƵ Sep 22 @ 12:36pm 
Will this ever support hidden effects? Like having SEF handle the effects serverside but not display an icon / particles?
Aaron  [author] Sep 21 @ 9:40pm 
So everything works as intended
200 to 240 while walking and using
Aaron  [author] Sep 21 @ 3:12pm 
How much haste effect adds HU and for how long? Can you show that?
mb i guess i forgot how source works lol
ignoring everything i said about it being slower;
the speed effect still applies correctly it just ends really quick and i have no idea why.
Aaron  [author] Sep 21 @ 2:56pm 
Default values should be ~200 when walking and ~400 when sprinting
Aaron  [author] Sep 21 @ 2:55pm 
Uhm, SEF operates on Hammer Units (HU) which all Source games uses to determine the velocity, positions etc.

Haste effect adds X amount of HU to both Walk Speed and Run Speed.

Your HUD doesnt reflect that due to value being converted to Km/h, which is not a good way to measure speed.

Use cl_showpos 1 to show your position and your current velocity and measure change here
Aaron  [author] Sep 21 @ 2:02pm 
Would be nice
Spawn in >>> ETF or SCP:SL Adrenaline >>> Use >>> The Haste buff lasts for a single second then ends i go from like 48 smth hammer units back to 37 quickly which is normal running speed, (what type of mods mess with the speed buff? It might be a incompatability) need a video?
Aaron  [author] Sep 20 @ 11:52pm 
Give me example of what are you doing and what is happening
haste buff ends within a second of time even if the effect has like more than 1 second
Leon Sep 12 @ 5:48pm 
Nah I like figuring out cause it feels way better once you get it working
but ima give this a try wish me luck!
Aaron  [author] Sep 12 @ 5:43pm 
You can always use AI or smth
Leon Sep 12 @ 5:34pm 
Aw dang cause i was trying to think of making the armor stuff stack on health boost same with speed but uh I'll try to figure this out then (even though my lua knowledge is kinda bleh)
Aaron  [author] Sep 12 @ 5:09pm 
if you create own, yes
most of them dont have, few yeah
Leon Sep 12 @ 2:31pm 
Can effects be stackable??
Aaron  [author] Aug 28 @ 2:00am 
It's Steam fault or your internet provider is blocking Steam Download servers
SCP-049 Aug 28 @ 1:52am 
插件“[SEF] Status Effect Framework”无法下载:Steam Error: Generic failure。

请检查 Steam 下载界面并确保没有发生错误。
Aaron  [author] Aug 19 @ 9:57pm 
Create a disucssion and post it there
C2TY Aug 19 @ 9:54pm 
whatever i equip the MW2019 weapons i dont see the viewmodel, on ARC9 and other weapons base i can see the viewmodel. on draconic base whatever i start the game i somehow get new errors that i dont know what it causes but i have the error log of it
Aaron  [author] Aug 18 @ 9:03pm 
What exactly has been broken in those two addons?
C2TY Aug 18 @ 4:15pm 
for some reason this addon somehow broke two addons, one is MWBase and the other is Draconic Base
RiceIsNice Jul 29 @ 5:30pm 
HOOK: Think - InitBaseStatsSEF ~ 20ms
Aaron  [author] Jul 25 @ 4:33pm 
What is not optimized?
RiceIsNice Jul 25 @ 4:23pm 
not really optimized but good :steamthumbsup:
Aceratia May 24 @ 8:53pm 
How would one remove the HUD, visual effects, and sounds? (cinematic purposes)
Groncho Huevoncho May 15 @ 11:39am 
You should put the answer in a FAQ on the Description isntead of your Discord Server, just sayin' :TheRooster:
Sims May 8 @ 10:38pm 
It seems like this mod removes the ear-ringing sound effect that plays when taking explosive damage
🕊 Peace&Death ⚰ Apr 7 @ 3:00am 
HOW TO REMOVE FCKNG VISUAL EFFECTS?
🕊 Peace&Death ⚰ Apr 7 @ 3:00am 
Визуальные эффекты всё портят