RSSy MYGO.pl Opublikowano Październik 4, 2022 o 18:50 RSSy Udostępnij Opublikowano Październik 4, 2022 o 18:50 Description:Just a fork of well-known AtomicStryker's work, aimed to provide crash-safe, optimizations, and fixing some bugs. Settings (ConVars):Can be found in: cfg/sourcemod/l4d_cloud_damage.cfg PHP Code: // Enable/Disable the Cloud Damage plugin l4d_cloud_damage_enabled "1" // Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all). l4d_cloud_modes "" // Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none). l4d_cloud_modes_off "" // Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together. l4d_cloud_modes_tog "0" // Amount of damage the cloud deals every 1 seconds l4d_cloud_damage_damage "5.0" // How long the cloud damage persists l4d_cloud_damage_time "17.0" // Radius of gas cloud damage l4d_cloud_damage_radius "250.0" // Enable/Disable the Cloud Melee Slow Effect l4d_cloud_meleeslow_enabled "1" // Enable/Disable the Cloud Damage Shake l4d_cloud_shake_enabled "1" // Enable/Disable the Cloud Damage Stopping Reviving l4d_cloud_blocks_revive "0" // Damage client only when smoker still in-game (usually ~ 5 sec after kill) (1 - Yes, 0 - while cloud lifetime) l4d_cloud_damage_ingame "0" Supported games: - L4D1 - L4D2 ChangeLog * 2.22.1 (Dragokas) - Converted to new SM & MM - Some optimizations - Security enhancements - Fixed handles leak - Simplified damage code (point_hurt replaced by SDKHooks_TakeDamage). - Removed Stop shake since it's already defined with timeout - Removed "swapped teams" timers / events since the flag is unused. - Added sound precache. - Added ConVar values caching. - ConVar "l4d2_cloud_gamemodesactive" ranamed into "l4d_cloud_modes"; added ConVars "l4d_cloud_modes_off" and "l4d_cloud_modes_tog". - ConVar "l4d_cloud_damage_sound" moved to define DAMAGE_SOUND. - Added ConVar "l4d_cloud_damage_ingame" - Damage client only when smoker still in-game (usually ~ 5 sec after kill) (1 - Yes, 0 - while cloud lifetime) Credits: - @AtomicStryker - the original author - @Silvers - game modes detection code P.S.: - It's my private modification written for myself and my Bloody Witch team. - Project and updates discontinued. Don't ask. Attached Files Get Plugin or Get Source (l4d_cloud_damage.sp - 14.4 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi