Garry's Mod

Garry's Mod

993 평점
Fake hits fix
2
4
3
   
어워드
즐겨찾기
즐겨찾기됨
즐겨찾기 해제
Content Type: Addon
Addon Type: Effects
Addon Tags: Fun, Realism
파일 크기
게시일
업데이트일
2.613 KB
2021년 8월 8일 오후 5시 59분
2024년 10월 3일 오후 5시 42분
업데이트 노트 11개 (보기)

다운로드 위해 구독하기
Fake hits fix

Redox님의 1 모음집
CFC TEST
아이템 83개
설명
Now supports players & npcs!
This addon aims to fix "fake hits" / hitreg feel, whenever a player shoots another player or npc. This can cause the attacker to see fake blood particles while the player that's getting shot at receives no damage at all.

The addon does this through server siding most of the effect, making it only trigger when a player actually takes damage.

Github Link [github.com]
댓글 125
t5d6k3 2025년 9월 20일 오후 12시 11분 
this mod breaks TTT/Sandbox blood pools by Yakubian Tricknologist
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2073051145
!!PleaseCleanMyteeth!! 2025년 9월 8일 오후 5시 22분 
This makes mod makes me bleed and get wounded in vehicles. The cars themselfs are bleeding while sitting in it.
VAKANCY 2025년 7월 23일 오전 8시 02분 
thanks lomb
.kkrill 2025년 7월 14일 오후 12시 08분 
this addon breaks blood effects with ent:DispatchTraceAttack()
also because it makes ent:GetBloodColor() always return -1 it breaks even manual util.Effect( "BloodImpact" )
Lombaxtard 2025년 4월 29일 오후 12시 27분 
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 2025년 4월 29일 오전 10시 36분 
But they do. I added IsRagdoll as a condition and blood splatter system worked immediately
Redox  [작성자] 2025년 4월 29일 오전 10시 09분 
it checks if the entity is a player, npc or nextbot under that
ragdolls wont pass though that
Lombaxtard 2025년 4월 29일 오전 9시 38분 
@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  [작성자] 2025년 2월 11일 오전 3시 44분 
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 2025년 2월 10일 오후 2시 24분