RSSy MYGO.pl Opublikowano Grudzień 25, 2021 o 12:46 RSSy Udostępnij Opublikowano Grudzień 25, 2021 o 12:46 Description: Survivors can sprint by double pressing forward button. Sprint can be cancelled by releasing the forward button, pressing walk or crouch button. If stamina is enabled, it will be consumed while survivor sprints, if stamina is depleted survivor will be exhausted. This plugin uses Survivor Utilities to modify player speeds.Dependences:DHooks (Experimental Dynamic Detour support) extension. Left 4 DHooks Direct Survivor Utilities SM 1.10+ ConVars: Spoiler PHP Code: // 0 = Plugin Off. 1 = Plugin On // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_sse_enable "1" // Exhaust survivor when stamina reaches 0. 0 = Disable. 1 = Enable. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_sse_exhaustion "1" // While survivor health is over this value, stamina will be at max value. // - // Default: "70.0" // Minimum: "0.000000" l4d_sse_health_max "70.0" // When health reaches this value stamina will drop to min value // - // Default: "20.0" // Minimum: "0.000000" l4d_sse_health_min "20.0" // Allow survivors to sprint while limping. 0 = Disable, 1 = Enable. // - // Default: "0" // Minimum: "0.000000" // Maximum: "1.000000" l4d_sse_sprint_limp "0" // Multiply survivor speed by this amount when sprinting. // - // Default: "1.5" // Minimum: "1.000000" l4d_sse_sprint_scale "1.5" // Max amount of stamina. // - // Default: "120" // Minimum: "0.000000" l4d_sse_stamina_amount "120" // Stamina decay rate (every half second) while sprinting // - // Default: "8" // Minimum: "0.000000" l4d_sse_stamina_decay "8" // 0 = Stamina allways max amount. 1 = Proportional to health. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_sse_stamina_hp_proportional "1" // If proportional stamina, minimum amount of stamina at low health. // - // Default: "0" // Minimum: "0.000000" l4d_sse_stamina_min "0" // Amount of stamina recovered (every half second) while not moving or walking. // - // Default: "5" // Minimum: "0.000000" l4d_sse_stamina_regen "5" // Amount of stamina recovered (every half second) while normal running. // - // Default: "2" // Minimum: "0.000000" l4d_sse_stamina_regen_moving "2" // Temporary health will count as normal health this amount to calculate max stamina. // - // Default: "0.5" // Minimum: "0.000000" // Maximum: "1.000000" l4d_sse_stamina_temphealth "0.5" // 0 = Infinite sprint. 1 = Use stamina. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_sse_usestamina "1" // Enable the plugin in these gamemodes, separated by spaces. (Empty = all). // - // Default: "" zspawn_gamemodes "" Changelog: 1.0 (25-Dec-2021)- Initial release. Attached Files l4d2_sprintstamina.smx (9.5 KB) Get Plugin or Get Source (l4d2_sprintstamina.sp - 16.6 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi