RSSy MYGO.pl Opublikowano Listopad 12, 2022 o 07:22 RSSy Udostępnij Opublikowano Listopad 12, 2022 o 07:22 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 selfrevive_bot "0" - let bots self revive, requires selfrevive_noitem to be 1 selfrevive_delay "0.0" - Self revive delay selfrevive_delay_incap "0.0" - Self revive delay for incapacitation selfrevive_delay_ledge "0.0" - Self revive delay selfrevive_duration "3.0" - Self revive duration selfrevive_duration_incap "5.0" - Self revive duration for incapacitation, setting higher than 5 will disable animation selfrevive_duration_ledge "4.5" - Self revive duration for ledge grab, setting higher than 5 will disable animation selfrevive_grab "1" - Self revive for smoker grab, 0:Disable, 1:Enable selfrevive_hint_delay "4.0" - Self revive hint delay selfrevive_incap "1" - Self revive for incapacitation, 0:Disable, 1:Enable selfrevive_itempriority "0" - set this to 1 if you want medkit to be used before pills/adrenaline selfrevive_kill "0" - Do not kill special infected when breaking free; 1: Kill special infected when breaking free selfrevive_ledge "1" - Self revive for ledge grabs, 0:Disable, 1:Enable selfrevive_medkit "1" - allow using medkit to revive selfrevive_noitem "1" - allow reviving without items selfrevive_noitem_health "10.0" - how much temporary health you will have after reviving with no item selfrevive_pills "1" - allow using pills to revive selfrevive_pounce "1" - Self revive for hunter pounce, 0:Disable, 1:Enable selfrevive_pummel "1" - Self revive for charger pummel , 0:Disable, 1:Enable selfrevive_ride "1" - Self revive for jockey ride, 0:Disable, 1:Enable selfrevive_versus "0" - 0: Disable in versus, 1: Enable in versus Attached Files l4d_2_selfreviveitem.smx (16.0 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi