RSSy MYGO.pl Opublikowano Marzec 20, 2022 o 17:00 RSSy Udostępnij Opublikowano Marzec 20, 2022 o 17:00 Description This plugin allow Special Infecteds (SI) to open and close doors. Features Allow enabling/disabling for bots. Allow setting which SI can interact with doors. Allow setting the maximum distance to interact with doors. Allow setting a cooldown to interact again with the same door. Allow setting if it should only open or close doors. Allow setting which type of door should enable (normal / saferoom). Allow Smokers to open the door with it's tongue. Allow setting how far a Smoker can open a door with it's tongue. Allow setting to display a particle tongue when Smoker interact with it's tongue. Ignore locked doors Cvars A configuration file named "l4d_si_door_use.cfg" will automatically be created for you upon the first run in the "\cfg\sourcemod\" folder. PHP Code: // Allow SI bots to open/close doors when in range. // 0 = OFF, 1 = ON. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_si_door_use_bots "1" // Cooldown to open/close the same door again. // - // Default: "2.0" // Minimum: "0.000000" l4d_si_door_use_cooldown "2.0" // How far a special infected can be to open/close a door. // - // Default: "100.0" // Minimum: "0.000000" l4d_si_door_use_distance "100.0" // Which state of the door should be allowed. // 1 = Only close doors, 2 = Only open doors, 3 = Both. // - // Default: "3" // Minimum: "1.000000" // Maximum: "3.000000" l4d_si_door_use_door_state "3" // Which type of door should allow to open/close. // 1 = Normal Door (prop_door_rotating), 2 = Saferoom Door (prop_door_rotating_checkpoint), 3 = Both. // - // Default: "3" // Minimum: "1.000000" // Maximum: "3.000000" l4d_si_door_use_door_type "3" // Enable/Disable the plugin. // 0 = Disable, 1 = Enable. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_si_door_use_enable "1" // Which special infected should be able to open/close doors. // 1 = SMOKER, 2 = BOOMER, 4 = HUNTER, 8 = SPITTER, 16 = JOCKEY, 32 = CHARGER, 64 = TANK. // Add numbers greater than 0 for multiple options. // Example: "127", enables command chase for all SI. // - // Default: "127" // Minimum: "0.000000" // Maximum: "127.000000" l4d_si_door_use_si "127" // Allow the Smoker to open/close the door using its tongue ability. // 0 = OFF, 1 = ON. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_si_door_use_smoker_ability "1" // How far a Smoker can be to open/close a door. // 0 = No distance check. // - // Default: "750.0" // Minimum: "0.000000" l4d_si_door_use_smoker_distance "750.0" // How long (in seconds) the tongue particle should be visible. // 0 = OFF. // - // Default: "1.0" // Minimum: "0.000000" l4d_si_door_use_smoker_particle "1.0" Admin Commands sm_print_cvars_l4d_si_door_use => Print the plugin related cvars and their respective values to the console. (z flag required) Change Log Spoiler 1.0.0 (20-March-2022) - Initial release. Notes When bots are enabled they will interact with a door every time they are near it, respecting the cooldown. Known Issues The doors only open/close in a single direction. Related Plugins [ANY] Burst Open Doors by Silvers [L4D2] Rope by panxiaohai [L4D & L4D2] Rope & Hook by NoroHime Post Reply Any feedback, bug reports, fixes, improvements, translations or suggestions for the plugin are welcome. Installation Put the "l4d_si_door_use.smx" file (click Get Plugin) in your "\addons\sourcemod\plugins\" folder. Attached Files Get Plugin or Get Source (l4d_si_door_use.sp - 27.9 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi