-ZPS Medic
This plugin is for
Zombie Panic: Source only.
- A Quick Guide
Code:
This adds a dynamic medic to the server each round and
automaticly picks a player out of the hole team and gives them head medic.
The head medic can teach one other player to be a medic.
only the head medic can teach people. the medic will only work
with the suvivor team.
If you want to heal people press <USE> command or button on
the player and a menu will pop up saying Heal Player. Teach Playeralong
with the Targeted player.
When the medic is healing the target the target must stay
within 75 distance from the medic or he will stop healing the target.
The medic can heal himself by 10 hp each time the regen timer repeats.
if the medic is infected he will automaticly cure the infection along with if
he is healing someone else. there infection will be cured
Admins can set people as the head medic by typing "!givemedic <NAME>"
this will activate a command where it will set the player to head medic
along with the medic model and he can also teach someone to be medic.
if your the head medic and you teach one person. thats the max people
who you can teach. your only allowed to teach one person per round.
- How to Install
Place "zps_medic.smx" into your sourcemod plugins folder.
- Configeration
PHP Code:
sm_medicmodel: you place the model path into this command hear
sm_regentime: this is the regeneration timer between heals.
sm_medicnumber: Change the number of medics allowed bassed on how many players are in the server
sm_mediccureinfection: if enabled the medics can cure the infection.
sm_maxteach: this cvar is default by 1 and this can set the ammont of teaches the head medic can do.
sm_heartbeat: Disable Heart Beat Functionality
- Commands
!sm_givemedic <player name> //give a player medic
!sm_ismedic //cheak if you are a medic
Technical Problems
If there are any problems with the script. please post back whats wrong.
//Please Note
ill be adding the teaching adition to this plugin sortly due to heavy modifying of the old version and modifications + 50% of the script was recoded.
Code:
Change Log
V1.0.0
- Default functions shown at top.
- some functions where not working due to not sopported.
V1.1.0
- Fixed random choose player when round starts.
- Added extraction must be sopported.
- Fixed Regen Timer.
V1.1.5
- Changed how Medic teaches and heals.
- Edited how the medics heals and heals other players.
- Added a command for medic to teach people.
- added a teaching system so medic teach isnt instand.
V1.1.9
- Added a heart beating system when hp is low.
- Added New Cvars to help manage the plugin.
- Added ragdoll pushback when player dies from bullet.
- changed chat colour diferencial.
v1.2.2.5
- Players now get healed because the distance from the
medic has to be within reach to be healed.
- Random Healing pattens for both medic and players.
- Fixed Teaching Float because it wasnt functioning properly
- Fixed Functionality while getting medic, players location
- Fixed Playback sound for Heartbeat
- Added how many medics are allowed to be selected at the
start of the round bassed on how many players.
V1.2.3.0
- Added a model changer inforcer to make the the person a
medic skin if there medic but without the skin.
- Added A extra example. (if a client is a medic and dies he
turns into a carrier.)
Requires SDK Hooks 1.1 or later
Please Post Back Your Edits And Changes.
A taster of Sammys Server Plugin Collection
Created By Master(D) AKA MasterDJ
Code:
Join US
94.23.156.33:27017 - UK
68.232.165.166:27015 - US