Vetrogor

Custom Commander chosing a companion as the commander to control before the battle.

Apr 5th, 2021
189
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Custom Commander chosing a companion as the commander to control before the battle.
  2.  
  3. Credits to thermocline for sponsoring this submod, Rubik for creating Custom Commander and PoP developers team and comunity.
  4.  
  5.  
  6. ##############################################################################################
  7. # mission_templates.txt #
  8. ##############################################################################################
  9.  
  10. 1) Add one trigger to this missions. Increase counter +1 in each mission and add a trigger after the counter.
  11. Missions:
  12. lead_charge
  13. village_attack_bandits
  14. Trigger:
  15. 0.000000 0.000000 100000000.000000 12 2147483679 2 144115188075856149 360287970189639680 2175 2 1224979098644774912 360287970189639680 500 3 360287970189640822 0 1224979098644774912 2147485156 1 360287970189639680 1700 1 1224979098644774913 30 2 1224979098644774913 0 1770 2 1224979098644774914 1224979098644774913 1710 2 49 1224979098644774913 720 2 49 -100 1970 1 49 1972 1 360287970189639680 1771 2 72057594037927936 1224979098644774914 0
  16.  
  17. Missions:
  18. village_raid
  19. besiege_inner_battle_castle
  20. besiege_inner_battle_town_center
  21. castle_attack_walls_defenders_sally
  22. castle_attack_walls_belfry
  23. castle_attack_walls_ladder
  24. Trigger:
  25. 0.000000 0.000000 100000000.000000 17 2147483679 2 144115188075856149 360287970189639680 2175 2 1224979098644774912 360287970189639680 500 3 360287970189640822 0 1224979098644774912 2147485156 1 360287970189639680 1700 1 1224979098644774913 30 2 1224979098644774913 0 1770 2 1224979098644774914 1224979098644774913 1710 2 49 1224979098644774913 720 2 49 -100 1970 1 49 1541 3 1224979098644774915 360287970189639680 8 1542 3 1224979098644774916 360287970189639680 8 1543 3 360287970189639680 8 -1 1972 1 360287970189639680 1771 2 72057594037927936 1224979098644774914 1543 3 360287970189639680 8 1224979098644774915 1544 3 360287970189639680 8 1224979098644774916 0
  26.  
  27. In this example counter is 67:
  28. mst_lead_charge lead_charge 65538 8
  29. You_lead_your_men_to_battle.
  30. 4 1 4160 0 16 40 0
  31. 0 4160 0 16 0 0
  32. 4 8320 0 16 40 0
  33. 4 8320 0 16 0 0
  34. 67
  35. 0.000000 0.000000 100000000.000000 12 2147483679 2 144115188075856149 360287970189639680 2175 2 1224979098644774912 360287970189639680 500 3 360287970189640822 0 1224979098644774912 2147485156 1 360287970189639680 1700 1 1224979098644774913 30 2 1224979098644774913 0 1770 2 1224979098644774914 1224979098644774913 1710 2 49 1224979098644774913 720 2 49 -100 1970 1 49 1972 1 360287970189639680 1771 2 72057594037927936 1224979098644774914 0
  36.  
  37. 2) This step is required for lead_charge mission
  38. Find trigger
  39. -25.000000 0.000000 0.000000 0 15 2071 1 1224979098644774912 1 2 936748722493063554 1224979098644774912 2133 2 1224979098644774913 5000 1718 2 1224979098644774914 1224979098644774912 2171 2 1224979098644774915 1224979098644774914 2107 2 1224979098644774915 70 2105 2 1224979098644774913 1224979098644774915 2136 3 1224979098644774916 1000 3000 2105 2 1224979098644774913 1224979098644774916 1716 2 1224979098644774917 1224979098644774912 1671 2 1224979098644774918 1224979098644774917 2121 3 1224979098644774919 1224979098644774918 70 2107 2 1224979098644774919 30 2105 2 1224979098644774913 1224979098644774919 505 3 1224979098644774912 16 1224979098644774913
  40. And replace it with
  41. -25.000000 0.000000 0.000000 0 16 2071 1 1224979098644774912 1 2 936748722493063554 1224979098644774912 2133 2 1224979098644774913 5000 1718 2 1224979098644774914 1224979098644774912 2171 2 1224979098644774915 1224979098644774914 2107 2 1224979098644774915 70 2105 2 1224979098644774913 1224979098644774915 2136 3 1224979098644774916 1000 3000 2105 2 1224979098644774913 1224979098644774916 1716 2 1224979098644774917 1224979098644774912 30 2 1224979098644774917 0 1671 2 1224979098644774918 1224979098644774917 2121 3 1224979098644774919 1224979098644774918 70 2107 2 1224979098644774919 30 2105 2 1224979098644774913 1224979098644774919 505 3 1224979098644774912 16 1224979098644774913
  42.  
  43. ################################################################################
  44. # scripts.txt #
  45. ################################################################################
  46.  
  47. 1) Increase counter +1 at the top of the file
  48. Example:
  49. scriptsfile version 1
  50. 754
  51. game_start -1
  52.  
  53. 2) Add script at the bottom
  54. get_num_heroes_of_party -1
  55. 12 21 1 1224979098644774912 22 1 1224979098644774913 2133 2 1224979098644774914 0 1650 2 1224979098644774915 1224979098644774912 6 3 1224979098644774916 0 1224979098644774915 1652 3 1224979098644774917 1224979098644774912 1224979098644774916 1507 1 1224979098644774917 2105 2 1224979098644774914 1 1508 1 1224979098644774917 2106 2 1224979098644774914 1224979098644774913 3 0 2133 2 72057594037927936 1224979098644774914
  56.  
  57. Find script ID number with this formula
  58. script_get_num_heroes_of_party = (Top_counter-1) + 936748722493063168
  59. Save this somewhere
  60.  
  61. 3) Find script agent_reassign_team and replace code below with
  62. 32 23 2 1224979098644774912 1 1700 1 1224979098644774913 4 0 30 2 1224979098644774913 0 1704 1 1224979098644774912 1706 1 1224979098644774912 1716 2 1224979098644774914 1224979098644774912 30 2 1224979098644774914 0 2147483679 2 1224979098644774914 648518346341351424 2133 2 1224979098644774915 1 2204 2 1224979098644774916 1224979098644774914 1718 2 72057594037927975 1224979098644774912 4 0 31 2 1224979098644774916 144115188075856294 33 3 144115188075856294 432345564227567630 432345564227567636 542 3 144115188075856294 8 360287970189639680 2133 2 1224979098644774915 0 5 0 1652 3 1224979098644774917 1224979098644774914 0 2147483681 3 1224979098644774917 360287970189640185 360287970189640315 2147483681 3 1224979098644774917 360287970189639980 360287970189639999 2147483679 2 1224979098644774917 360287970189640007 2147483679 2 1224979098644774917 360287970189640030 2190 3 1224979098644774918 1224979098644774916 432345564227567630 30 2 1224979098644774918 0 2133 2 1224979098644774915 0 3 0 31 2 1224979098644774915 1 1770 2 1224979098644774919 1224979098644774913 2105 2 1224979098644774919 2 1771 2 1224979098644774912 1224979098644774919 3 0
  63. There should be one space before the code block.
  64.  
  65. ##########################################################################################################
  66. # meshes.txt #
  67. ##########################################################################################################
  68.  
  69. 1) Open file meshes.txt and increase top counter +1
  70. 2) Add this at the bottom of the file
  71. mesh_inventory_equipment_panel 0 inventory_equipment_panel 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 1.000000 1.000000 1.000000
  72. 3) Calculate ID and save somewhere
  73. mesh_inventory_equipment_panel = (Top_counter-1) + 1441151880758558720
  74.  
  75. ##########################################################################################################
  76. # strings.txt #
  77. ##########################################################################################################
  78.  
  79. 1) Open file and calculate this number and save it somewhere
  80. str_select_companion = top_counter + 216172782113783808
  81.  
  82. 2) Increase counter at the top +27
  83.  
  84. 3) Add at the bottom of the file
  85. str_select_companion Please_reselect_a_companion^as_the_commander_for_the_coming_battle.^^Current_commander:_{s0}.
  86. str_arms Arms
  87. str_outfit Outfit
  88. str_stats Level:_{reg2}^HP:_{reg1}/{reg0}
  89. str_attribute_str Strength
  90. str_attribute_agi Agility
  91. str_attribute_int Intelligence
  92. str_attribute_cha Charisma
  93. str_attributes_num {s1}({reg0}/63)
  94. str_ironflesh Ironflesh
  95. str_power_strike Power_Strike
  96. str_power_throw Power_Throw
  97. str_power_draw Power_Draw
  98. str_shield Shield
  99. str_athletics Athletics
  100. str_riding Riding
  101. str_horse_archery Horse_Archery
  102. str_skills_num {s1}({reg2}/{reg3})
  103. str_weapon_proficiencies Weapon_Proficiencies
  104. str_one_handed_weapon one_handed_weapon_
  105. str_two_handed_weapon two_handed_weapon_
  106. str_polearm polearm_
  107. str_archery archery_
  108. str_crossbow crossbow_
  109. str_throwing throwing_
  110. str_firearms firearms_
  111. str_wp_num {s1}({reg0}/699)
  112.  
  113. 4) Add an empty line at the bottom of the file.
  114.  
  115. ##########################################################################################################
  116. # presentations.txt #
  117. ##########################################################################################################
  118.  
  119. 1) Open file presentations.txt and calculate this number
  120. prsnt_change_commander = counter + 1513209474796486656
  121.  
  122. 2) Increase the top counter +1
  123.  
  124. 3) Replaces this numbers in this file with your own calculated
  125.  
  126. script_get_num_heroes_of_party = 936748722493063922 (8 replaces)
  127. mesh_inventory_equipment_panel = 1441151880758559528 (2 replace)
  128. str_select_companion = 216172782113788864 (2 replace)
  129. prsnt_change_commander = 1513209474796486717 (7 replaces)
  130.  
  131. prsnt_change_commander 0 0 3
  132. -60.000000 354 2133 2 1224979098644774912 216172782113788864 2133 2 1224979098644774913 1441151880758559528 902 1 999999 2124 1 1000 911 2 72057594037927937 1441151880758558963 729 2 1 0 730 2 1 0 926 2 72057594037927937 1 729 2 1 630 730 2 1 650 2322 2 0 144115188075856149 910 3 144115188075856905 1224979098644774912 4112 2105 2 1224979098644774912 1 926 2 144115188075856905 1 940 2 144115188075856915 1585267068834414737 729 2 1 900 730 2 1 25 926 2 144115188075856915 1 2319 1 0 2133 2 1224979098644774914 400 2133 2 1224979098644774915 30 910 3 144115188075856905 0 8192 729 2 1 790 730 2 1 150 926 2 144115188075856905 1 729 2 1 170 730 2 1 1224979098644774914 929 2 144115188075856905 1 945 1 144115188075856905 1 3 936748722493063922 648518346341351424 1 2133 2 1224979098644774916 72057594037927936 2122 3 1224979098644774917 1224979098644774916 1224979098644774915 2111 2 1224979098644774917 1224979098644774914 2106 2 1224979098644774917 1224979098644774915 2133 2 1224979098644774918 0 2133 2 1224979098644774919 0 1650 2 1224979098644774920 648518346341351424 6 3 1224979098644774921 0 1224979098644774920 1652 3 1224979098644774922 648518346341351424 1224979098644774921 1507 1 1224979098644774922 2147485156 1 1224979098644774922 2322 2 1 1224979098644774922 729 2 1 1224979098644774918 730 2 1 1224979098644774917 2106 2 1224979098644774917 1224979098644774915 912 2 72057594037927936 1585267068834416201 926 2 72057594037927936 1 729 2 1 800 730 2 1 800 925 2 72057594037927936 1 500 3 360287970189640740 1224979098644774919 72057594037927936 500 3 360287970189640741 1224979098644774919 1224979098644774922 2105 2 1224979098644774919 1 3 0 945 1 -1 2122 3 1224979098644774923 144115188075856149 2 2105 2 1224979098644774923 1 939 4 72057594037927936 -1 1729382256910270467 1224979098644774923 729 2 1 675 730 2 1 900 925 2 72057594037927936 1 729 2 1 -11 730 2 1 10 926 2 72057594037927936 1 911 2 72057594037927937 1224979098644774913 729 2 1 960 730 2 1 960 925 2 72057594037927937 1 729 2 1 10 730 2 1 15 926 2 72057594037927937 1 2133 2 1224979098644774924 219 2133 2 1224979098644774925 683 2133 2 1224979098644774923 144115188075856149 2133 2 1224979098644774926 360287970189640743 910 3 72057594037927937 1224979098644774912 16 2105 2 1224979098644774912 1 2120 3 1224979098644774918 1224979098644774924 42 2120 3 1224979098644774917 1224979098644774925 -3 729 2 1 1224979098644774918 730 2 1 1224979098644774917 926 2 72057594037927937 1 910 3 72057594037927937 1224979098644774912 16 2105 2 1224979098644774912 1 2120 3 1224979098644774918 1224979098644774924 -98 2120 3 1224979098644774917 1224979098644774925 -3 729 2 1 1224979098644774918 730 2 1 1224979098644774917 926 2 72057594037927937 1 910 3 72057594037927937 1585267068834416531 16 2120 3 1224979098644774918 1224979098644774924 -140 2120 3 1224979098644774917 1224979098644774925 -280 729 2 1 1224979098644774918 730 2 1 1224979098644774917 926 2 72057594037927937 1 2133 2 144115188075856645 -1 2133 2 1224979098644774918 1224979098644774924 2133 2 1224979098644774917 1224979098644774925 6 3 1224979098644774927 0 9 4 0 31 2 1224979098644774927 4 2106 2 1224979098644774918 96 2133 2 1224979098644774917 1224979098644774925 5 0 31 2 1224979098644774927 7 2106 2 1224979098644774918 84 2121 3 1224979098644774917 1224979098644774925 85 5 0 31 2 1224979098644774927 8 2106 2 1224979098644774917 108 3 0 2106 2 1224979098644774917 85 1541 3 1224979098644774928 1224979098644774923 1224979098644774927 4 0 32 2 1224979098644774928 -1 2133 2 1224979098644774929 1441151880758558973 911 2 72057594037927937 1224979098644774929 729 2 1 820 730 2 1 820 925 2 72057594037927937 1 729 2 1 1224979098644774918 730 2 1 1224979098644774917 926 2 72057594037927937 1 3 0 4 0 32 2 1224979098644774928 -1 944 2 72057594037927937 1224979098644774928 729 2 1 800 730 2 1 800 925 2 72057594037927937 1 2120 3 1224979098644774930 1224979098644774918 40 2120 3 1224979098644774931 1224979098644774917 40 729 2 1 1224979098644774930 730 2 1 1224979098644774931 926 2 72057594037927937 1 500 3 1224979098644774926 1224979098644774927 72057594037927937 5 0 500 3 1224979098644774926 1224979098644774927 -1 3 0 3 0 2322 2 1 144115188075856149 910 3 72057594037927936 1 65552 729 2 1 169 730 2 1 237 926 2 72057594037927936 1 921 2 72057594037927936 16777215 1 2 936748722493063893 144115188075856149 2175 3 72057594037927937 144115188075856149 1 2171 2 72057594037927938 144115188075856149 2320 2 1 1224979098644774912 2105 2 1224979098644774912 1 910 3 72057594037927936 1585267068834416201 2048 729 2 1 182 730 2 1 145 926 2 72057594037927936 1 729 2 1 800 730 2 1 800 925 2 72057594037927936 1 2133 2 1224979098644774918 360 2133 2 1224979098644774917 550 910 3 72057594037927937 1585267068834414828 4 2120 3 1224979098644774932 1224979098644774918 10 729 2 1 1224979098644774932 730 2 1 1224979098644774917 926 2 72057594037927937 1 2106 2 1224979098644774917 30 2120 3 1224979098644774933 1224979098644774912 4 6 3 1224979098644774934 0 4 2120 3 1224979098644774935 1224979098644774912 1224979098644774934 2320 2 1 1224979098644774935 2172 3 1224979098644774936 144115188075856149 1224979098644774934 2110 2 1224979098644774936 63 2133 2 72057594037927936 1224979098644774936 2120 3 1224979098644774932 1224979098644774918 10 2120 3 1224979098644774937 1224979098644774917 10 910 3 72057594037927937 1224979098644774933 4 729 2 1 1224979098644774932 730 2 1 1224979098644774937 926 2 72057594037927937 1 729 2 1 600 730 2 1 600 925 2 72057594037927937 1 2120 3 1224979098644774938 1224979098644774918 10 2120 3 1224979098644774939 1224979098644774917 0 911 2 72057594037927937 1441151880758558967 729 2 1 1224979098644774938 730 2 1 1224979098644774939 926 2 72057594037927937 1 729 2 1 6300 730 2 1 400 925 2 72057594037927937 1 921 2 72057594037927937 0 922 2 72057594037927937 34 911 2 72057594037927937 1441151880758558967 729 2 1 1224979098644774938 730 2 1 1224979098644774939 926 2 72057594037927937 1 2122 3 1224979098644774940 1224979098644774936 100 729 2 1 1224979098644774940 730 2 1 400 4 0 31 2 1224979098644774936 0 925 2 72057594037927937 1 5 0 729 2 2 1 730 2 2 400 925 2 72057594037927937 2 936 3 72057594037927937 200 1 3 0 921 2 72057594037927937 51 922 2 72057594037927937 128 2105 2 1224979098644774918 220 4 0 31 2 1224979098644774918 800 2133 2 1224979098644774918 360 2106 2 1224979098644774917 30 3 0 3 0 2105 2 1224979098644774912 5 2106 2 1224979098644774917 30 910 3 72057594037927937 1585267068834414832 4 2120 3 1224979098644774932 1224979098644774918 10 729 2 1 1224979098644774932 730 2 1 1224979098644774917 926 2 72057594037927937 1 2106 2 1224979098644774917 30 2133 2 1224979098644774941 0 2120 3 1224979098644774942 1224979098644774912 8 7 3 1224979098644774943 23 37 1073741855 2 1224979098644774943 36 1073741855 2 1224979098644774943 35 1073741855 2 1224979098644774943 34 1073741855 2 1224979098644774943 33 1073741855 2 1224979098644774943 26 1073741855 2 1224979098644774943 25 1073741855 2 1224979098644774943 24 31 2 1224979098644774943 23 2120 3 1224979098644774935 1224979098644774912 1224979098644774941 2320 2 1 1224979098644774935 2170 3 1224979098644774944 1224979098644774943 144115188075856149 4 0 1073741855 2 1224979098644774943 34 1073741855 2 1224979098644774943 35 1073741855 2 1224979098644774943 33 31 2 1224979098644774943 36 2133 2 1224979098644774945 10 5 0 2133 2 1224979098644774945 10 3 0 2133 2 72057594037927938 1224979098644774944 2133 2 72057594037927939 1224979098644774945 2120 3 1224979098644774932 1224979098644774918 10 2120 3 1224979098644774937 1224979098644774917 10 910 3 72057594037927937 1224979098644774942 4 729 2 1 1224979098644774932 730 2 1 1224979098644774937 926 2 72057594037927937 1 729 2 1 600 730 2 1 600 925 2 72057594037927937 1 2120 3 1224979098644774938 1224979098644774918 10 2120 3 1224979098644774939 1224979098644774917 0 911 2 72057594037927937 1441151880758558967 729 2 1 1224979098644774938 730 2 1 1224979098644774939 926 2 72057594037927937 1 2122 3 1224979098644774940 1224979098644774945 600 729 2 1 1224979098644774940 730 2 1 400 925 2 72057594037927937 1 921 2 72057594037927937 0 922 2 72057594037927937 34 911 2 72057594037927937 1441151880758558967 729 2 1 1224979098644774938 730 2 1 1224979098644774939 926 2 72057594037927937 1 2122 3 1224979098644774940 1224979098644774944 600 729 2 1 1224979098644774940 730 2 1 400 4 0 31 2 1224979098644774944 0 925 2 72057594037927937 1 5 0 729 2 2 1 730 2 2 400 925 2 72057594037927937 2 936 3 72057594037927937 200 1 3 0 921 2 72057594037927937 13056 922 2 72057594037927937 128 2105 2 1224979098644774918 220 4 0 31 2 1224979098644774918 800 2133 2 1224979098644774918 360 2106 2 1224979098644774917 30 3 0 2105 2 1224979098644774941 1 3 0 2105 2 1224979098644774912 9 2106 2 1224979098644774917 30 910 3 72057594037927937 1224979098644774912 4 2105 2 1224979098644774912 1 2120 3 1224979098644774932 1224979098644774918 10 729 2 1 1224979098644774932 730 2 1 1224979098644774917 926 2 72057594037927937 1 2106 2 1224979098644774917 30 2120 3 1224979098644774946 1224979098644774912 7 6 3 1224979098644774947 0 7 2120 3 1224979098644774935 1224979098644774912 1224979098644774947 2320 2 1 1224979098644774935 2176 3 1224979098644774948 144115188075856149 1224979098644774947 2110 2 1224979098644774948 699 2133 2 72057594037927936 1224979098644774948 2120 3 1224979098644774932 1224979098644774918 10 2120 3 1224979098644774937 1224979098644774917 10 910 3 72057594037927937 1224979098644774946 4 729 2 1 1224979098644774932 730 2 1 1224979098644774937 926 2 72057594037927937 1 729 2 1 600 730 2 1 600 925 2 72057594037927937 1 2120 3 1224979098644774938 1224979098644774918 10 2120 3 1224979098644774939 1224979098644774917 0 911 2 72057594037927937 1441151880758558967 729 2 1 1224979098644774938 730 2 1 1224979098644774939 926 2 72057594037927937 1 729 2 1 17475 730 2 1 400 925 2 72057594037927937 1 921 2 72057594037927937 0 922 2 72057594037927937 34 911 2 72057594037927937 1441151880758558967 729 2 1 1224979098644774938 730 2 1 1224979098644774939 926 2 72057594037927937 1 2122 3 1224979098644774940 1224979098644774948 25 729 2 1 1224979098644774940 730 2 1 400 4 0 31 2 1224979098644774948 0 925 2 72057594037927937 1 5 0 729 2 2 1 730 2 2 400 925 2 72057594037927937 2 936 3 72057594037927937 200 1 3 0 921 2 72057594037927937 3342336 922 2 72057594037927937 128 2106 2 1224979098644774917 30 3 0
  133. -63.000000 26 2071 1 1224979098644774912 2072 1 1224979098644774913 4 0 31 2 1224979098644774913 0 6 3 1224979098644774914 0 9 540 3 360287970189640743 1224979098644774914 1224979098644774912 946 2 0 1224979098644774912 1541 3 1224979098644774915 144115188075856149 1224979098644774914 1542 3 1224979098644774916 144115188075856149 1224979098644774914 4 0 32 2 1224979098644774916 0 972 4 1224979098644774915 1224979098644774916 0 100 5 0 970 3 1224979098644774915 0 100 3 0 2133 2 144115188075856645 1224979098644774914 3 0 5 0 6 3 1224979098644774914 0 9 540 3 360287970189640743 1224979098644774914 1224979098644774912 4 0 31 2 144115188075856645 1224979098644774914 971 0 3 0 3 0 3 0
  134. -62.000000 13 2071 1 1224979098644774912 4 0 31 2 1224979098644774912 144115188075856915 902 1 0 3 0 1 3 936748722493063922 648518346341351424 1 2133 2 1224979098644774913 72057594037927936 6 3 1224979098644774914 0 1224979098644774913 540 3 360287970189640740 1224979098644774914 1224979098644774912 520 3 1224979098644774915 360287970189640741 1224979098644774914 2133 2 144115188075856149 1224979098644774915 900 1 1513209474796486717 3 0
  135.  
  136. 4) Add the previous code to the end of the file. Check that before the line there are 2 empty line and after - 1 empty line.
  137.  
  138. ##########################################################################################################
  139. # menus.txt #
  140. ##########################################################################################################
  141.  
  142. 1) Open file menus.txt
  143.  
  144. 2) Find battle_debrief and increase counter (157) to +15
  145. menu_battle_debrief 4608 {s11}^^Your_casualties:{s8}{s10}^^Enemy_casualties:{s9}^^Kill_count:{s12} none 157
  146. And place this code after the counter
  147. 4 0 2147483679 2 144115188075856149 360287970189639680 2175 2 1224979098644774912 360287970189639680 1685 3 1224979098644774913 648518346341351424 9 2107 2 1224979098644774913 5 520 3 1224979098644774914 360287970189640822 0 2147483678 2 1224979098644774912 1224979098644774914 2121 3 1224979098644774915 1224979098644774914 1224979098644774912 2107 2 1224979098644774915 1224979098644774913 2108 2 1224979098644774915 100 2105 2 1224979098644774915 1224979098644774912 1560 2 360287970189639680 1224979098644774915 3 0 2133 2 144115188075856149 360287970189639680 47 1 360287970189639680
  148.  
  149. 3) Find menu_besiegers_camp_with_allies and increase counter +1 in the end of this line
  150. Add place cursor before mno_join_siege_with_allies and insert code with 2 spaces after the dot in the end:
  151. mno_change_commander_besiegers_camp_with_allies 5 1 3 936748722493063922 648518346341351424 0 2133 2 1224979098644774912 72057594037927936 32 2 1224979098644774912 1 2322 2 7 144115188075856149 47 1 144115188075856149 Change_commander({s7}). 1 900 1 1513209474796486717 .
  152.  
  153. 4) Find menu_simple_encounter and increase counter +1 in the end of this line
  154. Add place cursor before mno_encounter_attack and insert code with 2 spaces after the dot in the end:
  155. mno_change_commander_simple_encounter 5 1 3 936748722493063922 648518346341351424 0 2133 2 1224979098644774912 72057594037927936 32 2 1224979098644774912 1 2322 2 7 144115188075856149 47 1 144115188075856149 Change_commander.({s7}) 1 900 1 1513209474796486717 .
  156.  
  157. 5) Find menu_join_battle and increase counter +1 in the end of this line
  158. Add place cursor before mno_join_attack and insert code with 2 spaces after the dot in the end:
  159. mno_change_commander_join_battle 5 1 3 936748722493063922 648518346341351424 0 2133 2 1224979098644774912 72057594037927936 32 2 1224979098644774912 1 2322 2 7 144115188075856149 47 1 144115188075856149 Change_commander.({s7}) 1 900 1 1513209474796486717 .
  160.  
  161. 6) Find menu_castle_besiege and increase counter +1 in the end of this line
  162. Add place cursor before mno_castle_lead_attack and insert code with 2 spaces after the dot in the end:
  163. mno_change_commander_castle_besiege 8 30 2 144115188075856226 1 2270 1 1224979098644774912 30 2 1224979098644774912 144115188075856230 1 3 936748722493063922 648518346341351424 0 2133 2 1224979098644774913 72057594037927936 32 2 1224979098644774913 1 2322 2 7 144115188075856149 47 1 144115188075856149 Change_commander.(Current_commander:_{s7}) 1 900 1 1513209474796486717 .
  164.  
  165. 7) Find menu_siege_started_defender and increase counter +1 in the end of this line
  166. Add place cursor before mno_siege_defender_join_battle and insert code with 2 spaces after the dot in the end:
  167. mno_change_commander_siege_defender 5 1 3 936748722493063922 648518346341351424 0 2133 2 1224979098644774912 72057594037927936 32 2 1224979098644774912 1 2322 2 7 144115188075856149 47 1 144115188075856149 Change_commander.(Current_commander:_{s7}) 1 900 1 1513209474796486717 .
  168.  
  169.  
  170.  
  171.  
  172.  
RAW Paste Data