RSSy MYGO.pl Opublikowano Październik 26, 2020 o 21:36 RSSy Udostępnij Opublikowano Październik 26, 2020 o 21:36 Description This plugin turns gascans invulnerable to certain damages types. Useful to prevent griefers messing with gascans especially in finales or stripper modified maps. FeaturesAllow configuring which gascans should be invulnerable. (Normal / Scavenge) Allow configuring which type of damages are allowed to explode the gascan. (fire / blast / spit). Cvars A configuration file named "l4d_gascan_invul.cfg" will automatically be created for you upon the first run in the "\cfg\sourcemod\" folder. PHP Code: // Turn gascans invulnerable to blast damage. // 0 = OFF, 1 = ON. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_gascan_invul_blast_damage "1" // Enable/Disable the plugin. // 0 = Disable, 1 = Enable. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_gascan_invul_enable "1" // Turn gascans invulnerable to fire damage. // 0 = OFF, 1 = ON. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_gascan_invul_fire_damage "1" // Apply only for scavenge gascans. // 0 = OFF, 1 = ON. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_gascan_invul_scavenge_only "1" // Turn gascans invulnerable to spit damage. // L4D2 and scavenge gascan only. // 0 = OFF, 1 = ON. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_gascan_invul_spit_damage "1" Admin Commands sm_print_cvars_l4d_gascan_invul => Print the plugin related cvars and their respective values to the console. (z flag required) Change Log Spoiler 1.0.0 (26-October-2020) - Initial release. Notes The method used to identify if is a scavenge gascan is by checking its skin. If it's greater than 0, the plugin understands that is a scavenge gascan. To Do Add option to only make invulnerable gascans already picked up. Related Plugins [L4D1 & L4D2] Explosion Announcer 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 "l4d_gascan_invul.smx" file (click Get Plugin) in your "\addons\sourcemod\plugins\" folder. Attached Files Get Plugin or Get Source (l4d_gascan_invul.sp - 10.7 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi