Garry's Mod

Garry's Mod

246 ratings
Auto Remove Underwater NPCs
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: NPC
Addon Tags: Fun, Realism
File Size
Posted
Updated
1.669 KB
28 Feb, 2024 @ 4:26am
6 Mar, 2024 @ 1:31am
3 Change Notes ( view )

Subscribe to download
Auto Remove Underwater NPCs

In 1 collection by Coffee Man
Coffee Man's Gameplay-Enhancing Addons
71 items
Description
NPC effect addon for Garry's Mod. Automatically removes specific NPCs if they're created underwater.

Useful if you use random NPC spawners and the map you're playing on has AI Nodes that cause NPCs to spawn underwater (such as some spots throughout Half Life 1's campaign).





Features:
  • a_cleanwaternpc 1 to enable auto removing NPCs.

  • When one of the allowed NPCs is created, after a 2 seconds timer, their position gets checked to see if they're completely submerged underwater or not.

  • NPCs completely submerged underwater will get removed.

  • NPCs covered only partially by water will not get removed.

  • NPCs that are created on land and then end up moving underwater somehow will also not get removed.

  • Only the following NPCs can get removed:

    - npc_combine_s
    - npc_metropolice
    - monster_human_assassin
    - npc_zombie
    - npc_fastzombie
    - npc_poisonzombie
    - npc_zombine
    - npc_citizen




Credits: