RSSy MYGO.pl Opublikowano Czerwiec 19, 2022 o 10:20 RSSy Udostępnij Opublikowano Czerwiec 19, 2022 o 10:20 Description This plugin adds a spawn chance to become a sharpshooter smoker. You can "shoot" survivors with your tongue dealing damage. Basically you shoot your tongue, damage is dealt and the tongue is cut, you can attack right away. Features Smoker can shoot survivors with his tongue instead of pulling them. Cvars A configuration file named "l4d_smoker_sharpshooter.cfg" will automatically be created for you upon the first run in the "\cfg\sourcemod\" folder. Code: // This file was auto-generated by SourceMod (v1.10.0.6435) // ConVars for plugin "l4d_smoker_sharpshooter.smx" // Percent chance to become a smoker boxer. 1-100 // - // Default: "50" l4d_smoker_chance "50" // Delay between tonguepunches 0-100 // - // Default: "0" l4d_smoker_tonguedelay "0" // Damage done to survivor per tonguepunch 1-100 // - // Default: "10" l4d_smoker_tonguepunchdamage "10" Public Commands none Admin Commands Change Log: 1.0.1 (19-June-2022) - Initial release. Notes Tested only on l4d1, might work for l4d2 though ToDo Atm I set miss delay and let it as it is. SetConVarInt(FindConVar("tongue_miss_delay"), g_iCvar_delay); Would be better to read original value and then set it to g_iCvar_delay when sharpshooter is spawned otherwise set original value. But atm it is hot outside, my armpits smell funny and I can't get myself up to do that now. Based on: https://forums.alliedmods.net/showthread.php?p=2674363 Smoker Release by Axel Juan Nieves https://forums.alliedmods.net/showthread.php?t=98794 [L4D & L4D2] Boomer Splash Damage by AtomicStryker https://forums.alliedmods.net/showthread.php?t=234442 L4D2 - Noxious Smoker by Mortiegama idea by eyal282 https://forums.alliedmods.net/showthread.php?p=2777620 but I got the idea all wrong, so well I release the wrong idea anyways Thanks. Attached Files Get Plugin or Get Source (l4d_smoker_sharpshooter.sp - 9.4 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi