RSSy MYGO.pl Opublikowano Październik 29, 2020 o 21:25 RSSy Udostępnij Opublikowano Październik 29, 2020 o 21:25 Description In vanilla game, if you pick up a primary weapon with no ammo (0), the game switches your active weapon to the secondary (pistol/melee). This plugin switches back to the primary weapon. FeaturesAllow maintain the primary weapon equiped on pick up. Allow configuring to only apply this behavior on weapons with ammo. Steps to Reproduce Pick up a primary weapon. Shoot until you have 0 bullets left in the current clip. Pick up another primary weapon with clip ammo. Pick up the previous primary weapon. Now your primary weapon changed to the secondary. Cvars A configuration file named "l4d_unswap_empty_primary.cfg" will automatically be created for you upon the first run in the "\cfg\sourcemod\" folder. PHP Code: // Enable/Disable the plugin. // 0 = Disable, 1 = Enable. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_unswap_empty_primary_enable "1" // Ignore weapons without ammo. // 0 = OFF, 1 = ON. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_unswap_empty_primary_ignore_without_ammo "1" Admin Commands sm_print_cvars_l4d_unswap_empty_primary => Print the plugin related cvars and their respective values to the console. (z flag required) Change Log Spoiler 1.0.0 (29-October-2020) - Initial release. Notes Bots aren't affected by this plugin. Only applies to survivors. Related Plugins [L4D2] Hold Shove and Switch Fix by Marttt Post Reply Any feedback, bug reports, fixes, improvements, translations or suggestions for the plugin are welcome. Installation Put the "l4d_unswap_empty_primary.smx" file (click Get Plugin) in your "\addons\sourcemod\plugins\" folder. Attached Files Get Plugin or Get Source (l4d_unswap_empty_primary.sp - 8.2 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi