RSSy MYGO.pl Opublikowano Listopad 6, 2021 o 13:59 RSSy Udostępnij Opublikowano Listopad 6, 2021 o 13:59 Description This plugin staggers (explosive ammo effect) the Tank while using explosive ammo, like the other SI. FeaturesAllow configuring the chance per ammo type. (NORMAL|EXPLOSIVE|INCENDIARY) Allow configuring the chance per weapon type. (including melees and miniguns) Cvars A configuration file named "l4d_stagger_tank.cfg" will automatically be created for you upon the first run in the "\cfg\sourcemod\" folder. PHP Code: // Enables/Disables the plugin. 0 = Plugin OFF, 1 = Plugin ON. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_stagger_tank_enabled "1" Data file (data/l4d_stagger_tank.cfg) PHP Code: // Attributes explained: // "enable" -> Enable stagger. "0" = Disable, "1" = Enable. // "normal" -> Chance (1%-100%) to stagger in any hit. "0" = OFF. // "explosive" -> Chance (1%-100%) to stagger by explosive ammo. L4D2 only. "0" = OFF. // "incendiary" -> Chance (1%-100%) to stagger by incendiary ammo. L4D2 only. "0" = OFF. "l4d_stagger_tank" { "default" { "enable" "1" "normal" "0" "explosive" "100" "incendiary" "0" } "classnames" { // Primary Weapons - Slot 1 // Tier 1 // SMGs "weapon_smg" { "enable" "1" } "weapon_smg_silenced" { "enable" "1" } "weapon_smg_mp5" { "enable" "1" } // Shotguns "weapon_pumpshotgun" { "enable" "1" } "weapon_shotgun_chrome" { "enable" "1" } // Tier 2 // Rifles "weapon_rifle" { "enable" "1" } "weapon_rifle_desert" { "enable" "1" } "weapon_rifle_ak47" { "enable" "1" } "weapon_rifle_sg552" { "enable" "1" } // Shotguns "weapon_autoshotgun" { "enable" "1" } "weapon_shotgun_spas" { "enable" "1" } // Snipers "weapon_hunting_rifle" { "enable" "1" } "weapon_sniper_military" { "enable" "1" } "weapon_sniper_scout" { "enable" "1" } "weapon_sniper_awp" { "enable" "1" } // Tier 3 "weapon_rifle_m60" { "enable" "1" } "weapon_grenade_launcher" { "enable" "1" } // Secondary Weapons - Slot 2 // Pistols "weapon_pistol" { "enable" "0" } "weapon_pistol_magnum" { "enable" "0" } // Miniguns "prop_minigun" { "enable" "0" } "prop_mounted_machine_gun" { "enable" "0" } "prop_minigun_l4d1" { "enable" "0" } // Melees - Slot 2 "weapon_chainsaw" { "enable" "0" } "weapon_melee" { "enable" "0" } } "melees" { "fireaxe" { "enable" "0" } "frying_pan" { "enable" "0" } "machete" { "enable" "0" } "baseball_bat" { "enable" "0" } "crowbar" { "enable" "0" } "cricket_bat" { "enable" "0" } "tonfa" { "enable" "0" } "katana" { "enable" "0" } "electric_guitar" { "enable" "0" } "knife" { "enable" "0" } "golfclub" { "enable" "0" } "pitchfork" { "enable" "0" } "shovel" { "enable" "0" } "riotshield" { "enable" "0" } } } Admin Commands sm_print_cvars_l4d_stagger_tank => Print the plugin related cvars and their respective values to the console. (z flag required) Change Log Spoiler 1.0.0 (06-November-2021) - Initial release. Notes INCENDIARY and EXPLOSIVE ammo only exist on L4D2. To Do Add client flag to config. Add others SI to config. Thank you! Silvers - for [L4D & L4D2] Left 4 DHooks Direct plugin. Post Reply Any feedback, bug reports, fixes, improvements, translations or suggestions for the plugin are welcome. Requirements [L4D & L4D2] Left 4 DHooks Direct Installation Put the "l4d_stagger_tank.cfg" file in your "\addons\sourcemod\data\" folder. Put the "l4d_stagger_tank.smx" file (click Get Plugin) in your "\addons\sourcemod\plugins\" folder. Attached Files l4d_stagger_tank.cfg (3.8 KB) Get Plugin or Get Source (l4d_stagger_tank.sp - 16.4 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi