Garry's Mod

Garry's Mod

Fake hits fix
121 Comments
Lombaxtard 29 Apr @ 12:27pm 
Scratch that, the effect didn't persist after a game restart. Changing
"if not ent:IsNPC() then return end"
to
"if not ent:IsNPC() or not ent:IsRagdoll() then return end"
in the "OnEntityCreated" hook worked for sure though. I made sure to re-test again to be definitive. It seems that before that the script failed to initialize somehow and I couldn't tell if fake hits were happening or not
Lombaxtard 29 Apr @ 10:36am 
But they do. I added IsRagdoll as a condition and blood splatter system worked immediately
Redox  [author] 29 Apr @ 10:09am 
it checks if the entity is a player, npc or nextbot under that
ragdolls wont pass though that
Lombaxtard 29 Apr @ 9:38am 
@Name's Joystick; Redox
To make it compatible with Enhanced Blood Splatter System is literally a 2 second fix, just replace the line
"if ent.IgnoreFakeHitFix then return end"
with the line
"if ent.IgnoreFakeHitFix or ent.IsRagdoll then return end".

All this damage logic is not needed on ragdolls anyway since by the default shooting them doesn't spawn any particles, and no need to account for fake hits of Enhanced Blood Splatter System because that addon already has prediction built in
Redox  [author] 11 Feb @ 3:44am 
this probably wont be needed if you use a clientside hitreg addon. this is basically just as simple as is while clientside hitreg addons redo the entire way hitregistration is done
Vincent 10 Feb @ 2:24pm 
Biggest Boss [Knockout] 15 Jun, 2024 @ 11:31am 
keep in mind this may not work with blood mods like fda b
Atonic 19 Jan, 2024 @ 9:44am 
Causes particles that appear when zombies are cut in half to be missing
Joystick 30 Sep, 2023 @ 11:24am 
How does it conflict? It doesnt allow that other mod to spawn blood splatters because this mod double-checks if hit was made
соня сквиртик 30 Sep, 2023 @ 6:33am 
Ага
Smart Man With Glasses Wallpaper 29 Sep, 2023 @ 1:09pm 
how does it even conflict???
Joystick 25 Sep, 2023 @ 8:08am 
Okay, sorry for bothering
Redox  [author] 25 Sep, 2023 @ 5:15am 
I've been busy, i could do it yes but its a low priority
Joystick 25 Sep, 2023 @ 4:28am 
no answer?(
Joystick 21 Sep, 2023 @ 1:50am 
I dont think its possible to fix the conflict because of how your addon is constructed, but maybe you could make a separate version of it that wont affect npc's
Joystick 21 Sep, 2023 @ 1:49am 
Joystick 21 Sep, 2023 @ 1:48am 
sorry
Redox  [author] 20 Sep, 2023 @ 3:14pm 
This addon conflicts with itself? That's a new one lol
Joystick 20 Sep, 2023 @ 1:31pm 
Conflicts with https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2569993674
can you please make version of this addon just for players?
Redox  [author] 24 Jul, 2023 @ 7:55am 
Depends on the blood mod
"Big Dick" 1999 23 Jul, 2023 @ 11:26pm 
Does this break blood mods?? i need to know, theres something breaking them for me, that makes custom decals not appear on walls for some reason.
RACC 2 Apr, 2023 @ 7:24pm 
This add-on has made it onto The Collection of Collections.
Judgement Kazzy 19 Nov, 2022 @ 2:38pm 
I have the same issue as that guy, but I love having more blood
TheDarkSentinel 17 Sep, 2022 @ 6:17am 
Client sided netcode moment
Redox  [author] 26 Aug, 2022 @ 7:56am 
Just tested, not happening for me or others. Try uninstalling all your addons. Something else is likely doing it.
Jarno DUUDSONI 26 Aug, 2022 @ 6:00am 
all npcs
Redox  [author] 25 Aug, 2022 @ 2:53pm 
What kind of npcs?
Jarno DUUDSONI 25 Aug, 2022 @ 12:51pm 
the blood effects are duplicated on npcs btw
YanasRal 11 Jun, 2022 @ 10:43am 
For some reason "CS GO Mounted Content Fix" breakes particle effects so i can't see blopd splats after bullet impact. I'm sorry to bother you.
Redox  [author] 11 Jun, 2022 @ 10:15am 
I wouldn't see why that'd happen, try with only this addon installed then try again
YanasRal 11 Jun, 2022 @ 9:57am 
Can there be a bug that when i shoot the enemy - blood splats are unseen?
Redox  [author] 14 May, 2022 @ 5:36pm 
I don't see any reason it wouldn't
landon.on.dick22 14 May, 2022 @ 4:23pm 
does this work with TTT?
Redox  [author] 5 Feb, 2022 @ 10:50am 
bullet holes are something i wanted to look into in the future, because of source you can only clear all the holes at once. so if 1 fake it hits it would have to remove all of them. which can be painful. also detecting the existance of fake hit is incredibly hard.
JSJosh 5 Feb, 2022 @ 8:40am 
It might just be something with M9K, but M9K weapons still do fake hits w/ bullet holes on NPCs but no damage.
ZenKazzy 5 Feb, 2022 @ 2:34am 
nor videos
ZenKazzy 5 Feb, 2022 @ 2:34am 
why are people being dicks because of a addon having no pics
Redox  [author] 4 Feb, 2022 @ 1:00pm 
yeah man, lemme just make a picture of a hitfix :steamfacepalm:
tactical_grilledcheese 4 Feb, 2022 @ 12:46pm 
and no chicks
tactical_grilledcheese 4 Feb, 2022 @ 12:46pm 
No pics no clicks
Spuratisia 21 Nov, 2021 @ 6:33pm 
Thank you lots for this, Im ganna have a positive third experience when playing gmod with someone else
im ganna ask my bf to use this mod <3
Redox  [author] 15 Sep, 2021 @ 3:27pm 
custom npcs, stock npcs?
⸸ₓナイトメアₓ⸸ 15 Sep, 2021 @ 3:17pm 
basicly what im saying is for some reaosn it works fine for players but not on npc's at least for me... i get fake blood splats everywhere
Redox  [author] 15 Sep, 2021 @ 3:11pm 
?
⸸ₓナイトメアₓ⸸ 15 Sep, 2021 @ 2:49pm 
i just got done fighting some combines on some map and i get hitmarkers every time i hit someone, i got the blood splatter but no actual hit
zoeynoflaca 5 Sep, 2021 @ 7:31pm 
Hey i know...i saw you on this one sandbox server. I forgot the name sadly.
Pixl 30 Aug, 2021 @ 3:48am 
when i shoot a npc, i just see a bullet decal, and no blood particle, is this different?
robotslender 25 Aug, 2021 @ 6:30am 
nice:steamthumbsup:
Redox  [author] 23 Aug, 2021 @ 2:48pm 
Alright, let me know if you find anything
Will>Dx 23 Aug, 2021 @ 2:29pm 
Found it, ent:SetBloodColor( -1 )
Sorry then, i will test it further but from our expirence, script makes more blood showing up and not exactly removing bad hit marks.