[CS:S] Be Medic
8 Attachment(s)
Be Medic v. 1.4.2 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). Attachment 87583Attachment 87584Attachment 87585Attachment 88535Attachment 88536 Known bugs :
CVars :
How to install : Extract "bemedic_ressources" at your cstrike folder...
Also download the plugin and its translation file ;) :
-------------- Any suggestions/comments on the code or the plugin are welcomed and appreciated. Credits to :
Changelog :
Spoiler
Todo list/my requests :
|
Re: [CS:S] Be Medic
Great Plugin, testing it now. Will come back with feedback
|
Re: [CS:S] Be Medic
Quote:
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. |
Re: [CS:S] Be Medic
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
|
Re: [CS:S] Be Medic
1 Attachment(s)
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.
|
Re: [CS:S] Be Medic
1 Attachment(s)
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 |
Re: [CS:S] Be Medic
Quote:
Quote:
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... |
Re: [CS:S] Be Medic
3 Attachment(s)
Quote:
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:
Quote:
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 |
Re: [CS:S] Be Medic
Quote:
Quote:
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 |
Re: [CS:S] Be Medic
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 |
Re: [CS:S] Be Medic
1 Attachment(s)
I have added the German translation.
And i have a questions: 1. Can I dissable that a player only buy in a buyzone a medic? |
Re: [CS:S] Be Medic
Quote:
Also; no you can't. I'll add a CVar to overcome that (+ buytime restriction) in the next version. EDIT : First post is edited; also added translation. |
Re: [CS:S] Be Medic
Updated plugin to 1.1.0.
Read changelog in first post. BTW : The german translation is incomplete (announce at the beginning of rounds is missing; translator didn't reply; I'd appreciate the missing line (currently using the english announcement)). I plan on adding custom models. I'm also able to do so in a separate plugin, but I'm trying to compress them so I doesn't have the CT medic model at over 4 MO (as heavy as a small map :/). EDIT : http://s-low.info/forum/viewtopic.php?f=48&t=1516 ; me requesting tips about compression |
Re: [CS:S] Be Medic
Updated german translation. It is now fully done. Thanks to BrianGriffin.
|
Re: [CS:S] Be Medic
1 Attachment(s)
Sorry for the delay my friend
Compressed the files as much as possible without loseing quality , removed the need for a few files Hope this helps |
Re: [CS:S] Be Medic
smithy You could try hex edit, instead of recompil :D
http://www.gamebanana.com/tuts/8003 (i think it is easier) ex Can't i recompil, because i run Steam and CS:S through wine, and wine are not developed enough that the program I need work.. But hex edit, works on "all platform" :D |
Re: [CS:S] Be Medic
Quote:
I'll play around compression today. Thanks !, Red EDIT : I've checked again the difference between your 2 packages : any idea what are _spec and _glass model files were for ? (curious) RE-EDIT : I'll be removing normalmaps; since I don't find them useful; and it cut half size. |
Re: [CS:S] Be Medic
You cannot remove any of the files without recompiling the model as it would just display as an error to any one that tries to use it
The reason this doenst have so many files as the other one is , i used the files allready availble without having to force people to redownload others |
Re: [CS:S] Be Medic
Quote:
ct_urban.vmt file linked to ct_urban_normal.vtf ... I just broke that link; so it'll get default normalmaps ;). |
Re: [CS:S] Be Medic
Updated to 1.2.0.
Added models. They aren't too heavy ;). Thanks to smithy, S-LoW and d0nn (See first post to see why). They helped a lot with model implementation. Also, tip of the day : if you don't reboot your client CS: S, it will consider that it has the models precached, even if they were deleted after download. I nearly lost 3 hours trying to find why I was seeing invisible people 1 time on 2... Also configs (.cfg) can prevent switching effectively from icon to model (i.e. admin change CVars ingame but they will apply on map change; and configs executed just before mapstart = :( ). |
Re: [CS:S] Be Medic
Could you make a cvar to restrict to one team? I rather have just the T's or CT's have this but not both.
|
Re: [CS:S] Be Medic
Quote:
EDIT : I'll also add verbose related to it... RE-EDIT : Updated to 1.3.0. You can now restrict a team from buying medic training. RE-RE-EDIT : Added brazilian-portuguese missing line due to 1.3.0. RE-RE-RE-EDIT : Updated to 1.3.1. Fixed team restricted from buying medic being able to call medic. RE-RE-RE-RE-EDIT : Updated to 1.3.2. Added CVar to allow medics to heal other team. RE-RE-RE-RE-RE-EDIT : Added "bemedic_team" CVar russian translation. Thanks to Leonardo. |
Re: [CS:S] Be Medic - 1.3.2@06-07-2011
Corrected some translation code (1.3.3). Thanks to Bacardi.
|
Re: [CS:S] Be Medic (Updated 06-07-2011 v1.3.2)
any chance that you could make some of this? :)
a command to give players medic something like bemedic_givemedic <steamid | #userid> and also an option to disable so players can buy medic and use the !bemedic command this would be awesome since we are running our own knifeking plugin, then we would be able to do so it's only the knifeking who can be a medic. else really nice plugin! |
Re: [CS:S] Be Medic (Updated 06-07-2011 v1.3.2)
Re-uploaded translation's phrases. The only changes concern the german translation, as it was completely redone by "Dr. Greg House"; so thanks to him.
|
Re: [CS:S] Be Medic (Updated 07-07-2011 v1.3.3)
Added lithuanian translation. Thanks to hleV.
|
Re: [CS:S] Be Medic (Updated 07-07-2011 v1.3.3)
Items preventing approval:
DONTRECORD is not placed on version cvar Say and SayTeam hooks for commands If you fix the above items this plugin would be approved. :3 |
Re: [CS:S] Be Medic (Updated 07-07-2011 v1.3.3)
Quote:
And why is : Code:
AddCommandListener(SayRedirect, "say"); I'm pretty sure from what I've read from experienced users in the past (don't remember exact source, sorry) that it's better to use "AddCommandListener" rather than using "RegConsoleCmd"... Thanks for reviewing my plugin for approval, Red EDIT : Also I'm pretty sure that none of what you said is in this; updating it would be nice. |
Re: [CS:S] Be Medic (Updated 07-07-2011 v1.3.3)
Quote:
You should not hook say and sayteam when the purpose is a command. This is incorrect and would cause IsChatTrigger() to fail because your command is not properly registered. Use RegConsoleCmd() on sm_medic and sm_bemedic. This will automatically create the chat triggers !medic and !bemedic. Edit: Its really impossible to put everything in that post. We try to cover the big items. The issue here is coding style to minimize errors and maximize the API for you and others. There isn't a hard and fast pass/fail for plugin approval based on rules. It requires code review, and everyone has different styles. |
Re: [CS:S] Be Medic (Updated 07-07-2011 v1.3.3)
Thanks, I shall update this in the future.
EDIT : Quote:
Tracking my plugin is the best way to get recognition and throwing that by the window... RE-EDIT : Apparently that thread was about NOTIFY (mistake from the thread starter) and the bug has been corrected since. I'll update in the future. (Thanks to asherkin @ irc for his answers) |
Re: [CS:S] Be Medic (Updated 07-07-2011 v1.3.3)
hello,
The plugin works very well, except when you use respawn, then you have to retype !bemedic over and over. Is it possible to type it just once and be a medic from that point on? |
Re: [CS:S] Be Medic (Updated 07-07-2011 v1.3.3)
Quote:
you stay medic when respawning, unless you died (if its not the case please tell me; update might have broken something, but I highly doubt). If you're talking about staying medic even after death, try replacing line #483 : Code:
KillSprite( iClient ); Code:
if ( g_iEnts[ iClient ] > 0 && IsValidEntity( g_iEnts[ iClient ] ) ) |
Re: [CS:S] Be Medic (Updated 07-07-2011 v1.3.3)
Commands are still improperly registered if you want to use them as chat triggers, and the say and sayteam hooks are incorrect for the same reason.
|
Re: [CS:S] Be Medic (Updated 07-07-2011 v1.3.3)
Quote:
|
Re: [CS:S] Be Medic (Updated 07-07-2011 v1.3.3)
Quote:
rukia |
Re: [CS:S] Be Medic (Updated 07-07-2011 v1.3.3)
Thanks that worked very well!
|
Re: [CS:S] Be Medic (Updated 07-07-2011 v1.3.3)
What is the chance that you can make a plugin just like this
but one that gives ammo Same principle, pull knife, press e, and it gives ammo I really could use it on the mod I am running thanks for this plugin |
Re: [CS:S] Be Medic (Updated 07-07-2011 v1.3.3)
Quote:
Also, since it wouldn't increase gameplay it wouldn't be used much, which is raging when you're doing a plugin (and I don't aim zombies servers when coding/concepting a plugin nor I do private plugins since I believe SM coders are paid too cheap AFAIK; however I can tell you some easy code-twists as I did in my previous post if it doesn't take too much of my time). Plus, if I were to release such a thing, someone would request adapted models and such, which is a ton of ******* to implement/optimize/test alone, and I'm not willing to make an ammo-bringer class being a normal-looking guy, after I've done this plugin (I've set the next step high for myself if I'm to do another class thing). Finally, I'm currently busy with school at the moment, and when I'm releasing a plugin, I don't like releasing crap : models (said above), but also sounds, translations, readable-code must be present, and in appropriate manners. I'm sure someone else in this forum would be willing code/implement your idea for money (or for free if you're lucky), just post in the appropriate section and you'll see. TL/DR : No chances. I hope I wasn't too harsh, Thanks for the interest towards this plugin, Red |
Re: [CS:S] Be Medic (Updated 07-07-2011 v1.3.3)
LOL...
I would have been happy to pay you for it As for the models, I really do not need them. Should you change your mind send me a pm and I will be happy to send you a generous donation to complete it. Otherwise, thanks for your response, and good job on the plugin. I really enjoy it |
Re: [CS:S] Be Medic (Updated 07-07-2011 v1.3.3)
Quote:
Also thanks for the proposal and the comments. Red |
All times are GMT -4. The time now is 10:54. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.