RSSy MYGO.pl Opublikowano Wrzesień 4, 2022 o 17:25 RSSy Udostępnij Opublikowano Wrzesień 4, 2022 o 17:25 Adds a menu to hijack the current MvM bomb path to whatever the user wants it to be on supported maps, which can be accessed by anyone as long its the 1st wave. Extending Support This step shouldn't be necessary since the plugin already supports all default maps and a wide variety of custom maps by default, which is all setup in the file "sourcemod/data/tf2_bombpathpicker.cfg". But if you need to, refer to the documentation inside the file: Spoiler PHP Code: // ++ DOCUMENTATION ++ // ------------------- // !! EVERY STRING IN THIS CONFIG HAS A MAX OF 128 CHARACTERS. !! ///////////////////////////////////////////////////////////////////////////////////////// // Sections are matched by map name, or multiple map names if they're comma-separated. // E.g. "mvm_coaltown,mvm_decoy" // // Partial matches are supported. // E.g. "mvm_akure" will match "mvm_akure_rc1". //////////////////////////////////////////////////// "mvm_example" { // Multiple entities can be inside a single keyvalue, they just need to be comma-separated: // "relay1,relay2" // // All keyvalues also have their own default inputs, which can be changed with the pipe character: // "prop_dynamic|Disable,relay2 //////////////////////////////////////////////////////////////////// // Relays to reset all currently-active path logic whenever we pick a path. // Default input is "Trigger". /// Optional, as not all maps need it. e.g. mvm_mannhattan. "Reset" "bombpath_clearall_relay,bombpath_arrows_clear_relay" // Case entity used by the "Random" selection. If there isn't any then the plugin uses its own logic. // Default input is "PickRandomShuffle". /// Optional, as not all maps have such an entity. e.g. mvm_mannhattan. "Random" "bombpath_choose_1_case" // Paths that the map supports and will show up in the menu for current map. // Any selected path is triggered with a second delay. /// I don't actually know the relays of mvm_example because I don't have it. "Paths" { "Left" "bombpath_left_relay" "Right" "bombpath_right_relay" } } Console Jargon PHP Code: // ++ Cvars ++ // ----------- // If the path menu can be used during an in-progress MvM wave. tf2_bpp_allow_midwave "0" // Prints parser data to the console whenever the config is reloaded. // Not saved to the CFG file. tf2_bpp_parser_debug "0" // ++ ConCmd ++ // ------------ // Displays a menu for picking a bomb path. sm_bpp // Resets and reload the config for 'Bomb Path Picker'. sm_bpp_reload Changelog Code: 2.0 (05-Sep-2022) - Released on AlliedModders. Special Mentions: meatload87 - The idea's inventor fingers - Extended their generosity and requested me for the plugin. Silvers, nosoop - SM-related help in implementing vital components. See SP file. Jurrell, royal - My teachers of all things Source specific to TF2. See SP file. MIKObscura - Config file's setup, translations. Orinuse - Persuading me to post this plugin on behalf of them, the actual creator of the plugin. Installation Extract the .ZIP's contents and drop the folders into addons/sourcemod. Attached Files tf2_bombpathpicker_v2.0.zip (25.6 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi