Raised This Month: $114 Target: $400
 28% 

Xtreme Medic


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   General Purpose        Approver:   Arkshine (91)
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 07-10-2011 , 12:42   Xtreme Medic
Reply With Quote #1

Xtreme Medic
Version 1.0.4a


Description:
Ever find your self gasping for air on the battle field wishing you could yell for medic to come help you? Well then this plugin is for you. It allows wounded soldiers to call for assistance. Remember there is a delay between the time you call and the time you get help. The medics cant teleport after all.. This must be compiled locally

Tested in CZ.

Cvars:
  • xm_toggle: Turns the plugin off and on (default 1)
  • xm_healthmin: Minimum health to call medic (default 65)
  • xm_healthmax: Maximum health allowed (default 100)
  • xm_healamount: Amount user is healed by medic (default 50)
  • xm_healtime: Delay before user is healed in seconds (default 2)
  • xm_healdelay: Delay between calls in seconds (default 20)
  • xm_mediccalls: Amount of calls/spawn (default 3)
  • xm_advertisement: Time between help message in seconds (default 60)
  • xm_glowtoggle: Turn Glowing on and off (default 1)
  • xm_redglow: Red glow color 0-255 (default 255)
  • xm_greenglow: Green glow color 0-255 (default 255)
  • xm_blueglow: Blue glow color 0-255 (default 255)
  • xm_alpha: Transparency of the glow 0-255 (default 25)
  • amx_prefix_name: Plugin prefix (shows in front of the text default is Xtreme Medic)
Requirements:
Addons:
To-Do list:
  • Nothing at the moment. More suggestions will further expansion.
Credits:
  • Apollyon - Helped with some of the code and ideas.
Notes:
  • For VR Mod Support. Use _vr.amxx
  • The sounds are included in the download. (total of 5 sounds)
  • For a list of servers running this plugin click here.
Change log:

1.0.1
Initial Release
1.0.2
Small bug fix's
1.0.3
Moved new Time down (not to created it if its not being used)
Removed redundant checks
cleaned up code
1.0.4
Created Constants for sounds
Added MultiLangual Support
Updated Color Chat to use the ColorChat Rage SubModule
Removed Thinking Ent
1.0.4a
Removed redundant checks.
Attached Files
File Type: zip Xtreme Medic.zip (267.5 KB, 151 views)
File Type: sma Get Plugin or Get Source (Medic-Xtreme.sma - 625 views - 7.2 KB)
File Type: sma Get Plugin or Get Source (Medic-Xtreme_vr.sma - 692 views - 7.2 KB)
__________________

Last edited by Doc-Holiday; 04-29-2013 at 15:15. Reason: Update v1.0.4
Doc-Holiday is offline
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 07-10-2011 , 12:57   Re: Xtreme Medic
Reply With Quote #2

What exactly is an optional requirement?
SnoW is offline
Send a message via MSN to SnoW
bibu
Veteran Member
Join Date: Sep 2010
Old 07-10-2011 , 14:14   Re: Xtreme Medic
Reply With Quote #3

Quote:
Originally Posted by SnoW View Post
What exactly is an optional requirement?


+

http://forums.alliedmods.net/showthread.php?p=549301

?
__________________
Accepting paid work for clans and communities. !Plugins & Models!
Don't hesitate to contact me.
bibu is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 07-10-2011 , 20:33   Re: Xtreme Medic
Reply With Quote #4

umm.... that's different... aim at team and heal them vs... hit the medic_call button you bind or type /medic and it heals you?? The only similarity is the fact that it heals some one.

Fixed my optional Requirement.....

Small update... my color chats had 0 as the index not id.... that would have been sad
__________________

Last edited by Doc-Holiday; 07-10-2011 at 21:37.
Doc-Holiday is offline
TheArmagedon
Senior Member
Join Date: Sep 2010
Location: Unknown Source
Old 07-10-2011 , 21:53   Re: Xtreme Medic
Reply With Quote #5

Very well coded!
Gj.
TheArmagedon is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 07-11-2011 , 00:10   Re: Xtreme Medic
Reply With Quote #6

Quote:
Originally Posted by TheArmagedon View Post
Very well coded!
Gj.

thanks now some testers lol.. ima upload them to my servers that use my private medic.... which was this one till i finished it and gave it to the community
__________________

Last edited by Doc-Holiday; 08-02-2011 at 04:29.
Doc-Holiday is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 07-15-2011 , 06:16   Re: Xtreme Medic
Reply With Quote #7

Small update

0.0.3
Moved new Time down (not to created it if its not being used)
Removed redundant checks
cleaned up code
__________________
Doc-Holiday is offline
deadman909
Veteran Member
Join Date: Oct 2008
Old 07-17-2011 , 18:06   Re: Xtreme Medic
Reply With Quote #8

Just wondering but does this plugin make you heal right away, Or does it take some time to heal you 50 hp?
__________________

deadman909 is offline
Send a message via MSN to deadman909 Send a message via Yahoo to deadman909
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 07-18-2011 , 00:47   Re: Xtreme Medic
Reply With Quote #9

Quote:
Originally Posted by deadman909 View Post
Just wondering but does this plugin make you heal right away, Or does it take some time to heal you 50 hp?
heals X amount of seconds

xm_healtime: Delay before user is healed in seconds (default 2)

Also can anyone let me know what they think i should add or change?? I would like to get this thing approved.
__________________

Last edited by Doc-Holiday; 07-20-2011 at 18:38.
Doc-Holiday is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 08-06-2011 , 03:46   Re: Xtreme Medic
Reply With Quote #10

ideas on how to make better?
__________________
Doc-Holiday is offline
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 17:37.


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