Raised This Month: $159 Target: $400
 39% 

Medic farming plugin


Post New Thread Reply   
 
Thread Tools Display Modes
dotISO
Member
Join Date: May 2008
Old 05-11-2008 , 15:58   Re: Medic farming plugin
Reply With Quote #11

Quote:
Originally Posted by bl4nk View Post
Here's a fixed version until r5053 gets around to it. I just fixed the uber command so medics can't use it, and changed a few coding preferences. It should appear as 1.0.1a in your plugin list.
Does it fix the bug i mentioned about?
dotISO is offline
ratty
SourceMod Donor
Join Date: Jan 2006
Old 05-11-2008 , 18:26   Re: Medic farming plugin
Reply With Quote #12

I'm using the 1.0.1a version on my achievement farming server.
If you're not a medic, it just prints an error to the person's console.
ratty is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 05-11-2008 , 20:17   Re: Medic farming plugin
Reply With Quote #13

Quote:
Originally Posted by dotISO View Post
Does it fix the bug i mentioned about?
Yes. It tells them something like "You can not use this command if you're not a medic".
bl4nk is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 05-11-2008 , 21:04   Re: Medic farming plugin
Reply With Quote #14

Can you make it so only admins can use the commands like medipacks since its broken?
__________________

DontWannaName is offline
ratty
SourceMod Donor
Join Date: Jan 2006
Old 05-12-2008 , 10:48   Re: Medic farming plugin
Reply With Quote #15

I'm using this plugin, so simple, does the job great, I love it!

I have one other tweak to those of us making these dedicated achievement servers.

Attached is a zip file containing tf_weapon_medigun.ctx, that file needs to replace the one in your tf/scripts directory.
That file determines how much healing the medigun gives. I set it to extremely high.'
Also put this in server.cfg:

sm_cvar tf_max_health_boost 1000

Then people can heal and get those other 2 achievements. I realize there are a bunch of servers out there doing this already, but I figure there's a lot of us wanting to run our own for our friends. And that is how they did it.
Don't forget to die after you get the 10,000 points of healing, you won't be awarded the achievement until you die or change classes.

Here is where I found the info on how to edit the tf_weapon_medigun.ctx
http://forums.alliedmods.net/showpos...6&postcount=12
Attached Files
File Type: zip tf_weapon_medigun.zip (1.8 KB, 210 views)
ratty is offline
thacursedpie
Member
Join Date: May 2008
Old 05-24-2008 , 08:29   Re: Medic farming plugin
Reply With Quote #16

Ratty, is there any way your hack can be done on a dedicated server on my computer (read: not a hired server)?

Because there is no scripts folder in my tf folder. I guess there is a scripts folder in the GCF but that makes it a bit complicated
thacursedpie is offline
chundo
Senior Member
Join Date: May 2008
Old 05-30-2008 , 12:12   Re: Medic farming plugin
Reply With Quote #17

Works great, thanks. I also modified mine to hook the player_death event and set the "revenge" flag on every kill. Helps with that pesky nemesis achievement.
chundo is offline
ratty
SourceMod Donor
Join Date: Jan 2006
Old 05-31-2008 , 21:23   Re: Medic farming plugin
Reply With Quote #18

OMG how do you do that chundo? Can you post a snippit?

I modded mine to give people god mode on spawn, and you have to type "mortal" to be killable. That really stops the griefers. Also, everyone spawns at 99% ubercharge (since Placebo effect wont work if you start 100% ubered).
On my server I have 11 bots on blue team, and it screws things up with blue medics healing the bots, since they get overhealed and are pretty much unkillable. so I also blocked people from being a blue medic.
Its really sloppy, I'm not a coder, but I managed to fumble my way to it all working.
Attached Files
File Type: sp Get Plugin or Get Source (farm.sp - 508 views - 2.4 KB)

Last edited by ratty; 05-31-2008 at 21:30.
ratty is offline
chundo
Senior Member
Join Date: May 2008
Old 06-01-2008 , 01:29   Re: Medic farming plugin
Reply With Quote #19

In OnPluginStart:
Code:
HookEvent("player_death", Event_PlayerDeath, EventHookMode_Pre);
Event_PlayerDeath function:
Code:
public Action:Event_PlayerDeath(Handle:event, const String:name[], bool:dontBroadcast) {
    SetEventInt(event, "revenge", 1);
    return Plugin_Continue;
}
The downside of this is that every time you kill or get killed, you hear the revenge sound. It gets old quick.

Last edited by chundo; 06-01-2008 at 01:32.
chundo is offline
ratty
SourceMod Donor
Join Date: Jan 2006
Old 06-01-2008 , 04:43   Re: Medic farming plugin
Reply With Quote #20

Thank you so much! So simple, yet so effective. I loaded it on and people are constantly getting Doctor Assisted Homicide now.
ratty 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 07:21.


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