Skip to content

Sourcemod plugin for No More Room in Hell that enables the use of first aid kits and bandages on teammates

License

Notifications You must be signed in to change notification settings

dysphie/nmrih-team-healing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Warning

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

[NMRiH] Team Healing

Allows survivors to heal each other

Installation

  • Install Sourcemod 1.11 or higher
  • Grab the latest zip from the releases section.
  • Extract the contents into addons/sourcemod
  • Refresh the plugin list (sm plugins refresh or sm plugins load nmrih-team-healing in server console)

Usage

Equip a first aid kit or bandages and hold USE (Default: E) on another player to treat them.

  • Team healing is slightly faster than self healing by default.
  • Players can break out of healing by crouching.
  • There's an exponential cooldown on healing attempts to prevent griefing.
  • (SM 1.11+ only) Healing is disabled when zombies are too close. Clients can toggle this protection off in their settings.

Opting out

Players can opt out of healing via sm_settings -> Medical Settings

image

Translations

All messages in this plugin can be translated via translations/team-healing.phrases.txt. See Translations File Format

Medical Sounds

Medical sounds can be tweaked via configs/teamhealing.cfg.

Note: At the moment, custom sounds will not be automatically added to the downloads list

CVars

Cvars are saved to cfg/sourcemod/plugin.teamheal.cfg, which is autogenerated when the plugin is first loaded.

  • sm_team_heal_enabled (Default: 1)
    • Enables or disables the plugin
  • sm_team_heal_first_aid_time (Default: 8.1)
    • Seconds it takes for a first aid kit to heal a teammate.
  • sm_team_heal_bandage_time (Default: 2.8)
    • Seconds it takes for bandages to heal a teammate.
  • sm_team_heal_max_use_distance (Default: 50.0)
    • Maximum distance from a player for medical actions to work

Global forwards

Many actions are exposed to developers via global forwards, see nmr_teamhealing.inc

Modules

Player blocks

Allows players to block specific people from healing them via sm_settings. This module is placed in plugins/disabled by default. Blocks are saved to the database specified by the sm_team_heal_block_database convar. This must match the name of an entry in sourcemod/configs/databases.cfg

About

Sourcemod plugin for No More Room in Hell that enables the use of first aid kits and bandages on teammates

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project