RSSy MYGO.pl Opublikowano Listopad 3, 2020 o 19:16 RSSy Udostępnij Opublikowano Listopad 3, 2020 o 19:16 L4D2 ONLY Description This plugin teleports scavenge gascans back to their spawn position after a while. Useful when the gascan goes to unreachable places. Can also be used to make the game harder. FeaturesAllow configuring how far from the spawn position the scavenge gascan should be to teleport. Allow configuring how long to wait to teleport Cvars A configuration file named "l4d2_gascan_respawn.cfg" will automatically be created for you upon the first run in the "\cfg\sourcemod\" folder. PHP Code: // How often (in seconds) should the plugin check the scavenge gascan position. // - // Default: "1.0" // Minimum: "0.100000" l4d2_gascan_respawn_check_interval "1.0" // Enables/Disables the plugin. // 0 = Disable, 1 = Enable. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d2_gascan_respawn_enable "1" // Scavenge gascan glow color after being teleported. // Game default color: "255 255 255". Int value = 16777215. // Game default color after pick up: "255 127 0". Int value = 33023. // - // Default: "255 255 255" l4d2_gascan_respawn_glow_color "255 255 255" // How far from the spawn position the scavenge gascan should be to teleport. // - // Default: "500.0" // Minimum: "0.000000" l4d2_gascan_respawn_min_distance "500.0" // How much seconds after meeting the requirements the scavenge gascan should be teleported to its spawn position. // - // Default: "120.0" // Minimum: "0.100000" l4d2_gascan_respawn_teleport_wait_time "120.0" Admin Commands sm_print_cvars_l4d2_gascan_respawn => Print the plugin related cvars and their respective values to the console. (z flag required) Change Log Spoiler 1.0.0 (03-November-2020) - Initial release. Notes If the gascan is being hold the plugin resets the countdown check. The method used to identify if is a scavenge gascan is by checking its skin. If it's greater than 0 (default), the plugin understands that is a scavenge gascan. (L4D2 only) To Do Add some support to L4D1. Related Plugins [L4D1 & L4D2] Explosion Announcer by Marttt [L4D1 & L4D2] Gascan Invulnerable by Marttt [L4D2] Gascan Announcer by BHaType Post Reply Any feedback, bug reports, fixes, improvements, translations or suggestions for the plugin are welcome. Installation Put the "l4d2_gascan_respawn.smx" file (click Get Plugin) in your "\addons\sourcemod\plugins\" folder. Attached Files Get Plugin or Get Source (l4d2_gascan_respawn.sp - 14.5 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi