[DoDS] Medic Class 1.0.111 UPDATED April, 9, 2009
8 Attachment(s)
This is the SourceMod port of my Medic Class plugin (originally for ES).
This version is much better with smaller code and more stable. http://i56.photobucket.com/albums/g1...nyalpha/59.jpg The plugin features:
!medic in chat (sm_medic in console) Calls for a medic - has spam protection !heal in chat (sm_heal in console) If you are a medic, you can heal a player. You will need to stand close by them to perform a healing. A player can be healed up to maximum health but may take several medic packs to do so. !class_medic in chat (sm_class_medic in console) Changes to the medic class. If you change to another class or team or say !class_medic again, you will stop being a medic. !medic_who in chat (sm_medic_who) Lists the medics on your team Configuration
Version 1.0.100 SourceMod release. Version 1.0.101 Checks to see if pistols plugin added before adding weapons Fixed bug where medic was able to heal enemies Fixed bug where dead players could heal Changed the way bandage sound is delivered Added sounds to replace spammy messages Fixed patient selection bug Version 1.0.102 Added self heal plus two cvars for self healing Fixed some minor bugs Fixed up the code for becoming a medic Added an option that removes a Medic's Primary weapon Version 1.0.103 Added MaxHealth cvar provided by Lebson506th Fixed so that medic changes only at respawn Version 1.0.104 Fixed stupid bug in dod_stats_weapon_attack where the script tried to remove a punch weapon..... Version 1.0.105 Fixed bug where player assumed medic features without respawning Version 1.0.106 Fixed a bug where the server would crash if there was one bullet left in a clip. Fixed a bug where players can fill up medic slots during respawn. Version 1.0.107 Fixed a bug where players changing class without dying, remained medics... Version 1.0.108 Added log action for stats. Version 1.0.109 Fixed a bug in the 'medic who' code where it looked at the number of players on the spectator team rather than the Axis team Version 1.0.110 Added Lebson and PsychoCoder's amendments to the code. Version 1.0.111 Fixed minor bug - thanks Lebson Notes Has been tested in DoDS If your server crashes as soon as you spawn as a medic, it probably means you have not updated to the latest gamedata/sdktools.games.ep2.txt file Selecting a M1Carbine/C96 with smoke grenades will not work as these occupy the same weapon slot In HLStatsX or similar stats program, create a new action called "medic_heal" and assign 1pt. Every time the player heals, they can be awarded one point for healing. Credits Big thanks to Lebson506th for testing and suggesting changes and updates. Thanks to PsychoCoder for improving parts of the code. Thanks to URF and Kamping_Killoch who did amazing medic models! |
Re: [DoDS] Medic Class
I'll be back from a trip on Tuesday - any problems....well, you know the routine!
:D |
Re: [DoDS] Medic Class
Dont forget to make sure that models and sounds and stuff are excluded from sv_pure 1. :D
|
Re: [DoDS] Medic Class
Quote:
|
Re: [DoDS] Medic Class
Awesome job Dog! here's a few initial "features".
1. The pistols plugin gives a pistol to the medics(with sm_dod_medic_weapon 1) 2. Medics can heal either team. 3. You can hear the bandage sound from from far away, and on either team(like an axis medic heals a player from the other side of the map, the allies all hear it too) maybe some radius_sound cvar? 4. Can you set a !heal timer/limiter? With a bind you can spam the chat and ears of everyone. Win 2003 X64 MM:S v1.6.1.671 SourceMod v1.1.$PREVISION.2343 |
Re: [DoDS] Medic Class
Great work so far, love using this plugin on our server but something else i mentioned (besides the above mentioned things) is that medics can heal when dead... somehow.
|
Re: [DoDS] Medic Class
Installed works fine up until someone trys to spawn as a medic then it crashes server, any ideas?
|
Re: [DoDS] Medic Class
Recently i've been getting some reports that when some people try to spawn it automatically makes them a medic and they have to restart the game to get out of it.
(IE, the normal command does not get them out of medic) |
Re: [DoDS] Medic Class
Quote:
I will add a delay so that when the Pistols one gives out the ammo as usual, this plugin will strip them and then add its own. Or maybe I should make a class with a number of 6 :D Maybe the server will crash - running off to try! Will change healing to team only (but that's against the Hippocratic Oath!) Will change the sound volume. I wanted others to hear it so that an enemy can hear a soldier getting healed nearby. Will fix the !heal issue..... |
Re: [DoDS] Medic Class
This mod seems to crash my server every time someone spawns as a medic.
I'm running: Metamod:Source version 1.6.1.671 SourceMod Version: 1.0.3 (Compiled on: Jun 24 2008 22:44:47) Looked through my logs and couldn't find anything. Any suggestions? |
All times are GMT -4. The time now is 01:02. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.