Greasy Fork

MZ Axis

Based on the Murder script, copy and paste options have been added, the coordinate axis has been moved to the center of the field, and now you can see the rival's tactic directly on the field, making it easier to set up a counter-tactic.

这些是代码更新过的版本。 显示所有版本

  • v0.2 2024-11-26

    MZ Axis: The useful tool to easily set up your tactics in MZ

    MZ Axis is a script based on the Murder script, adds functionality to the set up tactics on the ManagerZone page, allowing us to easily copy and paste from coordinates or XML content, using only the browser and clipboard. Here are some of its features:

    Copy and paste from XML

    To copy from XML content, you need this script van.mz.playerAdvanced to generate the content.

    You can do this from any of the following locations:

    R button

    2D button

    Timeline

    2DMatch

    Once you have copied it, simply click the 'paste' button, and that's it, you will have the tactic available on your team.

    2DMatch

    Note: For the paste button to work, you need a valid formation with 11 players in your tactic

    Copy and paste from plain text

    Here, things are even simpler. You select and copy some coordinates that sent someone to you via WhatsApp or from a plain text file:

    TextInPlainText

    Note: There are only 10 pairs of coordinates, the goalkeeper is excluded because there is no point in copying it.

    And simply paste them using the 'paste' button.

    2DMatch

    Coordinate axis at the center of the field

    The coordinate axis has been moved to the center of the field, this to make it easier to position players and also to create counter-tactics more easily. A symmetric tactic is much easier to see than one that is not.

    pitchAxes

    Place rival tactic from XML

    If you have your rival's XML, you simply copy it, for example from here:

    Timeline

    And make it visible in your tactics using the 'xmlRival' button.

    xmlRivalButton

    rivalTactic01

    Note: In the rival tactic, only the players' positions and playing style are shown. This is because the XML provided by the Chinese extension contains limited information, but with this, it is still useful for quickly building our strategy.

    Place rival tactic from a match ID

    If we want to go into more depth, we need the match ID and to have initialized the 2D viewer at least once to generate the statistics.

    The match ID is a number that we can obtain from the URL link:

    matchID

    We copy it and then click the 'xmlRival' button:

    xmlRivalButton

    It will then ask for confirmation:

    confirmationMathID

    A dialog box will appear to choose which team you want to set as the rival:

    selectRival

    And that's it, we will have the rival's tactic available in our tactic.

    rivalTactic02

    If we want more information, simply hover the cursor over the 'clearRival' button. Be careful, just hover, and all the available information about their players will appear.

    rivalTactic01

    Final Notes:

    The first time you run the script, this dialog box will appear right after confirming the match ID. Choose the 'Always allow domain' option. This is so it can fetch the statistics file from the MZ server, and it only needs to be done the first time.

    allow

    In general, the configuration of your script should look like this, and everything will work correctly.

    configScript

    Also, if you have any questions, concerns, or suggestions, feel free to write to me in the game's guestbook

    Kind regards, and have an excellent day.

  • v0.1 2024-03-13