RSSy MYGO.pl Opublikowano Październik 20, 2020 o 22:06 RSSy Udostępnij Opublikowano Październik 20, 2020 o 22:06 Description This plugin outputs to the chat every time someone explodes a gascan/propane canister/oxygen tank/fireworks crate/fuel barrel/barricade with gascans. FeaturesOutput the name of who exploded. Allow selecting which props should output to the chat. Allow selecting which teams should see the message. Chat message examplesMart has exploded a gascan! Mart has exploded a fuel barrel! Mart has exploded a propane canister! Mart has exploded an oxygen tank! Mart has exploded a barricade with gascans! Mart has exploded a fireworks crate! Cvars A configuration file named "l4d_explosion_announcer.cfg" will automatically be created for you upon the first run in the "\cfg\sourcemod\" folder. PHP Code: // Output to the chat every time someone explodes (last hit) a barricade with gascans. // 0 = OFF, 1 = ON. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_explosion_announcer_barricadegascan "1" // Enable/Disable the plugin. // 0 = Disable, 1 = Enable. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_explosion_announcer_enable "1" // Output to the chat every time someone explodes (last hit) a fireworks crate. // L4D2 only. // 0 = OFF, 1 = ON. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_explosion_announcer_fireworkscrate "1" // Output to the chat every time someone explodes (last hit) a fuel barrel. // 0 = OFF, 1 = ON. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_explosion_announcer_fuelbarrel "1" // Output to the chat every time someone explodes (last hit) a gascan. // 0 = OFF, 1 = ON. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_explosion_announcer_gascan "1" // Output to the chat every time someone explodes (last hit) a oxygen tank. // 0 = OFF, 1 = ON. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_explosion_announcer_oxygentank "1" // Output to the chat every time someone explodes (last hit) a propane canister. // 0 = OFF, 1 = ON. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_explosion_announcer_propanecanister "1" // Delay in seconds to output to the chat the message from the same client again. // 0 = OFF. // - // Default: "3.0" // Minimum: "0.000000" l4d_explosion_announcer_spamprotection "3.0" // Whether the plugin should apply chat spam protection by entity type. // Example: "gascans" and "propane canisters" are of different types. // 0 = OFF, 1 = ON. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_explosion_announcer_spamtypecheck "1" // Which teams should the message be transmitted to. // Known values: 0 = NONE, 1 = SURVIVOR, 2 = INFECTED, 4 = SPECTATOR. // Add numbers greater than 0 for multiple options. // Example: "3", enables for SURVIVOR and INFECTED. // - // Default: "1" // Minimum: "0.000000" // Maximum: "7.000000" l4d_explosion_announcer_team "1" Admin Commands sm_print_cvars_l4d_explosion_announcer => Print the plugin related cvars and their respective values to the console. (z flag required) Change Log Spoiler 1.0.0 (20-October-2020) - Initial release. Current Translations en - English es - Spanish pt - Brazilian Portuguese Known issues When an explosion generates a lot of inferno entities (fire spots), sometimes the plugin can't detect who exploded. Notes The fireworks crate message only outputs to the L4D2 game, since L4D1 doesn't have fireworks crate. The gascan health is checked before outputting the message, to prevent false-positives. (like when the gascan fire is extinguished but is filled somewhere) To Do Add a different message to scavenge gascans. Add messages related to specific events. (Cold Stream - Pallet Barrel Event / Crash Course - Howitzer Event) Add instructor hints markers to the throwers (L4D2 only). Thank you! [ru]In1ernal Error - for his [L4D2] Burners Announce plugin. cravenge - for his [L4D2] Burners Announce plugin version. Foxhound - for his [L4D2] Burners Announce plugin version. Tonblader - for some requests. Related Plugins [L4D2] Burners Announce by [ru]In1ernal Error [L4D2] Gascan Announcer by BHaType [L4D1 & L4D2] Throwable Announcer by Marttt [L4D1 & L4D2] Tank Rock Destroyer Announce by Marttt Post Reply Any feedback, bug reports, fixes, improvements, translations or suggestions for the plugin are welcome. Installation Put the "l4d_explosion_announcer.smx" file (click Get Plugin) in your "\addons\sourcemod\plugins\" folder. Put the "l4d_explosion_announcer.phrases.txt" file in your "\addons\sourcemod\translations\" folder. Attached Files l4d_explosion_announcer.phrases.txt (2.8 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi