A Hat in Time

A Hat in Time

342 ratings
Anti-Grief Badge
2
   
Award
Favorite
Favorited
Unfavorite
Collectible: Badge
Availability: Available Instantly
Online Party
File Size
Posted
Updated
1.447 MB
24 Jun, 2019 @ 2:47am
12 Jul @ 4:42am
11 Change Notes ( view )

Subscribe to download
Anti-Grief Badge

Description
You are playing online and someone interrupts you with attacks or hat abilities? These times are over now. While equipped, this badge grants the following effects:

- Blocks and ignores Umbrella attacks.
- Blocks and ignores Brewing Hat explosion attacks.
- Blocks and ignores Ice Hat earthquakes.
- For Online Party Plus! user: Prevents other players from carrying you around.

Special feature: Anywhere mode!
Anywhere mode lets you use the Anti-Grief Badge effects
without using a badge slot. You can enable this feature in the config menu.

Credits:
SamiSha | Creation of the code that prevents Anti-Grief Badge users from attacking other players.
42 Comments
SamiSha 12 Jul @ 4:58am 
:mafia:
Lightning  [author] 12 Jul @ 4:55am 
@SamiSha
Thank you very much!
The Anti-Grief Badge and the Aura Badge have been updated.
Vanilla 12 Jul @ 3:35am 
@SamiSha Seeing as the author has been MIA for years. I think at this point is best to make an Anti-Anti-Grief Badge that counters the effects of this badge so that only people with this badge on can't attack you.
SamiSha 12 Jul @ 1:49am 
Hello, can you please add a very simple iteration when the anti grief is active? This will be helpful to bring a balance to Anti-Grief badge being fair for all players, if people want to have it equipped, then they cannot hit others.

Add this in the update function:

local Hat_GhostPartyPlayer ghost;

foreach DynamicActors(Class'Hat_GhostPartyPlayer', ghost) { ghost.bCanBeDamaged = false; }

And when this gets disabled set all ghost to "bCanBeDamaged" back to true, thus fixing the issue.


In Tick:
https://i.imgur.com/8OH9mz4.png

In RemoveProtection():
https://i.imgur.com/DTdmIi7.png
Vanilla 18 Apr @ 12:11am 
The author calls it the "Anti-Grief Badge", but I only ever see griefers using it because they can abuse what's essentially 'god-mode' with it.
JDWMGB 29 Oct, 2023 @ 3:46pm 
it would be very cool if you update this to prevent people from attacking other players with it on
HatLagg 18 Oct, 2023 @ 1:54am 
When are we getting the Anti-Anti-Grief badge?
Zen 11 Jul, 2022 @ 6:37am 
Same.
DeltaWing 27 Feb, 2022 @ 9:29pm 
Mind making it so that having the badge equipped stops you from being able to attack anyone else? I've seen people just equip this badge and abuse the crap out of it
the j 21 Jan, 2022 @ 10:08am 
As a wise man once said,

"This isnt fun.
I wanna whack people off big ledges.
This is evil."

-Veggie Ice Cream, 2020