[L4D & L4D2] Incapped Meds munch
15 Attachment(s)
Similar to Incapped Pills Pop, but has been updated with the new Infected events, descriptions have been updated since Adrenaline was introduced, and i changed the name.
In short: If you have Pills or Adrenaline, you can stand up from Incaps by yourself holding USE. This doesn't reset the Knockdown counter, which means you can get Black-and-White by doing this. Many many functions version 1.1.0 introduces:
Convars: l4d2_incappedmedsmunch_delaytime (default 5) - how long before an incapped Survivor gets the announcement and can use his meds l4d2_incappedmedsmunch_duration (default 3) - how long reviving yourself takes l4d2_incappedmedsmunch_dropmeds (default 1) - does being interrupted cause you to drop meds Changelog: 1.0.0 - release 1.1.0 - look above 1.1.1 - altered chat prints to be clearer, slight tweak for L4D compatibility 1.1.2 - added med dropping cvar, altered chat prints to only advert pills if you can actually use them right away 1.1.3 - removed self-ledge-save by pills possibility 1.1.4 - some bugfixing 1.1.5 - now uses SDKCall to revive and coolsauce way of checking reviving/pouncing/riding etc etc, fixes the BW issue, also found the cause for the crashes. NOW REQUIRES GAMEDATA FILE 1.1.6 - bugfixes to passing Meds and removing Meds 1.1.7 - bugfixing 1.1.8 - bugfix regarding 'incapped' tanks 1.1.9 - small bugfix with people leaving during munching |
Re: [L4D2] Incapped Meds munch
Good job. Thanks :up:
|
Re: [L4D2] Incapped Meds munch
Sweet, thanks a lot.
|
Re: [L4D2] Incapped Meds munch
if you have adren does it still give you the speedboost?
|
Re: [L4D2] Incapped Meds munch
No. Pills and Adrenaline work alike - they put you on your feet with "whatever survivor_revive_health is set to" temporary health.
|
Re: [L4D2] Incapped Meds munch
Stupid valve removed survivor_revive_successive_penalty. :(
|
Re: [L4D2] Incapped Meds munch
You can code that in yourself easily, just hook revive_success, read m_currentReviveCount and set m_healthBuffer
|
Re: [L4D2] Incapped Meds munch
Thanks! This will come in handy in Realism Mode lol. Is it just me or is L4D2 much more difficult, even on Expert? Dark Carnival was a pain for me.
|
Re: [L4D2] Incapped Meds munch
I know, I just think it's stupid they removed it... Why not just set it to 0 and leave it in? BAH!
|
Re: [L4D2] Incapped Meds munch
Big whoop of an update to 1.1.0
Balancing and design changes aswell as new gameplay elements ;) |
Re: [L4D2] Incapped Meds munch
nice improvements - now can you make adrenaline and pills have different results?
adrenaline should be quicker, but give less health on revive... and wouldnt hurt to have the odd sound effects you get while on adrenaline. |
Re: [L4D2] Incapped Meds munch
I can't re-create the effects as the game has them, so i dont even try ;)
|
Re: [L4D2] Incapped Meds munch
this is an awesome plugin. everyone on my server loves it. great job!! can't wait to try out the updated version.
Thanks!! Edit, we were also pleased to find out it gets you up from ledges if hanging. :) |
Re: [L4D2] Incapped Meds munch
Nice update, but I had to remove the part were the meds were being dropped at the floor :)
|
Re: [L4D2] Incapped Meds munch
Quote:
also, i had an idea...is it possible to make it so incapped people who can crawl are able to pick up pills if they are nearby? ie - player gets incapped in a room where they happen to see pills close by, they crawl over, press e to pick up the pills, and then revive themselves. |
Re: [L4D2] Incapped Meds munch
Another awesome plugin. Thanks. :D
|
Re: [L4D & L4D2] Incapped Meds munch
Version 1.1.1 features slightly different chat prints, so people know they must HOLD DOWN the button to revive.
Ive also tweaked it a bit so it should run on L4D aswell. |
Re: [L4D2] Incapped Meds munch
Quote:
|
Re: [L4D & L4D2] Incapped Meds munch
Remove this part from InterruptMunch(client) I suppose.
Code:
RemovePlayerItem(client, Meds); |
Re: [L4D & L4D2] Incapped Meds munch
Added cvar to control that, shifted chat notifications a bit so you wont get it while being shreddered or revived.
|
Re: [L4D & L4D2] Incapped Meds munch
Quote:
|
Re: [L4D & L4D2] Incapped Meds munch
Everyone loves this plugin on our server, the one request we had is if you could make one for adrenaline only?
Again great work and keep it up! |
Re: [L4D & L4D2] Incapped Meds munch
is there any way you could make it so that incapped survivors could pick up pills/adrenaline while incapped??
crawling would have to be enabled of course, which i have on my server anyways. |
Re: [L4D & L4D2] Incapped Meds munch
I could make it so, but youd need to be looking DIRECTLY onto the item, which is too fidgety.
I disapprove of crawling in general :) |
Re: [L4D & L4D2] Incapped Meds munch
Quote:
you could make it an optional cvar perhaps? |
Re: [L4D & L4D2] Incapped Meds munch
this is buggy sometimes...it says you're already being revived and you can't use pills,and there's nobody near me
|
Re: [L4D & L4D2] Incapped Meds munch
Very nice idea, really like this one.
|
Re: [L4D & L4D2] Incapped Meds munch
Works great for me. Thanks
|
Re: [L4D & L4D2] Incapped Meds munch
everything works fine for me, and i love the mod, great job. the only problem i have is using this mod in addition to the infected release mod, it sometimes says "get that infected off you" when your down and an infected has already released you. was wondering if there's anything you could do?
|
Re: [L4D & L4D2] Incapped Meds munch
That happens sometimes to me without that plugin on my server.
Pretty rare occurrence but it can be annoying. Versus gamemode/. |
Re: [L4D & L4D2] Incapped Meds munch
any idea how to fix it?
|
Re: [L4D & L4D2] Incapped Meds munch
Something that isnt covered by the Hooks happens, which affects your userid.
Thats my best guess anyway. And no, there is no easy way to fix it. |
Re: [L4D & L4D2] Incapped Meds munch
Nice plugin... getting some errors in my logs from it?
what could be causing no stack trace error? Code:
L 04/01/2010 - 18:36:31: SourceMod error session started |
Re: [L4D & L4D2] Incapped Meds munch
Timer Handle 0 errors only occur because the Sourcemod devs wont give me a function to check Timer Handle Validity.
Its not dangerous :D |
Re: [L4D & L4D2] Incapped Meds munch
i was randomly checking logs and found this:
Code:
L 04/05/2010 - 20:29:27: [SM] Native "RemovePlayerItem" reported: NULL not allowed |
Re: [L4D & L4D2] Incapped Meds munch
Quote:
|
Re: [L4D & L4D2] Incapped Meds munch
became this errors. whats wrong?
Code:
L 04/10/2010 - 13:09:44: SourceMod error session started |
Re: [L4D & L4D2] Incapped Meds munch
could you please make it so that meds munching works only when incapped but not when ledge grabbing? using pills to save yourself from ledge just... seems a bit awkward
|
Re: [L4D & L4D2] Incapped Meds munch
@Tack
Done @ellis All but the last error originate from other plugins, but i fixed that error message from showing. |
Re: [L4D & L4D2] Incapped Meds munch
Quote:
|
All times are GMT -4. The time now is 04:14. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.