Raised This Month: $120 Target: $400
 30% 

DoD Field Medic


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Day of Defeat        Category:   Gameplay        Approver:   Hawk552 (427)
Vet
Veteran Member
Join Date: Jul 2006
Location: I|O wa
Old 06-13-2007 , 00:56   DoD Field Medic
Reply With Quote #1

DoD Field Medic - For Day of Defeat 1.3
(update 6-3-08)

Description:
This plugin allows players to regenerate hitpoints (health). Players can be healed by saying "/medic" (in team chat), or by automatic healing, or both, depending on how the plugin is configured.

(Note: Yes, I've seen the other automatic health regeneration plugins and the awesome DoD Medic Class plugin by TatsuSaisei. The capabilities of this plugin lies somewhere in between those. We've been running this plugin on our server for a while now and all the players really seem to like it.)

Calling a Medic:
Players use 'say_team /medic' to summon a Medic. Doing so will initiate the healing precess. At default settings, this will regenerate 100 hitpoints in 10 seconds. Players can only summon a medic a set number of times (default 2) per life. If you summon a medic with 100 health, or while currently being healed by the medic, it will still count against you. When a player calls for a medic, a voice file can optionally be played from the player's location for all to hear.

Auto-Healing:
Players will automatically regenerate hitpoints whenever they are injured. At default settings, the healing is at a slower rate of 1 hitpoint per second. Kind of like 'walking it off'.

Both Methods: (default)
The plugin defaults to performing both options at the same time. Calling a 'Medic' overrides the auto-healing until you are at 100% health.

Slowing:
The plugin has an option to slow a player down while they are being healed. It is off by default.

Credits:
The basic healing routine is from the 'HP Regeneration by Doombringer' plugin that I've modified somewhat. The idea of using a voice call is from the plugin 'DoD Missing Sounds by Trp. Jed'.

Compatability Note:
The 'say_team /medic' client command will be forwarded on to other plugins after this plugin has processed it. So if other plugins uses the same command, they will still get processed as long as the other plugin is initialized after this one. How other health plugins may affect this one is unknown.

Command:
dod_fieldmedic <#|?> (access level 'h' - default 3)
0 - Disables the plugin
1 - Players heal quickly when they call a Medic
2 - Players heal themselves automatic, but slowly
3 - Both mode-1 and mode-2 are enabled
? - Displays these command parameters

CVARs:
dodmedic_ctrl - Controls Plugin Mode (default 3)
dodmedic_autotime - Time rate to add auto-healing hitpoints (default 1.0)
dodmedic_autostep - Hitpoints to add for auto-healing time rate (default 1)
dodmedic_automaxhp - Maximum health for auto-healing (default 80)
dodmedic_time - Time rate to add Medic hitpoints (default 0.1)
dodmedic_step - Hitpoints to add for each time rate (default 1)
dodmedic_maxhp - Maximum health for Medic healing (default 100)
dodmedic_sound - Player yells "Medic" when called (default 1)
dodmedic_calls - Number of times a Medic can be called per life (default 2)
dodmedic_maxspeed - Speed player moves while being healed by Medic (default 30)
dodmedic_maxspeed_enable - <0|1> Enable maxspeed feature (default 0 - disabled)
dodmedic_fu_ck - <0|1> Enable FUllupdate cheCK (default 1 - enabled (N/A on Ham version))

Note:
There are 2 versions offered...
V2.0 (dod_fieldmedic.sma) is for those who use Amxmodx prior to v1.8.
V2.1H (dod_fieldmedic_H.sma) utilizes features in the Hamsandwich module.

Revision History:
---------------
2.1H (6-4-08)
Implement HamSandwich module for Damage detection.

2.0H (6-3-08)
Implement HamSandwich module for Death and Spawn detection.
Removed 'fullupdate' protection (not required when using Ham)

2.0 (6-3-08)
Option to slow player while being healed by a Medic
More CVars added to control options
Protection to block 'fullupdate' command
Uses DeathMsg event instead of client_death forward
Uses global variables to track tasks

1.5 (7-29-07)
Removed ability to call Medic in all-chat. Player must now call medic via say_team only.
Changed default medic healing time for faster regeneration.
Added random responses if a medic is called excessivily.

1.3 (6-12-07)
Original Release.

The plugin includes a server-side variable named DOD_FieldMedic so you can locate servers that use the plugin via Game-monitor

(update 6-3-08)
-
Attached Files
File Type: sma Get Plugin or Get Source (dod_fieldmedic.sma - 2306 views - 9.4 KB)
File Type: sma Get Plugin or Get Source (dod_fieldmedic_H.sma - 1716 views - 9.4 KB)
__________________
=====================================
- My Plugins -
=====================================

Last edited by Vet; 05-11-2009 at 23:19. Reason: Version update
Vet is offline
Send a message via MSN to Vet
kmal2t
BANNED
Join Date: Apr 2006
Old 06-13-2007 , 02:41   Re: DoD Field Medic
Reply With Quote #2

I didn't see any approved medic plugins on the plugins list. I don't really play DoD but it would make sense to me to have it so you can only heal yourself once and it's rapid or you can "buy" medic class and lose something else like your grenade or whatever. Would also be cool to have a little cross on your helmet or something indicating you're a medic, otherwise it's not really unique from another regen plugin other than you add a couple of dod sounds n such.
kmal2t is offline
Vet
Veteran Member
Join Date: Jul 2006
Location: I|O wa
Old 06-13-2007 , 09:10   Re: DoD Field Medic
Reply With Quote #3

Quote:
Originally Posted by kmal2t View Post
I didn't see any approved medic plugins on the plugins list.
Exactly, that's why I wrote it.

Quote:
Originally Posted by kmal2t View Post
or you can "buy" medic class and lose something else like your grenade or whatever. Would also be cool to have a little cross on your helmet or something indicating you're a medic
That's not the intent of the plugin. Its meant to be a 'quick and easy' solution (like my wife's cooking).

Quote:
Originally Posted by kmal2t View Post
otherwise it's not really unique from another regen plugin
True again. But DoD is a slightly different critter. Regeneration code from other plugins I've seen need a little help to work with DoD.
__________________
=====================================
- My Plugins -
=====================================
Vet is offline
Send a message via MSN to Vet
Vet
Veteran Member
Join Date: Jul 2006
Location: I|O wa
Old 07-29-2007 , 12:11   Re: DoD Field Medic
Reply With Quote #4

Minor update. See initial post for details.
__________________
=====================================
- My Plugins -
=====================================
Vet is offline
Send a message via MSN to Vet
Gussmand
Junior Member
Join Date: Mar 2008
Old 03-09-2008 , 18:18   Re: DoD Field Medic
Reply With Quote #5

plugin work in CS1.6? if no - please port into CS1.6
thks
Gussmand is offline
Vet
Veteran Member
Join Date: Jul 2006
Location: I|O wa
Old 03-09-2008 , 19:01   Re: DoD Field Medic
Reply With Quote #6

CS is not my forte. You probably ought to post in the Plugin Requests forum. I'm sure someone could handle it.
__________________
=====================================
- My Plugins -
=====================================

Last edited by Vet; 06-03-2008 at 20:57. Reason: misunderstood question
Vet is offline
Send a message via MSN to Vet
Vet
Veteran Member
Join Date: Jul 2006
Location: I|O wa
Old 06-03-2008 , 20:56   Re: DoD Field Medic
Reply With Quote #7

After about a year of use, the plugin was due for an update.

In the new version, the following was done...
- Option to slow player while being healed by a Medic
- More CVars added to control options
- Protection to block 'fullupdate' command (N/A for Ham version)
- Uses DeathMsg event instead of client_death forward
- Uses global variables to track tasks
- Optimized code in several places

Also, there are now 2 versions offered...
V2.0 (dod_fieldmedic.sma) is for those who use Amxmodx prior to v1.8.
V2.1H (dod_fieldmedic_H.sma) utilizes features in the Hamsandwich module for the Death, Damage and Spawn routines. Fullupdate check removed. Thus, Amxmodx 1.8+ and the HamSandwich module are required.
__________________
=====================================
- My Plugins -
=====================================

Last edited by Vet; 06-04-2008 at 11:58.
Vet is offline
Send a message via MSN to Vet
=|[76AD]|= TatsuSaisei
Junior Member
Join Date: Nov 2006
Old 10-13-2008 , 14:05   Re: DoD Field Medic
Reply With Quote #8

Quote:
Originally Posted by Vet View Post
(Note: Yes, I've seen the other automatic health regeneration plugins and the awesome DoD Medic Class plugin by TatsuSaisei. The capabilities of this plugin lies somewhere in between those. We've been running this plugin on our server for a while now and all the players really seem to like it.)
;)
__________________
=|[76AD]|= TatsuSaisei is offline
Send a message via AIM to =|[76AD]|= TatsuSaisei
oms
Junior Member
Join Date: May 2009
Old 05-09-2009 , 16:49   Re: DoD Field Medic
Reply With Quote #9

im new to this stuff tyia for assistance.

So i have DOD server also running AMXMODX

where exactly do i put these files:

I believe im suppose to use v2.1h because i do have Hamsandwich module.

There are 2 versions offered...
V2.0 (dod_fieldmedic.sma) is for those who use Amxmodx prior to v1.8.
V2.1H (dod_fieldmedic_H.sma) utilizes features in the Hamsandwich module.


hmmm what file or files do i add these too?


Command:
dod_fieldmedic <#|?> (access level 'h' - default 3)
0 - Disables the plugin
1 - Players heal quickly when they call a Medic
2 - Players heal themselves automatic, but slowly
3 - Both mode-1 and mode-2 are enabled
? - Displays these command parameters

CVARs:
dodmedic_ctrl - Controls Plugin Mode (default 3)
dodmedic_autotime - Time rate to add auto-healing hitpoints (default 1.0)
dodmedic_autostep - Hitpoints to add for auto-healing time rate (default 1)
dodmedic_automaxhp - Maximum health for auto-healing (default 80)
dodmedic_time - Time rate to add Medic hitpoints (default 0.1)
dodmedic_step - Hitpoints to add for each time rate (default 1)
dodmedic_maxhp - Maximum health for Medic healing (default 100)
dodmedic_sound - Player yells "Medic" when called (default 1)
dodmedic_calls - Number of times a Medic can be called per life (default 2)
dodmedic_maxspeed - Speed player moves while being healed by Medic (default 30)
dodmedic_maxspeed_enable - <0|1> Enable maxspeed feature (default 0 - disabled)
dodmedic_fu_ck - <0|1> Enable FUllupdate cheCK (default 1 - enabled (N/A on Ham version))

Last edited by oms; 05-09-2009 at 16:51.
oms is offline
Vet
Veteran Member
Join Date: Jul 2006
Location: I|O wa
Old 05-09-2009 , 23:24   Re: DoD Field Medic
Reply With Quote #10

Actually, if you have Hamsandwich, then you can use either version. You don't need to add the cvars or commands to anything unless you want to change the default configuration.

There are several tutorials offered for installing plugins in the support/help forum.
__________________
=====================================
- My Plugins -
=====================================
Vet is offline
Send a message via MSN to Vet
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:10.


Powered by vBulletin®
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Theme made by Freecode