RSSy MYGO.pl Opublikowano Listopad 28, 2020 o 12:58 RSSy Udostępnij Opublikowano Listopad 28, 2020 o 12:58 Description This plugin adds more effects to the props below: Gascan Propane Canister Oxygen Tank Fireworks Crate (L4D2 only) Fuel Barrel Barricade with Gascans With the following explosion effects: Gascan Fuel Barrel Propane Canister Fireworks Crate (L4D2 only) By effect, I mean that the plugin creates another entity in the same spot a prop exploded, looking like if was another effect. Example: Is possible to configure for when a fireworks crate explodes, it also shows up the gascan explosion effect together. FeaturesAllow configuring which additional props should explode together on explosion. Allow configuring the chance to the new effect be applied. Cvars A configuration file named "l4d_add_prop_explosion.cfg" will automatically be created for you upon the first run in the "\cfg\sourcemod\" folder. PHP Code: // Additional prop explosion every time a barricade with gascans explodes. // 0 = OFF, 1 = GASCAN, 2 = FUEL BARREL, 4 = PROPANE CANISTER, 8 = FIREWORKS (L4D2 only). // Add numbers greater than 0 for multiple options. // - // Default: "4" // Minimum: "0.000000" // Maximum: "15.000000" l4d_add_prop_explosion_barricadegascan "4" // Chance to add a prop explosion when a barricade with gascans explodes. // 0 = OFF. // - // Default: "100.0" // Minimum: "0.000000" // Maximum: "100.000000" l4d_add_prop_explosion_barricadegascan_chance "100.0" // Enable/Disable the plugin. // 0 = Disable, 1 = Enable. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_add_prop_explosion_enable "1" // Additional prop explosion every time a fireworks crate explodes. // 0 = OFF, 1 = GASCAN, 2 = FUEL BARREL, 4 = PROPANE CANISTER, 8 = FIREWORKS (L4D2 only). // Add numbers greater than 0 for multiple options. // - // Default: "5" // Minimum: "0.000000" // Maximum: "15.000000" l4d_add_prop_explosion_fireworkscrate "5" // Chance to add a prop explosion when a fireworks crate explodes. // 0 = OFF. // - // Default: "100.0" // Minimum: "0.000000" // Maximum: "100.000000" l4d_add_prop_explosion_fireworkscrate_chance "100.0" // Additional prop explosion every time a fuel barrel explodes. // 0 = OFF, 1 = GASCAN, 2 = FUEL BARREL, 4 = PROPANE CANISTER, 8 = FIREWORKS (L4D2 only). // Add numbers greater than 0 for multiple options. // - // Default: "1" // Minimum: "0.000000" // Maximum: "15.000000" l4d_add_prop_explosion_fuelbarrel "1" // Chance to add a prop explosion when a a fuel barrel explodes. // 0 = OFF. // - // Default: "100.0" // Minimum: "0.000000" // Maximum: "100.000000" l4d_add_prop_explosion_fuelbarrel_chance "100.0" // Additional prop explosion every time a gascan explodes. // 0 = OFF, 1 = GASCAN, 2 = FUEL BARREL, 4 = PROPANE CANISTER, 8 = FIREWORKS (L4D2 only). // Add numbers greater than 0 for multiple options. // - // Default: "4" // Minimum: "0.000000" // Maximum: "15.000000" l4d_add_prop_explosion_gascan "4" // Chance to add a prop explosion when a a gascan explodes. // 0 = OFF. // - // Default: "100.0" // Minimum: "0.000000" // Maximum: "100.000000" l4d_add_prop_explosion_gascan_chance "100.0" // Additional prop explosion every time a oxygen tank explodes. // 0 = OFF, 1 = GASCAN, 2 = FUEL BARREL, 4 = PROPANE CANISTER, 8 = FIREWORKS (L4D2 only). // Add numbers greater than 0 for multiple options. // - // Default: "2" // Minimum: "0.000000" // Maximum: "15.000000" l4d_add_prop_explosion_oxygentank "2" // Chance to add a prop explosion when a oxygen tank explodes. // 0 = OFF. // - // Default: "100.0" // Minimum: "0.000000" // Maximum: "100.000000" l4d_add_prop_explosion_oxygentank_chance "100.0" // Additional prop explosion every time a propane canister explodes. // 0 = OFF, 1 = GASCAN, 2 = FUEL BARREL, 4 = PROPANE CANISTER, 8 = FIREWORKS (L4D2 only). // Add numbers greater than 0 for multiple options. // - // Default: "2" // Minimum: "0.000000" // Maximum: "15.000000" l4d_add_prop_explosion_propanecanister "2" // Chance to add a prop explosion when a propane canister. // 0 = OFF. // - // Default: "100.0" // Minimum: "0.000000" // Maximum: "100.000000" l4d_add_prop_explosion_propanecanister_chance "100.0" Admin Commands sm_print_cvars_l4d_add_prop_explosion => Print the plugin related cvars and their respective values to the console. (z flag required) Change Log Spoiler 1.0.0 (28-November-2020) - Initial release. Notes Created to work together with [L4D/L4D2] Detonation force plugin. The fuel barrel effect doesn't create additional parts on explosion. The fireworks crate is only applied to the L4D2 game, since L4D1 doesn't have fireworks crate. Fuel Barrel can be found on Sacrifice, 1st and 2nd maps. Barricade with Gascans can be found on Dead Air, 3rd map. To Do Add effect for the cold stream chapter 2 explosion. Thank you! Tonblader - for requesting and testing in his server. Related Plugins [L4D1 & L4D2] Explosion Announcer by Marttt [L4D/L4D2] Detonation force by oirv Post Reply Any feedback, bug reports, fixes, improvements, translations or suggestions for the plugin are welcome. Installation Put the "l4d_add_prop_explosion.smx" file (click Get Plugin) in your "\addons\sourcemod\plugins\" folder. Attached Files Get Plugin or Get Source (l4d_add_prop_explosion.sp - 31.0 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi