RSSy MYGO.pl Opublikowano Grudzień 31, 2020 o 20:44 RSSy Udostępnij Opublikowano Grudzień 31, 2020 o 20:44 Description This plugin will make common infecteds chase any survivor that shoot by creating a info_goal_infected_chase entity attached to then. I always felt that it was a bit unrealistic that sometimes you fire next to a zombie and it don't detect you. FeaturesAllows configurating a % chance to trigger. Allows configurating if bots should trigger it or not. Allows configurating the duration that new zombie should chase after a shot. Cvars A configuration file named "l4d_shot_warns_common.cfg" will automatically be created for you upon the first run in the "\cfg\sourcemod\" folder. PHP Code: // Allow plugin behaviour on survivor bots. // 0 = OFF, 1 = ON. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_shot_warns_common_bots "1" // Chance to trigger common zombies while firing. // 0 = OFF. // - // Default: "100.0" // Minimum: "0.000000" // Maximum: "100.000000" l4d_shot_warns_common_chance "100.0" // Duration (seconds) that common zombies can be warned after shooting. // - // Default: "1.0" // Minimum: "0.000000" l4d_shot_warns_common_duration "1.0" // Enable/Disable the plugin. // 0 = Disable, 1 = Enable. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_shot_warns_common_enable "1" Admin Commands sm_print_cvars_l4d_shot_warns_common => Print the plugin related cvars and their respective values to the console. (z flag required) Change Log Spoiler 1.0.0 (31-December-2020) - Initial release. Notes This plugin creates and attaches an info_goal_infected_chase to every survivor that fires. When there are too many commons in the map you can hear a sound triggering, this is a game default behaviour. To Do NEW PLUGIN - Allow SI to command common attacks. Post Reply Any feedback, bug reports, fixes, improvements, translations or suggestions for the plugin are welcome. Installation Put the "l4d_shot_warns_common.smx" file (click Get Plugin) in your "\addons\sourcemod\plugins\" folder. Attached Files Get Plugin or Get Source (l4d_shot_warns_common.sp - 15.0 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi