Garry's Mod

Garry's Mod

665 个评价
Auto Remove Stuck NPCs
2
2
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: NPC
插件标签: 快乐, 写实
文件大小
发表于
更新日期
1.311 KB
2024 年 2 月 29 日 下午 2:29
2024 年 3 月 6 日 上午 1:32
3 项改动说明 ( 查看 )

订阅以下载
Auto Remove Stuck NPCs

在 Coffee Man 的 1 个合集中
Coffee Man's Gameplay-Enhancing Addons
71 件物品
描述
NPC effect addon for Garry's Mod. Automatically removes specific NPCs if they spawn stuck.

Useful if you use random NPC spawners and the map you're playing on has f*cky AI Nodes.





Features:
  • a_cleanstucknpc 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 stuck or not.

  • NPCs that spawn stuck in places such as doors, map geometry, other NPCs, the player, your mom, etc, will 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

Limitations:
  • This addon has only been tested for Single Player. There may be unnoticed bugs during multiplayer matches.

  • Has potential to break scripted campaign maps which already have scripted NPCs, so don't use it when playing those.

  • If you want to add additional NPCs to the list, you'll need to download and alter the addon's code manually, as I'm a lazy prick when it comes to adding customization.




Credits: