RSSy MYGO.pl Opublikowano Październik 25, 2023 o 03:39 RSSy Udostępnij Opublikowano Październik 25, 2023 o 03:39 About:Allows gravity when players are staggering, otherwise they would float in the air until the animation completes. Also allows staggering over a ledge and falling. Works for all players. Thanks:ForgeTest - For the idea, helping with code and testing. Cvars: Saved to l4d_stagger_gravity.cfg in your servers \cfg\sourcemod\ folder. PHP Code: // Allow staggering when in the air for these types: 1=Survivors, 2=Smoker, 4=Boomer, 8=Hunter, 16=Spitter, 32=Jockey, 64=Charger, 128=Tank, 255=All. l4d_stagger_gravity_air "255" // 0=Plugin off, 1=Plugin on. l4d_stagger_gravity_allow "1" // Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all). l4d_stagger_gravity_modes "" // Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none). l4d_stagger_gravity_modes_off "" // Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together. l4d_stagger_gravity_modes_tog "0" // When using the command should players: 1=Stagger backwards. 2=Stagger forwards. 3=Stagger in random direction. l4d_stagger_gravity_cmd "1" // Stop staggering after falling off a ledge for these types: 1=Survivors, 2=Smoker, 4=Boomer, 8=Hunter, 16=Spitter, 32=Jockey, 64=Charger, 128=Tank, 255=All. l4d_stagger_gravity_stop "0" // Enable gravity when staggering for these types: 1=Survivors, 2=Smoker, 4=Boomer, 8=Hunter, 16=Spitter, 32=Jockey, 64=Charger, 128=Tank, 255=All. l4d_stagger_gravity_type "255" // Plugin version l4d_stagger_gravity_version Changes: Code: 1.0 (25-Oct-2023) - Initial release. 0.1 (08-Dec-2022) - Initial creation.Requirements:Left 4 DHooks Direct plugin version 1.139 or newer. SourceMod version 1.11 or newer. Installation:DO NOT click 'Get Plugin' or it will fail to compile because this plugin requires Left 4 DHooks Direct!Download the .smx file and put into your servers \addons\sourcemod\plugins folder. Attached Files l4d_stagger_gravity.smx (12.0 KB) Get Plugin or Get Source (l4d_stagger_gravity.sp - 17.2 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi