[L4D/L4D2] Self Help Items (nov 12 2022)
description
this plugin is a modification to the Self Revive plugin, which was based off of the Self Help plugin. i also used parts of the Auto Help plugin it brings back using items - survivors will use medkit, pills, adrenaline, or nothing to revive. these will give their respective health values of 80 permanent health, 50 temporary health, and 25 temporary health. (health restored by medkit is affected by first_aid_heal_percent) by default, you can still stand up without any items, but you will only have 10 temporary health afterwards. (can be disabled entirely with selfrevive_noitem) (health amount can be changed with selfrevive_noitem_health) you cannot choose what item (or lack of item) you stand up with - by default you will use temporary healing items first, then medkits, then nothing. you can make medkits be used before temporary healing items by changing selfrevive_itempriority medkits will reset the incapacitation count properly when used to get up (actually gets reset to 1 because of the incapacitation that it is being used to recover from) you can disable items from being used for revival by changing selfrevive_adrenaline, selfrevive_medkit, and selfrevive_pills by default this plugin will not work on bots - you will need to change selfrevive_bot and make sure selfrevive_noitem is 1. bots cannot use items (because when they revive using an item they keep the item they used, please help on how to remove items from them) anything else from the self revive plugin should be intact let me know if anything is wrong/if you have feedback - this is my first experience with sourcemod plugins cvars Code:
selfrevive_adrenaline "1" - allow using adrenaline to revive |
Re: [L4D/L4D2] Self Help Items (nov 12 2022)
You can self revive after lose if you incapped the previous round. Needs fixes. Also could you provide the source ?
L 11/12/2022 - 20:46:05: [SM] Exception reported: Invalid timer handle 7af003ea (error 3) L 11/12/2022 - 20:46:05: [SM] Blaming: l4d_2_selfreviveitem.smx L 11/12/2022 - 20:46:05: [SM] Call stack trace: L 11/12/2022 - 20:46:05: [SM] [0] KillTimer L 11/12/2022 - 20:46:05: [SM] [1] Line 458, l4d_2_selfreviveitem.sp::Timer_SelfRevive Sometime I can't revive myself and these error logs are popping |
where should i find your download
can you create ur new self help plugin that where remove urs? |
All times are GMT -4. The time now is 19:47. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.