RSSy MYGO.pl Opublikowano Październik 16, 2020 o 23:20 RSSy Udostępnij Opublikowano Październik 16, 2020 o 23:20 Description This plugin allows you to continue shooting while holding the attack button. Some weapons don't have this feature, so if you keep holding the attack button, it does nothing. Heavily inspired by these 2 plugins: [L4D|L4D2|(Any?)] Automatic Pistols by Timocop [L4D/L4D2] Weapon Fire Modes by MasterMind420 FeaturesAllow configuring which weapons should have the auto fire turned on. Cvars A configuration file named "l4d_weapon_auto_fire.cfg" will automatically be created for you upon the first run in the "\cfg\sourcemod\" folder. PHP Code: // Enable/Disable auto fire for Auto Shotgun. // Already has auto fire on vanilla. // Enabling makes it fire faster. // 0 = Disable, 1 = Enable. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_weapon_auto_fire_autoshotgun "1" // Enable/Disable the plugin. // 0 = Disable, 1 = Enable. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_weapon_auto_fire_enable "1" // Enable/Disable auto fire for Grenade Launcher. // L4D2 only. // 0 = Disable, 1 = Enable. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_weapon_auto_fire_grenade_launcher "1" // Enable/Disable auto fire for Hunting Rifle. // 0 = Disable, 1 = Enable. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_weapon_auto_fire_hunting_rifle "1" // Enable/Disable auto fire for Pistol. // 0 = Disable, 1 = Enable. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_weapon_auto_fire_pistol "1" // Enable/Disable auto fire for Pistol Magnum. // L4D2 only. // 0 = Disable, 1 = Enable. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_weapon_auto_fire_pistol_magnum "1" // Enable/Disable auto fire for Pump Shotgun. // 0 = Disable, 1 = Enable. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_weapon_auto_fire_pumpshotgun "1" // Enable/Disable auto fire for Chrome Shotgun. // L4D2 only. // 0 = Disable, 1 = Enable. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_weapon_auto_fire_shotgun_chrome "1" // Enable/Disable auto fire for Spas Shotgun. // L4D2 only. // Already has auto fire on vanilla. // Enabling makes it fire faster. // 0 = Disable, 1 = Enable. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_weapon_auto_fire_shotgun_spas "1" // Enable/Disable auto fire for AWP Sniper. // L4D2 only. // 0 = Disable, 1 = Enable. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_weapon_auto_fire_sniper_awp "1" // Enable/Disable auto fire for Military Sniper. // L4D2 only. // 0 = Disable, 1 = Enable. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_weapon_auto_fire_sniper_military "1" // Enable/Disable auto fire for Scout Sniper. // L4D2 only. // 0 = Disable, 1 = Enable. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_weapon_auto_fire_sniper_scout "1" Admin Commands sm_print_cvars_l4d_weapon_auto_fire => Print the plugin related cvars and their respective values to the console. (z flag required) Change Log Spoiler 1.0.0 (16-October-2020) - Initial release. Known issues Pistols (Normal/Dual/Magnum) usually bug the fire sound (more noticeable) depending on how your ping is. I didn't found a solution to this issue. You can disable the pistols in cvars. Notes You can achieve the same behavior (without plugin) if you click the attack button fast while shooting with these weapons. Auto and Spas Shotguns already do auto fire by default, but if enabled, their fire rate is increased. SMGs (SMG, SMG Silenced, SMG MP5) and Rifles (M16, Desert, AK47, SG552, M60) already does auto fire in vanilla, so this plugin just ignore them. To Do Reload shotguns automatically when the clip goes empty. Thank you! Alex Alcalá - for testing in his server. Tonblader - for testing in his server. Timocop - for his [L4D|L4D2|(Any?)] Automatic Pistols plugin. MasterMind420 - for his [L4D/L4D2] Weapon Fire Modes plugin. Related Plugins [L4D|L4D2|(Any?)] Automatic Pistols by Timocop [L4D/L4D2] Weapon Fire Modes by MasterMind420 [L4D & L4D2] Mission and Weapons - Info Editor by Silvers [L4D2] Weapon Attack Speed Modifier by Machine Post Reply Any feedback, bug reports, fixes, improvements, translations or suggestions for the plugin are welcome. Installation Put the "l4d_weapon_auto_fire.smx" file (click Get Plugin) in your "\addons\sourcemod\plugins\" folder. Attached Files Get Plugin or Get Source (l4d_weapon_auto_fire.sp - 18.3 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi