8000 GitHub - dysphie/nmrih-door-protect: Sourcemod plugin for No More Room in Hell that provides protection against door griefing
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Sourcemod plugin for No More Room in Hell that provides protection against door griefing

Notifications You must be signed in to change notification settings

dysphie/nmrih-door-protect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Warning

This plugin is unmaintained since Torn Banner's acquisition of the game.

[NMRiH] Door Grief Protection

AlliedModders thread

Prevents doors from being blocked by:

  • Players standing in the way
  • Players spamming +use on them
  • NPCs closing them
  • Weapons and other physics props

When a door is jammed it will briefly appear translucent and allow players to walk thru it.

door-protect.demo.mp4

Installation

  1. Update to Sourcemod 1.11.6826 or higher
  2. Grab the latest ZIP from releases
  3. Extract its contents into addons/sourcemod
  4. Refresh your loaded plugins (sm plugins refresh or sm plugins load nmrih-door-protect)

CVars

CVars are saved and read from cfg/plugin.doorprotect.cfg

  • sm_door_use_rate (Default: 0.3)

    • Rate (in seconds) at which players are allowed to input +use on doors
  • sm_door_max_use_count (Default: 4)

    • A door will become ghost-like if it's prevented from opening this many times
  • sm_door_max_block_seconds (Default: 1.5)

    • A door will become ghost-like if it's blocked by an object for this many seconds
  • sm_ghost_door_revert_after_seconds (Default: 4)

    • A ghost-like door will attempt to revert back to its default properties after this many seconds. If a player is in the way, it will wait till they step out.
  • sm_ghost_door_opacity (Default: 120)

    • Transparency value for ghost-like doors, 255 is fully opaque

About

Sourcemod plugin for No More Room in Hell that provides protection against door griefing

Resources

Stars

Watchers

Forks

Sponsor this project

0