AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   DoD Medic (https://forums.alliedmods.net/showthread.php?t=57753)

Hell Phoenix 07-10-2007 16:14

DoD Medic
 
1 Attachment(s)
DoD Medic
Hell Phoenix
http://www.charliemaurice.com/plugins

This plugin is a basic medic plugin. If someone is below the set health, they can type in !medic and receive some life back.


Versions:
1.0
* First Public Release!

Cvarlist (default value):
dod_medic_health_maximum 30 <Maximum Health left to be able to use !medic>
dod_medic_health_give 40 <Amount of health to give when !medic is used>

Admin Commands:
None

Extreme_One 07-10-2007 17:32

Re: DoD Medic
 
Can you make it so that when they trigger the default voice_medic console command the health boost is granted? <- Without needing to type !medic

Also (I've not tested this so if you may have already) make it so that the voice_medic console command is triggered for those that type !medic

Hell Phoenix 07-10-2007 18:35

Re: DoD Medic
 
It does already trigger the voice_medic. Ill look at the first thing...I just gotta find out how its sent to the server. Shouldnt be too hard =D

vidar 07-11-2007 14:15

Re: DoD Medic
 
Thanks i really waited for this!

tcviper 08-20-2007 09:42

Re: DoD Medic
 
Any updates on this cool plugin like a setting to set max times you can give health?

Pvt.Snail 08-20-2007 10:10

Re: DoD Medic
 
Works great. Thanks!!!

Mosalar 02-16-2008 17:49

Re: DoD Medic
 
Although it works perfectly, while looking at the logs I noticed this. Whisky Tango Foxtrot?
Code:

2008 - 21:03:38: -------- Mapchange to dod_sigmaringen --------
L 02/16/2008 - 21:31:14: [dod_medic.smx] 2
L 02/16/2008 - 21:33:53: [nextmap.smx] Nextmap changed map to "dod_abbey_b2"
L 02/16/2008 - 21:33:57: -------- Mapchange to dod_abbey_b2 --------
L 02/16/2008 - 21:35:10: [dod_medic.smx]
L 02/16/2008 - 21:42:36: [dod_medic.smx]
L 02/16/2008 - 21:44:51: [dod_medic.smx]
L 02/16/2008 - 21:45:00: [dod_medic.smx]
L 02/16/2008 - 21:45:33: [dod_medic.smx]
L 02/16/2008 - 21:47:53: [dod_medic.smx] %
L 02/16/2008 - 21:58:50: [dod_medic.smx] F
L 02/16/2008 - 22:02:17: [dod_medic.smx]
L 02/16/2008 - 22:03:22: [dod_medic.smx] 0
L 02/16/2008 - 22:03:28: [dod_medic.smx]
L 02/16/2008 - 22:04:11: [nextmap.smx] Nextmap changed map to "dod_crusade_rel"
L 02/16/2008 - 22:04:16: -------- Mapchange to dod_crusade_rel --------
L 02/16/2008 - 22:28:53: [dod_medic.smx]
L 02/16/2008 - 22:28:56: [dod_medic.smx] d
L 02/16/2008 - 22:30:00: [basevotes.smx] "Leadbait<282><>" initiated a map vote.
L 02/16/2008 - 22:30:21: [basevotes.smx] Changing map to dod_beaverville_b2mc due to vote.
L 02/16/2008 - 22:30:29: -------- Mapchange to dod_beaverville_b2mc --------
L 02/16/2008 - 22:30:32: [rockthevote.smx] [SM] Rockthevote was successfully started.
L 02/16/2008 - 22:33:30: [dod_medic.smx] F
L 02/16/2008 - 22:36:07: [dod_medic.smx]
L 02/16/2008 - 22:36:10: [dod_medic.smx]
L 02/16/2008 - 22:37:04: [dod_medic.smx]
L 02/16/2008 - 22:37:06: [dod_medic.smx]


Nepumax 04-12-2008 17:22

Re: DoD Medic
 
Quote:

Originally Posted by Extreme_One (Post 501745)
Can you make it so that when they trigger the default voice_medic console command the health boost is granted? <- Without needing to type !medic

Do you still working on that? Is it possible? Would be great!... :)

INsane_dod 05-08-2008 03:43

Re: DoD Medic
 
Works very well, love it...simple and handy!

DJ Tsunami 05-08-2008 06:52

Re: DoD Medic
 
2 Attachment(s)
Well, I figured I'd clean this plugin up a bit and add the requested features. It will now trigger when you trigger the voice_medic command, and it has support for multiple health kits per life. The cvars are:

sm_dodmedic_enabled 1 (Enable/disable being able to use !medic.)
sm_dodmedic_amount 40 (Amount of health to give when !medic is used.)
sm_dodmedic_count 1 (Amount of times per life to be able to use !medic.)
sm_dodmedic_maximum 30 (Maximum health left to be able to use !medic.)


All times are GMT -4. The time now is 19:35.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.