Garry's Mod

Garry's Mod

69 ratings
Better God Mode
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Fun, Roleplay
File Size
Posted
Updated
5.022 KB
Dec 22, 2023 @ 4:35am
Oct 7, 2024 @ 4:14pm
13 Change Notes ( view )

Subscribe to download
Better God Mode

Description
You can enable this in console by setting "Better_God_Mode" to 1 or anything above.



Garry's Mod has a reasonably good god mode, however it does not completely prevent you from dying, which this addon aims to do! This is basically a more advanced god mode.



This uses PlayersShouldTakeDamage, EntityTakeDamage, and GetFallDamage hooks to prevent damage.

This overrides Kill() and KillSilent() to prevent death. (Can be changed in console with: Better_God_Mode_Block_Kill and Better_God_Mode_Block_KillSilent)

This can also block player suicide if you set Better_God_Mode_Deny_Suicide to 1 or anything above. (Will use hook: CanPlayerSuicide)

You can set Better_God_Mode_Admin_Only to 1 or anything above to make sure only admins can have better god Mode.

Enjoy!
19 Comments
Dishings  [author] Feb 15 @ 1:57pm 
@[E]nDico
I didn't even know that lol. :steamhappy:
[E]nDico Feb 14 @ 4:55pm 
Good enough to protect the player against the Mingegod. Very impressive!
Dishings  [author] Jan 21 @ 5:48am 
@alastorfan2029
Haha, glad someone enjoyed it! :steamhappy:
alastorfan2029 Jan 20 @ 1:36pm 
NOT THE LAST PICTURE LOL
Dishings  [author] Dec 15, 2024 @ 7:28am 
@ROJAV8
It seems that the issue is because Terminus tries to kill the player until it's confirmed dead, and because the player is unable to die it never stops.
Dishings  [author] Dec 15, 2024 @ 2:14am 
@ROJAV8
That's really odd, I will check what the issue is, and I'll let you know when I've fixed it or found the issue. :steamthumbsup:
The Chosen One Dec 14, 2024 @ 5:50pm 
@Dishings It acctually Freezes my game until terminus gets out of chase mode
The Chosen One Dec 14, 2024 @ 5:48pm 
@Dishings Terminus crashes my game because it doesn't know what to do.
The Chosen One Dec 14, 2024 @ 5:44pm 
i will test @Dishings
Dishings  [author] Dec 14, 2024 @ 4:55pm 
@ROJAV8
Yes, I believe it is fully able to survive! :steamthumbsup::steamhappy: