Results 1 to 9 of 9

Thread: Online Battles Hotseat Guide (Engine Overhaul Project)

  1. #1

    Default Online Battles Hotseat Guide (Engine Overhaul Project)

    This topic will discuss the use of the HotSeatTool program in hotseats


    Link to thread of this program:
    https://www.twcenter.net/forums/show...1#post15891171

    EDIT

    Scroll down to see the full guide on how to use online battle in hotseats!
    Last edited by Jadli; May 09, 2021 at 05:02 AM. Reason: update

  2. #2

    Default Re: Using HotSeatTool in online hotseats

    To not get lost anywhere:
    hint on where and how to add descr_battle.txt to creating online battles using the M2TW Engine Overhaul Project.
    Created by Xamax:

    Spoiler Alert, click show to read: 
    Last edited by youneuoy; May 21, 2020 at 04:19 AM.

  3. #3
    Jadli's Avatar The Fallen God
    Gaming Emeritus

    Join Date
    Dec 2013
    Location
    Czech Republic
    Posts
    8,528

    Default Re: Using HotSeatTool in online hotseats

    Video demonstrating how the tool works by Xamax

  4. #4
    Laetus
    Join Date
    Nov 2019
    Location
    СССР
    Posts
    4

    Default Re: Using HotSeatTool in online hotseats

    Good day! Is this video still relevant? As far as I know, there is already a newer M2TW Engine Overhaul Project by youneuoy.

  5. #5
    Jadli's Avatar The Fallen God
    Gaming Emeritus

    Join Date
    Dec 2013
    Location
    Czech Republic
    Posts
    8,528

    Default Re: Using HotSeatTool in online hotseats

    I believe the newer versions havent changed much about the online battles, but I will be checking the process deeper once again soon, so in case it is not, I will post an up to date guide
    Last edited by Jadli; April 19, 2021 at 03:44 AM.

  6. #6
    Jadli's Avatar The Fallen God
    Gaming Emeritus

    Join Date
    Dec 2013
    Location
    Czech Republic
    Posts
    8,528

    Default Re: Online Battles Hotseat Guide (Engine Overhaul Project)

    Online Battles Hotseat Guide
    M2TW Engine Overhaul Project
    (the guide adapted from Xamax/youneuoy)

    This guide explains how do hotseats with online battles work. Yes, you heard right, it works! Every battle in the hotseat (or also SP) can be saved as a historical battle scenario, that can then be played online against other player(s) (or against AI if you wish). And the results of the battle can then be easily implemented into the hotseat/campaign.

    Requirements:
    - You obviously need to have Engine Overhaul Project in your mod, v1.19 (not sure if it works on the newest 2.0 yet)
    - You should disable shadows if you are generating the battle files, as it might cause a crash
    - "soldiers count fix" must be enabled in EOP launcher. (removes a limit of how many soldiers can be in a historical battle). Dont forget to hit apply changes
    - Battlefield size should always be 1728. Only, when there are reinformences in a battle, set it to 1800-1900 when hosting the online battle (not when in campaign), to make sure that reinformences dont get stuck by the edge of the map. (you can write it manually in limits.youneuoycfg)
    Spoiler Alert, click show to read: 



    - There will be two files generated, that you will need to move (descr_battle.txt and descr_results.txt)

    (Note: This doesnt work for fort battles, they will be just normal field battles)

    All steps can be done by players, admins/admin password not needed (unless a specific situation happens, as described in part 3)


    1) How to prepare a battle
    - When you engage enemy force(s) that you intend to fight in an online/historical battle, first make a save while at prebattle scroll (when you see the battle odds, etc)
    - To create a record of the start of battle, you need to begin a manual battle. Once the battle is loaded and you are in a deployment stage (dont start the battle), click "ctrl v". That enables EOP battle menu.
    - In the menu there are three options:
    Battle loaded? Click here
    generate descr_result
    generate descr_battle

    -First click on the first one ("Battle loaded? Click here"). There will be a pop window telling you that everything works correctly. Then you have to click on the third option ("generate descr_battle"). There will be a pop up window telling you that the descr_battle was created. Now you can exit the battle

    - The descr_battle.txt is located in /mods/yourmodfolder/youneuoy_data/battles. Unless you need to edit the battle, its all ready to use. You just take the file and move it to /mods/yourmodfolder/data/world/maps/batle/custom/. In the "custom" folder, create a new folder for your battle and move the descr_battle.txt inside it.
    - The battle from the hotseat is now accessible through historical battles, so also via online battles!

    2) How to save results of an online battle
    - Once the battle is all set up (an online battle was hosted using the newly created "historical" battle), all players joined, you have just entered the online battle and you are in a deployment stage, bring up the EOP battle menu using "ctrl v". Double click the first option ("Battle loaded? Click here"). You can close the window again using "ctrl v".
    - Only after that you can click "Start battle". You now fight the battle
    - Once the battle is finished and you see the battle results, bring up the EOP menu again, using "ctrl v", and double click the second option "generate descr_results". Now the battle results are saved. you can exit the battle

    - The descr_results.txt is located /mods/yourmodfolder/youneuoy_data/battles_results.
    - If you are a player in hotseat, you send the file to an admin (along with the save that you made at pre battle scroll) so that the admin can implement the results (section 3)

    - A video guide


    3) How to implement online battle results in the hotseat/campaign

    - Put the descr_results.txt into /mods/yourmodfolder/battleResults.
    - Load the prebattle save (the one that a player made just before the battle). Open EOP menu using "ctrl v" and select the first option - "Want to set battle_results? Click here"
    - Fight the battle in AR, so that the faction that wins is the same as the one that won the online battle battle. That is to ensure that the army that lost the online battle retreats and lose it movement points,and other effects tied to it. (If its not possible to get the same result in AR, use either command "auto_win attacker" or "auto_win defender", and hit the "autoresolve battle" button, to give victory to the side that won. In hotseats with admins, an admin is needed to do that, as he needs to enable the console).
    - Now to implement the actual results of the online battle, select the second option in the EOP menu - "set battle_results!". That changes the number of surviving men in each unit that just fought the battle to correct numbers based on the online battle, as well as experience and so on. (you can do it when the after battle scroll with results show up, or just after you close it)
    - And thats it, the online battle results were implemented into the hotseat/campaign!

    - A longer video guide covering the whole process
    Last edited by Jadli; August 22, 2021 at 05:16 AM.

  7. #7
    Jadli's Avatar The Fallen God
    Gaming Emeritus

    Join Date
    Dec 2013
    Location
    Czech Republic
    Posts
    8,528

    Default Re: Online Battles Hotseat Guide (Engine Overhaul Project)

    I updated the third part, as admin is actually not needed to do it, players can do it on their own easily (unless its impossible to fet the same result in AR)

  8. #8
    Jadli's Avatar The Fallen God
    Gaming Emeritus

    Join Date
    Dec 2013
    Location
    Czech Republic
    Posts
    8,528

    Default Re: Online Battles Hotseat Guide (Engine Overhaul Project)

    In the new version of EOP, battle generation is now very simple and smooth, fixed all the remaining minor bugs (based on the exp from the previous online battles hotseats).

    Link to the new guide

    and in video form by Medik/StedyEddie
    Last edited by Jadli; January 14, 2022 at 07:08 AM.

  9. #9
    Jadli's Avatar The Fallen God
    Gaming Emeritus

    Join Date
    Dec 2013
    Location
    Czech Republic
    Posts
    8,528

    Default Re: Online Battles Hotseat Guide (Engine Overhaul Project)

    you can find new versions of EOP here https://github.com/youneuoy/M2TWEOP-library/releases

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •