RSSy MYGO.pl Opublikowano Maj 12, 2024 o 12:17 RSSy Udostępnij Opublikowano Maj 12, 2024 o 12:17 .Healing Alternative (l4d2_HealAlt) by Mystik Spiral Improve when healing items (first aid kits, pain pills, and adrenaline shots) are used.Summary of healing behavioral changes:Bots prefer to use/give pills/adrenaline instead of first aid kits. Bots will wait longer to use first aid kits on self or others. Bots will never heal another player that has their own healing items. Survivors with a first aid kit are healed using the standard algorithm during map changes. Survivors without a first aid kit are healed to 50, same as a respawned dead player, during map changes. All survivors are given a first aid kit during map changes. Options: For proper operation, set the following Valve ConVars in your server.cfg file:sb_toughness_buffer 0 sb_temp_health_consider_factor 0.0 pain_pills_health_threshold 90 Notes: By default, this plugin will only run in the cooperative (coop) gamemode and is intended to only be used on dedicated servers that have not modified the default values of player health or healing items. I plan to eventually add handling for first aid kits found outside of safe rooms. I will not be adding support for L4D1. Please let me know if you find any bugs, but before reporting, connect to the dedicated server system console and type:sm plugins list;sm_cvar mp_gamemode Check that the gamemode is "coop" and whether you see "[L4D2] Healing Alternative" or error messages, especially errors related to missing prerequisites.Code / Discussion:GitHub AlliedModdersAcknowledgements and Thanks: Silvers: For the original Bot Healing Values plugin this is forked from, Left4DHooks, gamedata, Allowed Game Modes code, and many code examples. BHaType: For help and code examples for custom Actions, and the Actions plugin. nosoop: For the Source Scramble plugin. Spirit_12: For help with determing navigation flow distance. BRU7US: For help with the map_transition event.Changelog: Code: 12-May-2024 v1.0 - Initial release.Prerequisites:Actions extension by BHaType Source Scramble plugin by nosoop Left 4 DHooks Direct by Silvers Installation: Easiest: Download the l4d2_HealAlt.zip file, place it in the addons/sourcemod directory, unzip. Manual: Extract the l4d2_HealAlt.smx file to the "plugins" directory. Extract the l4d2_HealAlt.txt file to the "gamedata" directory. Extract the l4d2_HealAlt.phrases.txt file to the "translations" directory. Extract the l4d2_HealAlt.sp file to the "scripting" directory.. Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi