How to bring up the mini combat map during custom battles?

Users who are viewing this thread

Percipient

Recruit
Hey guys,

I played the campaign and was able to bring up the mini combat map from time to time to direct troops using the backspace key.  No idea why but, during custom battles, where it makes more sense to have to bring it up, I can't seem to get it up with backspace, all I can do is give commands to troops using the number keys and F# key's.

Any suggestions? Would be a lot of fun to command troops to flank and have big battles without having to worry about playing through the campaign to get to the battles :wink:.

--Anthony
 
I'm not positive it will work, but I can't imagine why it wouldn't and is definitely worth a try...
Tested--this will enable the minimap in custom battles!

1) Using the module system, open up module_mission_templates.py
2) Search for mission templates including "quick_battle" (around line 7600, and for sieges 7665)
3) At the end of the template, paste in the following two lines above the closing "],"
Code:
      common_battle_order_panel,
      common_battle_order_panel_tick,
4) It should look like this:
Code:
  (
    "quick_battle_battle",mtf_battle_mode,-1,
    "You lead your men to battle.",
//...BUNCH OF STUFF...//
      common_music_situation_update,
      custom_battle_check_victory_condition,
      common_battle_victory_display,
      custom_battle_check_defeat_condition,
      common_battle_order_panel,
      common_battle_order_panel_tick,
    ],
  ),
5) Build the module and away you go...
 
I realize I am double posting, but thought perhaps some would have been scared off by my use of the Module system. Below is a simple edit of the TXT file mission_templates.txt, based on a Native mission_templates file. Following the steps below will give you access to the map/order panel in Custom Battles, just like in the single player campaign.

0) Make a backup of mission_templates.txt (found in your Warband\Modules\Native\ folder)
1) Open mission_templates.txt
2) Search for "quick_battle" to find the correct missions
3) For quick_battle_battle (field battles, beginning around line 116:cool:, scroll down past a series of numbers to the first number that is on a line by itself--in Native, this number is 10 (around line 1203).
4) Change 10 to 12 (add two to the number)
5) Scroll down further, past a few more lines of numbers (beginning with -21.0000 etc). Find the first blank line.
6) Paste in the following code on the next two lines:
Code:
0.000000 0.000000 0.000000  0  3 73 1 22 2147484551 1 1513209474796486693 900 1 1513209474796486693 
0.100000 0.000000 0.000000  0  2 903 1 1513209474796486693 1 1 936748722493063537
7) For siege battles (quick_battle_siege), find the first solo number--in Native, 19 (around line 1270)
8 ) Change 19 to 21 (add 2)
9)  Scroll down further, past a few more lines of numbers (beginning with -19.0000 etc). Find the first blank line.
10) Paste in the following code on the next two lines:
Code:
0.000000 0.000000 0.000000  0  3 73 1 22 2147484551 1 1513209474796486693 900 1 1513209474796486693 
0.100000 0.000000 0.000000  0  2 903 1 1513209474796486693 1 1 936748722493063537
11) Save. Play. Enjoy.
 
Back
Top Bottom