Left 4 Dead 2

Left 4 Dead 2

Anti Troll Medkits
37 Comments
kouga 25 Apr @ 5:04am 
i see! ill pass on that then. instead, how about revisiting your infinite-use defib mod? could you make a version where its multi-use instead? (with configurable amounts of uses) that or it has a recharge time? i dont mind either way
Geebanger0  [author] 25 Apr @ 4:21am 
i havent done any work with mechanics like that, so I wouldnt know where to start. However, what I could probably do would be to have the revive duration decrease for every nearby teammate. that way it has a similar effect, even if they aren't holding e to help revive
kouga 25 Apr @ 4:03am 
hell yeah thanks a lot. actually if youre still taking requests can you make a mod where you can self-revive by holding e, + the other 3 survivors can aid in your revive? im thinking that the progress bar gets faster the more survivors revive an incapped player (that also means that self-revive should be super slow). what do you think? no worries if thats too much work
Geebanger0  [author] 25 Apr @ 3:14am 
I'll still make the other one to fix your problem with the bots :BL3Thumbsup:
kouga 25 Apr @ 3:06am 
ill take it tbh. but if there is a way to implement shove cancel in the future id like that too
Geebanger0  [author] 25 Apr @ 1:40am 
i found a potentially better solution; you can now cancel the heal by crouching and attacking with any weapon. its a bit more specific, so its a little less likely to trigger by accident, and you dont need to injure your teammate
Geebanger0  [author] 24 Apr @ 11:30pm 
@kurochama I'll give entity_shoved a try too just to see what works best
Geebanger0  [author] 24 Apr @ 11:30pm 
@kouga yes the health % will be configurable, that's easy to do and I can add an extra config option for how temporary health will be factored in
kurochama 24 Apr @ 10:51pm 
@Geebanger, there's one more alternative option that's worth a try, "entity_shoved". This one can be triggered when shoving any non-player objects (common, witch, entities), & wall & ground also count. So, you can try to use "FindByClassnameWithin" in melee radius or slightly wider to check a bot that's trying to heal the player, & once the player shove the ground, the bot will stagger.
kouga 24 Apr @ 9:41pm 
gotcha! reasonable conclusion tbh and it works enough for me. will the health % be configurable? id like the bots to only heal if im Black and White tbh
Geebanger0  [author] 24 Apr @ 9:38pm 
that needs a lot of custom stuff. I think for now I'll stick with shooting someone to cancel the heal (that's enough to stop trolls since they'll get the hint after a couple of shots) and I'll make one to prevent bots from healing you above a certain health %. That way both bases are covered.
kouga 24 Apr @ 9:25pm 
because if it does maybe you can just have it so players can move far enough away from the healer so the heal cancels? ¯\_(:0)_/¯
kouga 24 Apr @ 9:22pm 
oooof thats rough. i was wondering if youve seen this mod before? maybe it can give you some hints?
Geebanger0  [author] 24 Apr @ 9:19pm 
and for some reason i decided to edit the finished script instead of making a copy first
Geebanger0  [author] 24 Apr @ 9:16pm 
cant jump while being healed :Eddie:
kouga 24 Apr @ 9:00pm 
was just about to suggest jumping as an alternative lol. let us know how it goes @Geebanger0
Geebanger0  [author] 24 Apr @ 8:56pm 
oh player jump is good, ill give that a shot
kurochama 24 Apr @ 8:53pm 
@Geebanger0 , alternatively if shoving isn't possible, you can try "weapon_fire" or "player_jump". So, if player is jumping or shooting when a bot is trying to heal, the bot will stagger
Geebanger0  [author] 24 Apr @ 8:45pm 
if the problem is the bots specifically, I could make a different mod where they cant heal you at all when youre above a certain % of health
Geebanger0  [author] 24 Apr @ 8:43pm 
i tried with the shove but it didnt register while you were being healed
kouga 24 Apr @ 8:43pm 
honestly itd be cool to reject by shoving so they get staggered. forcing them to drop the medkit sounds good too but as an optional config?

i play with bots and i just find it annoying to have them heal me when i dont need it, so i want to shove them. i have a feeling they'll keep doing it though so maybe give the bots a cooldown for using the medkits on players or something (feel free to ignore this tho if its too hard)
Geebanger0  [author] 24 Apr @ 8:04pm 
how do you want to reject it? I finished it just now, you shoot the person who's healing you and they get staggered so the heal is cancelled and you can walk away, but I also thought about forcing them to drop their medkit or something else like that.
kouga 24 Apr @ 7:05pm 
ur da G.O.A.T
Geebanger0  [author] 24 Apr @ 12:42pm 
ok
kouga 24 Apr @ 6:06am 
can we have a mod that allows you to reject being healed by shoving the other player?
Geebanger0  [author] 24 Feb @ 8:35pm 
ogey
Jakiy 24 Feb @ 6:41pm 
Anti idle spam to refuse healing when?
Geebanger0  [author] 23 Feb @ 11:35pm 
Customisable punishments for trolls... you can choose just how much you want them to suffer
kurochama 23 Feb @ 11:17pm 
As you also made a cfg file, you can also add the "anti troll mode" if you want. For example, there's also "DropItem" function. So, you can also make another mode where instead of stumbling, the greedy survivor will drop the medkit when trying to heal when there are other survivor in more critical condition, so other survivors in critical condition can snatch it :steamhappy:
Pwnage Peanut 23 Feb @ 10:26pm 
Now do the opposite, healing once removes all first aid kits from the map.
Pluvillion 19 Feb @ 11:36pm 
Got it. Thank you!
Pluvillion 19 Feb @ 3:44pm 
Is there a check that allows healing when there are two or more medkits? Say I'm 75, the rest of the team is around 90, and there's a few kits lying around - would I get staggered if I decided to heal?
Pluvillion 19 Feb @ 3:43pm 
@The solar flare. - See, that's the thing. The more "free" a player gets, the worse they'll do when it comes to doing shit like griefing. I see more griefers in L4D2 more than in NMRIH and that's saying something.
Samuels' Chili Shop 19 Feb @ 8:48am 
Always spittin' out bangers.
The solar flare. 19 Feb @ 5:59am 
Theres no need for this game to have toxic trolls when it is a PVE mainly
ChapCanai 19 Feb @ 4:24am 
Thanks for this. Is there an option to mark incapped teammates as urgent?
UpfrontBowl62 19 Feb @ 3:11am 
I like this pal. Nice mod.