A bunch of people have asked me for the Medic part of the Realism Mod as they didn't want to install the whole thing. So here it is.
It is very configurable, customizing it to your own personal needs.
Type in chat, calls for a medicInstallation
Or bind a key to voice_medic
- Copy sm_dod_medic.smx to addons/sourcemod/plugins
- Unzip bandage.zip and place the bandage folder in your server's sounds folder. You may also want to add the bandage sound to a Fast DL server if you have one.
- Copy dodmedic.phrases.txt to addons/sourcemod/translations. This is a Unicode Text file so if you decide to edit it, remember to save it in that format. (Use Wordpad, for example)
Not necessary, but if you wish to customize your version of Medic Mod, add these to your server.cfg file located in dod/cfg:
- sm_medic_enabled 1
Allows the plugin to be switched off
- sm_medic_health 25
Minimum health before a player can be healed
- sm_medic_delay 1.0
Number of seconds before a player gets healed
- sm_medic_yell 3.0
The time allowed between calls for the medic. Prevents over-spamming the medic call
- sm_medic_ftb 1
When enabled, the player's screen will momentarily fade to black
- sm_medic_freeze 1
When set, the player is frozen while being healed.
- sm_medic_freeze_time 5.0
Number of seconds a player is frozen on the spot while being healed
- sm_medic_hp 80
Max health of a player at spawn
- sm_medic_kits 2
The number of times a player can heal themselves between spawns. Can be set to a very high number to disable.
- sm_medic_randomhealth 1
When enabled, a random amount of health is given back to the player. When disabled, it uses sm_medic_maxhealth
- sm_medic_minhealth 30
The minimum amount of health to give a player during healing
- sm_medic_maxhealth 50
The maximum amount of health to give a player during healing
- sm_medic_alpha 210
The maximum amount of alpha to apply to FTB - the higher the number, the denser the color
- sm_medic_red 0
The maximum amount of red in FTB
- sm_medic_green 0
The maximum amount of green in FTB
- sm_medic_blue 0
The maximum amount of blue in FTB
- sm_medic_chat 2
0 = no chat
1 = minimal chat
2 = full chat
Features an anti-medic-spam, so that players do not continually spam the medic button.
Remember that if you need to run the bandage sound, you need to make your server either sv_pure 0 (not recommended) or sv_pure 1 with
added to your pure_server_whitelist.txt file.
Binds: bind "v" "say !medic" or bind "v" "voice_medic"
Added a bunch more cvars to make it more user friendly
Added voice_medic as a trigger
Began adding translations:
Simplified Chinese (courtesy of Monkie)
Added 4 cvars to allow more control over FTB so that it could be red or any color you want
Changed the way FTB happens. The screen darkens as soon as the player calls for the medic and fades back out when he gets healed.
Fixed a small bug where screen would not fade back out if Freeze time was turned off
Changed some minor bugs.
Fixed a bug where a message would be spammed (Thanks Lebson)
Added a cvar to remove the least important chat spam
Thanks to jjk521 and Lebson for play testing changes.