Raised This Month: $ Target: $400
 0% 

[CS:S] Be Medic


Post New Thread Reply   
 
Thread Tools Display Modes
Author
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Plugin ID:
2382
Plugin Version:
1.4.2
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    4 
    Plugin Description:
    Allows to buy medic training and heal people.
    Old 06-17-2011 , 19:52   [CS:S] Be Medic
    Reply With Quote #1

    Be Medic

    v. 1.4.2
    Features :
    This plugin allows people of both team to buy (or randomly get) medic training (<sm_bemedic | say !bemedic | say_team !bemedic> ). People with medic training can heal people. To do so, they need to be near the wounded target, with their knife in hand and hold the use ('e') key. A progressbar (defusebar) will be show showing when the target will be healed.

    A specific model (or an over-head icon if you don't want to make your user download the model; be sure to check the config created by the plugin) is given to the medics and a little animation can be seen when there is healing going on. Note that if you disable models in the .cfg file, they won't be precached/downloaded. That may be wanted if you want to avoid players downloading models.

    Players willing to call a medic can bind a key to "sm_medic" or "<say | say_team> !medic". A radio-shout will be used ('!' + glow on radar + radio message), unless disabled (can be replaced with an ambient shout).

    Click image for larger version

Name:	AMedic.png
Views:	5362
Size:	86.0 KB
ID:	87583Click image for larger version

Name:	progressBar.jpg
Views:	4684
Size:	22.1 KB
ID:	87584Click image for larger version

Name:	beingHeal.jpg
Views:	4957
Size:	25.9 KB
ID:	87585Click image for larger version

Name:	ctmedic.jpg
Views:	4828
Size:	80.5 KB
ID:	88535Click image for larger version

Name:	medic_t.jpg
Views:	5850
Size:	31.6 KB
ID:	88536

    Known bugs :
    • None. Please report any.

    CVars :
    • bemedicversion: Gives version -_-'
    • ----------
    • bemedic : Maximum medics per team. 0 = disable plugin. Def. 2.
    • bemedic_random : Are the medic training given to random players ? 1=Yes, 0=No. Def. 0. New since 1.4.0.
    • bemedic_announce : Announce at the beginning of every X rounds that people can be medic. (If bemedic_random = 1, then announces who are the medics) 0 = No, 1+ = Yes. Def. 2.
    • bemedic_range : The maximum distance for a medic to heal someone. Def. 100.0.
    • bemedic_time : How many seconds it takes for a medic to heal someone. Integer. Def. 2.
    • bemedic_maxHealth : Maximum life of someone (for custom plugins/mods). Def. 100.
    • bemedic_heal : How much direct healing a medic does. Def. 10.
    • bemedic_icon : Show over head icon red cross ? 0 = No, 1 = Yes (Default).
    • bemedic_model : Give medics specific models ? 0 = No, 1 = Yes (Default).
    • bemedic_team : Resrict a certain team from becoming medic? 0 = No, 1 = Yes (restrict T), 2 = Yes (restrict CT). Def. 0.
    • bemedic_target : Medics can only target their teamates? 0 = No, 1 = Yes (Default).
    • ----------
    • bemedic_buycost : How much it costs to become medic. Def. 1000.
    • bemedic_buytime : Restrict medic training purchase with buytime. 0 = No, 1 = Yes (Default).
    • bemedic_buyzone : Restrict medic training purchase to buyzones. 0 = No, 1 = Yes (Default).
    • ----------
    • bemedic_overtimeheal_amount : How much a heal does per wave. Def. 4.
    • bemedic_overtimeheal_delay : How much time it takes between two healing wave. 0.0 = Disable overtime heal. Def. 2.0.
    • bemedic_overtimeheal_number : How many waves will it takes before wearing off. 0 = Disable overtime heal. Def. 10.
    • bemedic_overtimeheal_interrupt : Does damage breaks overtime healing ? 0 = No, 1 = Yes (Default).
    • bemedic_overtimeheal_animation : Show healing animation ? 0 = No, 1 = Yes (Default).
    • ----------
    • bemedic_callmedic_radio : Handle medic shout like a radio command ? 0 = No, 1 = Yes (Default).
    • bemedic_callmedic_sound : How will the sound be played ? 0 = No sound, 1 = Radio sound, 2 = Ambient sound. Def. 1.
    • bemedic_callmedic_cooldown : Minimum time required between two calls for a medic. Def. 1.0.
    • bemedic_callmedic_volume : How strong will the sound be played. Min = 0.0, max = 1.0 (Default).

    How to install :
    Extract "bemedic_ressources" at your cstrike folder...
    • "redcross.vmt" and "redcross.vtf" should be in "materials\custom".
    • "medic.wav" should be in "sound\misc".
    • 6 different files with the prefix "ct_urban" in "models/player/smithy/ct_medic_v2".
    • 2 different files with the prefix "ct_urban" in "materials/models/player/smithy/ct_medic_v2".
    • 6 different files with the prefix "slow" in "models/player/slow/hl2/medic_male".
    • 6 different files with the prefix (2)"eric_facemap", (2)"eyeball_l" and (2)"eyeball_r" in "materials/models/player/slow/hl2/medic_male".

    Also download the plugin and its translation file ;) :
    • "bemedic.smx" should be in in "plugins" folder.
    • "bemedic.phrases.txt" should be in "translations" folder.

    --------------

    Any suggestions/comments on the code or the plugin are welcomed and appreciated.

    Credits to :
    • Nut / toazron1 - For his [TF2] Donator Recognition plugin from where I took the show-overhead-sprite code.
    • exvel for his questions (which he himself answered in the scripting section of SM)
    • Twisted|Panda for his buyzone / buytime restriction examples
    • psychonic for his buttons press/release code thread
    • swixel and psychonic (again) for irc help
    • Fredd for his "Radio Help Icon" plugin for the overhead radio icon
    • javalia for his(her ?) stock functions (stocklib.inc) for how to reproduce a radio command
    • tuty for his sound
    • lokizito and away000 for brazilian-portuguese translation
    • Leonardo for his russian translation
    • Wuestenfuchs, BrianGriffin and Billy1987 for german translation
    • smithy for his awesome models search. He tooks some models (including the used one below) and recompiled them server-side for my plugin. He's also the one who suggested models to be implemented.
    • S-LoW for terrorist medic model conversion and his support (http://s-low.info moved http://s-low.net/forum/viewtopic.php?t=103).
    • d0nn for CT medic model (http://www.gamebanana.com/skins/26846)
    • Translators of current .phrases file :
      Spoiler

    Changelog :
    Spoiler


    Todo list/my requests :
    • Add a channel-beginning sound so we know someone's going to be healed (a link to a bandage-wrapping kind-a sound would be greatly appreciate ).
    • A better terrorist medic would also be nice. I'm not a huge fan of terrorists that we can see the whole head's skin.
    • Test http://forums.alliedmods.net/showthread.php?t=206651 for alternative sprite parenting.
    • Ensure that file exist before using animation/icons; same w/ model I guess,
    • Try to do it as with the sandvich in TF2 (drop a medkit).
    • Tell who was randomly chosen to be medic when that's the case.
    • Show when we're a medic on the HUD.
    • HL2DM ?
    Attached Files
    File Type: zip bemedic_ressources.zip (1.31 MB, 2694 views)
    File Type: txt bemedic.phrases.txt (12.9 KB, 1414 views)
    File Type: sp Get Plugin or Get Source (bemedic.sp - 2182 views - 39.3 KB)
    __________________
    My plugins :
    Red Maze
    Afk Bomb
    RAWR (per player/rounds Awp Restrict.)
    Kill Assist
    Be Medic

    You can also Donate if you appreciate my work

    Last edited by RedSword; 09-11-2017 at 17:20. Reason: updated german translation; selfnote 1403; trl171
    RedSword is offline
    thedon
    Junior Member
    Join Date: Sep 2009
    Old 06-17-2011 , 23:05   Re: [CS:S] Be Medic
    Reply With Quote #2

    Great Plugin, testing it now. Will come back with feedback
    thedon is offline
    RedSword
    SourceMod Plugin Approver
    Join Date: Mar 2006
    Location: Quebec, Canada
    Old 06-18-2011 , 01:54   Re: [CS:S] Be Medic
    Reply With Quote #3

    Quote:
    Originally Posted by thedon View Post
    Great Plugin, testing it now. Will come back with feedback
    Awaiting it =).

    I do know I need some sound when beginning to heal (any file-link would be great).

    My point making this plugin is to get a non-rigged medic; so I can add something great to CS: S while having something fairly balanced (that's why I did put something such as interrupting overtime heal ;)).

    EDIT : Added brazilian-portuguese translation. Credits for that translation go to lokizito.

    RE-EDIT : Added russian translation. Thanks to Leonardo.
    __________________
    My plugins :
    Red Maze
    Afk Bomb
    RAWR (per player/rounds Awp Restrict.)
    Kill Assist
    Be Medic

    You can also Donate if you appreciate my work

    Last edited by RedSword; 06-18-2011 at 16:36.
    RedSword is offline
    sinblaster
    Grim Reaper
    Join Date: Feb 2010
    Location: Australia
    Old 06-20-2011 , 08:56   Re: [CS:S] Be Medic
    Reply With Quote #4

    looks great, there's that half life to medic machine sound, Ill try find it, I always liked that. Ill see if I can find it
    __________________
    Happy Happy Joy Joy

    sinblaster is offline
    sinblaster
    Grim Reaper
    Join Date: Feb 2010
    Location: Australia
    Old 06-20-2011 , 09:39   Re: [CS:S] Be Medic
    Reply With Quote #5

    There's some health related sounds in this zip. I couldn't find the one I was talking about but there's a couple of heartbeats and a few ambient machine sounds that may or may not help. If you want anything edited or made PM me red.
    Attached Files
    File Type: zip healthsounds.zip (271.8 KB, 563 views)
    __________________
    Happy Happy Joy Joy

    sinblaster is offline
    smithy
    SourceMod Donor
    Join Date: Sep 2008
    Location: United Kingdom
    Old 06-20-2011 , 12:34   Re: [CS:S] Be Medic
    Reply With Quote #6

    Hi this plugin looks great i dont suppose you would be willing to add skin support

    I have just recompiled this one from gamebanana to be used for server side

    [IMG]http://img820.**************/img820/643/ctmedic.th.jpg[/IMG]


    All credits go to orignal skin creator i just simply recompiled for server side use

    http://www.gamebanana.com/skins/26846
    Attached Files
    File Type: zip CT_Medic.zip (4.39 MB, 782 views)
    __________________


    Last edited by smithy; 06-21-2011 at 06:39.
    smithy is offline
    RedSword
    SourceMod Plugin Approver
    Join Date: Mar 2006
    Location: Quebec, Canada
    Old 06-20-2011 , 21:37   Re: [CS:S] Be Medic
    Reply With Quote #7

    Quote:
    Originally Posted by sinblaster View Post
    There's some health related sounds in this zip. I couldn't find the one I was talking about but there's a couple of heartbeats and a few ambient machine sounds that may or may not help. If you want anything edited or made PM me red.
    Those sounds are interesting; however I don't really see them in my plugin, since I never do anything when life is low; but that might be something to add; thank you. For the healing; I was more expecting "bandage unwrapping/wrapping" sound. A kind of sound that in other circumstances you would say "wtf is that", dunno if you understand my point of view ><.

    Quote:
    Originally Posted by smithy View Post
    Hi this plugin looks great i dont suppose you would be willing to add skin support

    I have just recompiled this one from gamebanana to be used for server side

    All credits go to orignal skin creator i just simply recompiled for server side use

    http://www.gamebanana.com/skins/26846
    Wow !!! Thanks for the tip; I never considered it.

    I looked at your link and the model is awesome; however I would feel cheap if only a team had a custom medic model. I've searched all the skins on gamebanana for CS:S and I'm divided between those 3 for CTs :

    (your) http://www.gamebanana.com/skins/26846 ; the best because of quality / redcross on arm IMO
    (other1) http://www.gamebanana.com/skins/17594
    (other2) http://www.gamebanana.com/skins/22318 ; really cool, but no redcross

    Also; I'd like to know if HL2 models are compatible with CS:S (don't know much about models) ; because I'm considering those ones for the terrorists :

    http://www.gamebanana.com/skins/screens/74684

    ... as there isn't much choices :'(.

    But I'm definatly interested in adding those models and maybe remove my redcross overhead. Just missing a Terrorist one...
    __________________
    My plugins :
    Red Maze
    Afk Bomb
    RAWR (per player/rounds Awp Restrict.)
    Kill Assist
    Be Medic

    You can also Donate if you appreciate my work

    Last edited by RedSword; 06-20-2011 at 22:13.
    RedSword is offline
    smithy
    SourceMod Donor
    Join Date: Sep 2008
    Location: United Kingdom
    Old 06-21-2011 , 02:45   Re: [CS:S] Be Medic
    Reply With Quote #8

    Quote:
    Originally Posted by RedSword View Post

    Wow !!! Thanks for the tip; I never considered it.

    I looked at your link and the model is awesome; however I would feel cheap if only a team had a custom medic model. I've searched all the skins on gamebanana for CS:S and I'm divided between those 3 for CTs :

    (your) http://www.gamebanana.com/skins/26846 ; the best because of quality / redcross on arm IMO
    (other1) http://www.gamebanana.com/skins/17594
    (other2) http://www.gamebanana.com/skins/22318 ; really cool, but no redcross
    I would be willing to recompile the other 2 just so you can have a choice of what you would like to use as its only a 5 min job per each model

    1st Edit : Other two models now done ( again i take no credit for these simple recompile for server side , all credits go to orignal creators )


    [IMG]http://img191.**************/img191/1223/ctmedic1.th.png[/IMG] [IMG]http://img200.**************/img200/131/ctmedic2.th.png[/IMG]


    Quote:
    Originally Posted by RedSword View Post
    Also; I'd like to know if HL2 models are compatible with CS:S (don't know much about models) ; because I'm considering those ones for the terrorists :

    http://www.gamebanana.com/skins/screens/74684

    ... as there isn't much choices :'(.
    These seem to be a bit more complex , and require the model to be hexted to the standard css models which is something i have yet to learn

    Quote:
    Originally Posted by RedSword View Post
    But I'm definatly interested in adding those models and maybe remove my redcross overhead. Just missing a Terrorist one...
    Yes i agree i spent quite some time trying to search for a good terrorist skin but couldnt seem to find one , if it comes to it i will find a good t one or even your self and i will add a medic logo

    2nd edit Managed to find you this already done for server side / css

    [IMG]http://img827.**************/img827/7397/medict.th.jpg[/IMG]

    All credits go to s-low http://s-low.info/forum/viewtopic.php?f=11&t=103

    best regards

    smithy
    Attached Files
    File Type: zip CT_Medic_1.zip (1.75 MB, 521 views)
    File Type: zip CT_Medic_2.zip (1.61 MB, 510 views)
    File Type: zip T_Medic.zip (345.6 KB, 540 views)
    __________________


    Last edited by smithy; 06-21-2011 at 08:06.
    smithy is offline
    RedSword
    SourceMod Plugin Approver
    Join Date: Mar 2006
    Location: Quebec, Canada
    Old 06-21-2011 , 08:40   Re: [CS:S] Be Medic
    Reply With Quote #9

    Quote:
    Originally Posted by smithy View Post
    I would be willing to recompile the other 2 just so you can have a choice of what you would like to use as its only a 5 min job per each model

    1st Edit : Other two models now done ( again i take no credit for these simple recompile for server side , all credits go to orignal creators )


    [IMG]http://img191.**************/img191/1223/ctmedic1.th.png[/IMG] [IMG]http://img200.**************/img200/131/ctmedic2.th.png[/IMG]
    Wow; thanx !

    Quote:
    Originally Posted by smithy View Post
    Yes i agree i spent quite some time trying to search for a good terrorist skin but couldnt seem to find one , if it comes to it i will find a good t one or even your self and i will add a medic logo

    2nd edit Managed to find you this already done for server side / css

    [IMG]http://img827.**************/img827/7397/medict.th.jpg[/IMG]

    All credits go to s-low http://s-low.info/forum/viewtopic.php?f=11&t=103
    Thanks again; that'll be the "best" (strangely xD) terrorist medic model at the moment.

    And also, do you have any link related to server model conversion (I'm interested), else from the valve developper community (or within; like http://developer.valvesoftware.com/w...piling_a_model) ?

    I'll try to add models to my plugin in a near future,

    Thanks,

    Red
    __________________
    My plugins :
    Red Maze
    Afk Bomb
    RAWR (per player/rounds Awp Restrict.)
    Kill Assist
    Be Medic

    You can also Donate if you appreciate my work

    Last edited by RedSword; 06-21-2011 at 08:43.
    RedSword is offline
    smithy
    SourceMod Donor
    Join Date: Sep 2008
    Location: United Kingdom
    Old 06-21-2011 , 13:40   Re: [CS:S] Be Medic
    Reply With Quote #10

    Yes my friend no problem

    Basically i learned from this tutorial

    http://www.mani-admin-plugin.com/joo...434&Itemid=128

    With basically a lot of trial and error along the way
    __________________

    smithy 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 12:17.


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