SP Native Minimod: Companion Export & Banner Edit (respec companions) updated 4/24

Users who are viewing this thread

Tuco said:
Note that for me in PoP 3.6 the starting id was 59 instead of 154. For posterity the way I found it out was to see what character was present in the menu and then use Morgh's editor to find its ID. (ex: when I used 154 I got Lord Hraven the Bold, whose id was 494. Adonja, the first companion, has an ID of 399, which is 95 less than 494. I subtracted 95 from 154 to get 59 and it worked.)

Yep, mine was for 3.51, thanks for doing the legwork for 3.6, I never got around to it since I had to start a new game and I just zeroed out the character stats with Morgh's ^-^ That's how I did all the 3.x, using Morgh to look for 'NPC' and deducing the ID# that way.
 
Found it it was under recruit prisoners menu...weird thing happened though i found a test menu for pop 3.6 it let you spawn hero npc , fast equip your order and a lot of cool stuff...but since the change didnt allow me to enter cities I had to revert back to the original menus.txt.....
 
Thanks for this.. I totally ruined my parties skills for the same reason as everyone else. I thought party skill meant they stack. This saved me from going through the rest of the game with a ****ty party lol. Cheers!

Asphe said:
bigtoebubby said:
In a comparison with what's different in menus.txt for 1.112 and the one for your character export, I've found what has txt has been added. Do you really need to edit quick_strings.txt and scripts.txt for this? or are those two files changed for the banner repicker?

edit: sweet!!! ive found a temp way for it to work in 1.112 as well. it's all in menus.txt but i moved things around. will post in a sec

WARNING: This text change is not ready-playable as you won't be able to enter towns. You can use it temporarily to export/import your companions as necessary but be sure to restore your menus.txt file to ithe original once you're done.

Change these values for menus.txt
First Add 2 to the number at the top of this file. So if it's 217, change it to 219

Search for menu_camp_action
Add 1 to the last number in this short line. So if it is 6, change it to 7

Search for mno_action_rename_kingdom
Paste this right before it. Be mindful of spacing so that it's even like the other strings in the same line
mno_action_export_import  0  Export/import_NPCs.  1 2060 1 864691128455135260  . 

It should look something like this:
menu_camp_action 0 Choose_an_action: none 0 7
mno_camp_recruit_prisoners  10 105 1 1 2270 1 1224979098644774912 2106 2 1224979098644774912 24 32 2 1224979098644774912 144115188075856187 4 0 32 2 144115188075856187 0 2133 2 144115188075856185 0 2133 2 144115188075856186 0 2133 2 144115188075856187 0 3 0  Recruit_some_of_your_prisoners_to_your_party.  1 2060 1 864691128455135262  .  mno_action_read_book  0  Select_a_book_to_read.  1 2060 1 864691128455135264  .  mno_action_export_import  0  Export/import_NPCs.  1 2060 1 864691128455135260  .  mno_action_rename_kingdom  1 31 2 144115188075856576 1  Rename_your_kingdom.  1 900 1 1513209474796486683  .  mno_action_modify_banner  1 31 2 144115188075856163 1  {!}Cheat:_Modify_your_banner.  1 900 1 1513209474796486684  .  mno_action_retire  0  Retire_from_adventuring.  1 2060 1 864691128455135266  .  mno_camp_action_4  0  Back_to_camp_menu.  1 2060 1 864691128455135255  .
Blue is the first change we did
Green is what you need to add
Red: Replace this with "0" to unlock modifying banner (already scripted in the game via cheat menu, but now freely accessible)
Orange: Delete this if you so desire :smile:


Finally paste this code above the line for menu_camp_recruit_prisoners
Code:
menu_export_import_npcs 256 Please_choose_an_NPC,_then_press_key_C_to_view_and_export/import_this_character.^^You_choose_{reg0?{s0}:none}. none 2 2133 2 72057594037927936 144115188075856169 2322 2 0 144115188075856169 10
 mno_export_import_back  0  Go_back  3 2133 2 144115188075856169 360287970189639680 47 1 144115188075856169 2060 1 864691128455135259  .  mno_export_import_npc1  2 2120 3 1224979098644774912 360287970189639874 0 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 0 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc2  2 2120 3 1224979098644774912 360287970189639874 1 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 1 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc3  2 2120 3 1224979098644774912 360287970189639874 2 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 2 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc4  2 2120 3 1224979098644774912 360287970189639874 3 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 3 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc5  2 2120 3 1224979098644774912 360287970189639874 4 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 4 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc6  2 2120 3 1224979098644774912 360287970189639874 5 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 5 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc7  2 2120 3 1224979098644774912 360287970189639874 6 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 6 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc8  2 2120 3 1224979098644774912 360287970189639874 7 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 7 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_next  0  Next_page  1 2060 1 864691128455135261  . 
menu_export_import_npcs_2 256 Please_choose_an_NPC,_then_press_key_C_to_view_and_export/import_this_character.^^You_choose_{reg0?{s0}:none}. none 2 2133 2 72057594037927936 144115188075856169 2322 2 0 144115188075856169 9
 mno_export_import_prev  0  Previous_page  1 2060 1 864691128455135260  .  mno_export_import_npc9  2 2120 3 1224979098644774912 360287970189639874 8 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 8 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc10  2 2120 3 1224979098644774912 360287970189639874 9 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 9 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc11  2 2120 3 1224979098644774912 360287970189639874 10 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 10 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc12  2 2120 3 1224979098644774912 360287970189639874 11 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 11 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc13  2 2120 3 1224979098644774912 360287970189639874 12 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 12 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc14  2 2120 3 1224979098644774912 360287970189639874 13 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 13 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc15  2 2120 3 1224979098644774912 360287970189639874 14 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 14 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc16  2 2120 3 1224979098644774912 360287970189639874 15 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 15 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .

If someone is doing this for POP 3.51, add 154 to the npc troop ID number in the last section of code from bigtoebubby's above post.

You have to make the changes in 3 spots.

i) npcX (X = 1 to 16, you can increase the range to fit. POP has 20 npcs, so you might want to add npc17, npc18, npc19 and npc20)
ii) the troopID just in front of '2322' and '2133'

original Warband
mno_export_import_npc1  2 2120 3 1224979098644774912 360287970189639874 0 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 0 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .

POP 3.51 version
mno_export_import_npc1  2 2120 3 1224979098644774912 360287970189639874 154 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 154 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .

npc2 => 155, npc3 => 156 and so on.

I found this useful so I could drop back all my companion level/stats back to 1 ^-^

PS If you're using plain Windows notepad, don't forget to turn off word-wrap before editing
 
bigtoebuddy got the menu id wrong. That is why people cannot enter the town, and the strange cheat menu may show up in the game.
The correct process should be (I use Prophesy of Pendor 3.611 as an example):

[list type=decimal]
[*]First Add 2 to the number at the top of this file. So if it's 273, change it to 275.
The number indicates the number of menus in this file.

[*]Search for menu_camp_action.
  Add 1 to the last number in this short line. So if it is 8, change it to 9
[*]Search for mno_action_rename_kingdom
  Paste this right before it. Be mindful of spacing so that it's even like the other strings in the same line
[/list]
It should look something like this:
menu_camp_action 0 Choose_an_action: none 0 9
mno_camp_recruit_prisoners  11 105 1 1 2270 1 1224979098644774912 2106 2 1224979098644774912 24 32 2 1224979098644774912 144115188075856176 4 0 32 2 144115188075856176 0 2133 2 144115188075856174 0 2133 2 144115188075856175 0 2133 2 144115188075856176 0 3 0 2147483848 1 504403158265495618 Recruit_some_of_your_prisoners_to_your_party.  1 2060 1 864691128455135289  .  mno_action_read_book  0  Select_a_book_to_read.  1 2060 1 864691128455135291 .  mno_action_rename_party  0  Rename_your_party.  1 900 1 1513209474796486683 .  mno_action_export_import  0  Export/import_NPCs.  1 2060 1 864691128455135505  .  mno_action_rename_kingdom  3 31 2 144115188075856725 1 542 3 432345564227567630 21 0 542 3 432345564227567630 11 360287970189639680  Rename_your_kingdom.  1 900 1 1513209474796486685  .  mno_action_rename_order  1 31 2 144115188075856730 1  Rename_your_Order.  2 2060 1 864691128455135461 2133 2 144115188075856061 -1  .  mno_action_modify_banner  2 520 3 1224979098644774912 360287970189639680 13 32 2 1224979098644774912 0  Modify_your_banner.  1 900 1 1513209474796486687  .  mno_action_retire  0  Retire_from_adventuring.  1 2060 1 864691128455135293  .  mno_camp_action_4  0  Back_to_camp_menu.  1 2060 1 864691128455135259  .
Note that there should be two spaces in front of the green text.

The value of red text is the menu id of the first "Export/import NPCs" menu.
The menu id begins from 0xC00000000000000.
Since we are going to add the menus at the bottom of the file, the menu id of the first menu should be 0xC00000000000000 + 273 = 0xC00000000000000 + 0x111 =  0xC00000000000111 = 864691128455135505.


Then we adds two menus (4 lines) at the bottom of the file:
menu_export_import_npcs 256 Please_choose_an_NPC,_then_press_key_C_to_view_and_export/import_this_character.^^You_choose_{reg0?{s0}:none}. none 2 2133 2 72057594037927936 144115188075856169 2322 2 0 144115188075856169 15
mno_export_import_back  0  Go_back  3 2133 2 144115188075856169 360287970189639680 47 1 144115188075856169 2060 1 864691128455135259  .  mno_export_import_npc1  2 2120 3 1224979098644774912 360287970189640020 59 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 59 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc2  2 2120 3 1224979098644774912 360287970189640020 60 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 60 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc3  2 2120 3 1224979098644774912 360287970189640020 61 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 61 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc4  2 2120 3 1224979098644774912 360287970189640020 62 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 62 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc5  2 2120 3 1224979098644774912 360287970189640020 63 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 63 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc6  2 2120 3 1224979098644774912 360287970189640020 64 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 64 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc7  2 2120 3 1224979098644774912 360287970189640020 65 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 65 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc8  2 2120 3 1224979098644774912 360287970189640020 66 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 66 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc9  2 2120 3 1224979098644774912 360287970189640020 67 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 67 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc10  2 2120 3 1224979098644774912 360287970189640020 68 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 68 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc11  2 2120 3 1224979098644774912 360287970189640020 69 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 69 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc12  2 2120 3 1224979098644774912 360287970189640020 70 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 70 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc13  2 2120 3 1224979098644774912 360287970189640020 71 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 71 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_next  0  Next_page  1 2060 1 864691128455135506  .
menu_export_import_npcs_2 256 Please_choose_an_NPC,_then_press_key_C_to_view_and_export/import_this_character.^^You_choose_{reg0?{s0}:none}. none 2 2133 2 72057594037927936 144115188075856169 2322 2 0 144115188075856169 14
mno_export_import_prev  0  Previous_page  1 2060 1 864691128455135505  .  mno_export_import_npc14  2 2120 3 1224979098644774912 360287970189640020 72 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 72 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc15  2 2120 3 1224979098644774912 360287970189640020 73 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 73 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc16  2 2120 3 1224979098644774912 360287970189640020 74 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 74 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc17  2 2120 3 1224979098644774912 360287970189640020 75 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 75 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc18  2 2120 3 1224979098644774912 360287970189640020 76 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 76 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc19  2 2120 3 1224979098644774912 360287970189640020 77 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 77 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc20  2 2120 3 1224979098644774912 360287970189640020 78 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 78 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc21  2 2120 3 1224979098644774912 360287970189640020 79 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 79 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc22  2 2120 3 1224979098644774912 360287970189640020 21 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 21 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc23  2 2120 3 1224979098644774912 360287970189640020 22 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 22 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc24  2 2120 3 1224979098644774912 360287970189640020 23 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 23 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc25  2 2120 3 1224979098644774912 360287970189640020 24 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 24 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc26  2 2120 3 1224979098644774912 360287970189640020 25 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 25 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .

The purple text is the menu id of camp menu. You can get its value at the end of "Back_to_camp_menu."
The green text is the menu id of "Export/Import NPC " page 2, which is the last menu. The menu id should be 0xC00000000000000 + 273 + 1 = 0xC00000000000000 + 0x112 =  0xC00000000000112 = 864691128455135506.
The red text is the menu id of "Export/Import NPC " page 1, which is 864691128455135505 as we computed before.

The actual code I am using for Pendor 3.611:
Code:
menu_export_import_npcs 256 Please_choose_an_NPC,_then_press_key_C_to_view_and_export/import_this_character.^^You_choose_{reg0?{s0}:none}. none 2 2133 2 72057594037927936 144115188075856169 2322 2 0 144115188075856169 15
 mno_export_import_back  0  Go_back  3 2133 2 144115188075856169 360287970189639680 47 1 144115188075856169 2060 1 864691128455135259  .  mno_export_import_npc1  2 2120 3 1224979098644774912 360287970189640020 59 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 59 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc2  2 2120 3 1224979098644774912 360287970189640020 60 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 60 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc3  2 2120 3 1224979098644774912 360287970189640020 61 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 61 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc4  2 2120 3 1224979098644774912 360287970189640020 62 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 62 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc5  2 2120 3 1224979098644774912 360287970189640020 63 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 63 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc6  2 2120 3 1224979098644774912 360287970189640020 64 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 64 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc7  2 2120 3 1224979098644774912 360287970189640020 65 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 65 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc8  2 2120 3 1224979098644774912 360287970189640020 66 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 66 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc9  2 2120 3 1224979098644774912 360287970189640020 67 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 67 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc10  2 2120 3 1224979098644774912 360287970189640020 68 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 68 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc11  2 2120 3 1224979098644774912 360287970189640020 69 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 69 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc12  2 2120 3 1224979098644774912 360287970189640020 70 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 70 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc13  2 2120 3 1224979098644774912 360287970189640020 71 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 71 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_next  0  Next_page  1 2060 1 864691128455135506  . 
menu_export_import_npcs_2 256 Please_choose_an_NPC,_then_press_key_C_to_view_and_export/import_this_character.^^You_choose_{reg0?{s0}:none}. none 2 2133 2 72057594037927936 144115188075856169 2322 2 0 144115188075856169 14
 mno_export_import_prev  0  Previous_page  1 2060 1 864691128455135505  .  mno_export_import_npc14  2 2120 3 1224979098644774912 360287970189640020 72 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 72 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc15  2 2120 3 1224979098644774912 360287970189640020 73 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 73 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc16  2 2120 3 1224979098644774912 360287970189640020 74 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 74 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc17  2 2120 3 1224979098644774912 360287970189640020 75 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 75 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc18  2 2120 3 1224979098644774912 360287970189640020 76 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 76 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc19  2 2120 3 1224979098644774912 360287970189640020 77 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 77 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc20  2 2120 3 1224979098644774912 360287970189640020 78 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 78 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc21  2 2120 3 1224979098644774912 360287970189640020 79 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 79 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc22  2 2120 3 1224979098644774912 360287970189640020 21 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 21 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc23  2 2120 3 1224979098644774912 360287970189640020 22 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 22 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc24  2 2120 3 1224979098644774912 360287970189640020 23 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 23 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc25  2 2120 3 1224979098644774912 360287970189640020 24 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 24 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc26  2 2120 3 1224979098644774912 360287970189640020 25 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 25 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .

You need to modify the troopID just in front of '2322' and '2133' as well. Please refer to Asphe's post below, I don't repeat it here.

Asphe said:
bigtoebubby said:
In a comparison with what's different in menus.txt for 1.112 and the one for your character export, I've found what has txt has been added. Do you really need to edit quick_strings.txt and scripts.txt for this? or are those two files changed for the banner repicker?

edit: sweet!!! ive found a temp way for it to work in 1.112 as well. it's all in menus.txt but i moved things around. will post in a sec

WARNING: This text change is not ready-playable as you won't be able to enter towns. You can use it temporarily to export/import your companions as necessary but be sure to restore your menus.txt file to ithe original once you're done.

Change these values for menus.txt
First Add 2 to the number at the top of this file. So if it's 217, change it to 219

Search for menu_camp_action
Add 1 to the last number in this short line. So if it is 6, change it to 7

Search for mno_action_rename_kingdom
Paste this right before it. Be mindful of spacing so that it's even like the other strings in the same line
mno_action_export_import  0  Export/import_NPCs.  1 2060 1 864691128455135260  . 

It should look something like this:
menu_camp_action 0 Choose_an_action: none 0 7
mno_camp_recruit_prisoners  10 105 1 1 2270 1 1224979098644774912 2106 2 1224979098644774912 24 32 2 1224979098644774912 144115188075856187 4 0 32 2 144115188075856187 0 2133 2 144115188075856185 0 2133 2 144115188075856186 0 2133 2 144115188075856187 0 3 0  Recruit_some_of_your_prisoners_to_your_party.  1 2060 1 864691128455135262  .  mno_action_read_book  0  Select_a_book_to_read.  1 2060 1 864691128455135264  .  mno_action_export_import  0  Export/import_NPCs.  1 2060 1 864691128455135260  .  mno_action_rename_kingdom  1 31 2 144115188075856576 1  Rename_your_kingdom.  1 900 1 1513209474796486683  .  mno_action_modify_banner  1 31 2 144115188075856163 1  {!}Cheat:_Modify_your_banner.  1 900 1 1513209474796486684  .  mno_action_retire  0  Retire_from_adventuring.  1 2060 1 864691128455135266  .  mno_camp_action_4  0  Back_to_camp_menu.  1 2060 1 864691128455135255  .
Blue is the first change we did
Green is what you need to add
Red: Replace this with "0" to unlock modifying banner (already scripted in the game via cheat menu, but now freely accessible)
Orange: Delete this if you so desire :smile:


Finally paste this code above the line for menu_camp_recruit_prisoners
Code:
menu_export_import_npcs 256 Please_choose_an_NPC,_then_press_key_C_to_view_and_export/import_this_character.^^You_choose_{reg0?{s0}:none}. none 2 2133 2 72057594037927936 144115188075856169 2322 2 0 144115188075856169 10
 mno_export_import_back  0  Go_back  3 2133 2 144115188075856169 360287970189639680 47 1 144115188075856169 2060 1 864691128455135259  .  mno_export_import_npc1  2 2120 3 1224979098644774912 360287970189639874 0 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 0 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc2  2 2120 3 1224979098644774912 360287970189639874 1 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 1 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc3  2 2120 3 1224979098644774912 360287970189639874 2 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 2 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc4  2 2120 3 1224979098644774912 360287970189639874 3 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 3 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc5  2 2120 3 1224979098644774912 360287970189639874 4 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 4 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc6  2 2120 3 1224979098644774912 360287970189639874 5 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 5 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc7  2 2120 3 1224979098644774912 360287970189639874 6 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 6 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc8  2 2120 3 1224979098644774912 360287970189639874 7 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 7 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_next  0  Next_page  1 2060 1 864691128455135261  . 
menu_export_import_npcs_2 256 Please_choose_an_NPC,_then_press_key_C_to_view_and_export/import_this_character.^^You_choose_{reg0?{s0}:none}. none 2 2133 2 72057594037927936 144115188075856169 2322 2 0 144115188075856169 9
 mno_export_import_prev  0  Previous_page  1 2060 1 864691128455135260  .  mno_export_import_npc9  2 2120 3 1224979098644774912 360287970189639874 8 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 8 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc10  2 2120 3 1224979098644774912 360287970189639874 9 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 9 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc11  2 2120 3 1224979098644774912 360287970189639874 10 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 10 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc12  2 2120 3 1224979098644774912 360287970189639874 11 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 11 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc13  2 2120 3 1224979098644774912 360287970189639874 12 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 12 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc14  2 2120 3 1224979098644774912 360287970189639874 13 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 13 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc15  2 2120 3 1224979098644774912 360287970189639874 14 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 14 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc16  2 2120 3 1224979098644774912 360287970189639874 15 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 15 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .

If someone is doing this for POP 3.51, add 154 to the npc troop ID number in the last section of code from bigtoebubby's above post.

You have to make the changes in 3 spots.

i) npcX (X = 1 to 16, you can increase the range to fit. POP has 20 npcs, so you might want to add npc17, npc18, npc19 and npc20)
ii) the troopID just in front of '2322' and '2133'

original Warband
mno_export_import_npc1  2 2120 3 1224979098644774912 360287970189639874 0 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 0 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .

POP 3.51 version
mno_export_import_npc1  2 2120 3 1224979098644774912 360287970189639874 154 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 154 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .

npc2 => 155, npc3 => 156 and so on.

I found this useful so I could drop back all my companion level/stats back to 1 ^-^

PS If you're using plain Windows notepad, don't forget to turn off word-wrap before editing
 
Hi, I'm playing Warband Native 1.153 and I want to edit my companions to make an army of gods. Can someone please upload a menu.txt file with which I can export and import my npcs. Thanks in advance.
 
Since the DL is dead and the mod is only a .txt file I thought I would upload it:

Readme: http://puu.sh/ldGUP/43c50aa37f.txt

'menus.txt' mod file:  http://puu.sh/ldGUq/f11e9e0254.txt
 
lono175 said:
bigtoebuddy got the menu id wrong. That is why people cannot enter the town, and the strange cheat menu may show up in the game.
The correct process should be (I use Prophesy of Pendor 3.611 as an example):

[list type=decimal]
[*]First Add 2 to the number at the top of this file. So if it's 273, change it to 275.
The number indicates the number of menus in this file.

[*]Search for menu_camp_action.
  Add 1 to the last number in this short line. So if it is 8, change it to 9
[*]Search for mno_action_rename_kingdom
  Paste this right before it. Be mindful of spacing so that it's even like the other strings in the same line
[/list]
It should look something like this:
menu_camp_action 0 Choose_an_action: none 0 9
mno_camp_recruit_prisoners  11 105 1 1 2270 1 1224979098644774912 2106 2 1224979098644774912 24 32 2 1224979098644774912 144115188075856176 4 0 32 2 144115188075856176 0 2133 2 144115188075856174 0 2133 2 144115188075856175 0 2133 2 144115188075856176 0 3 0 2147483848 1 504403158265495618 Recruit_some_of_your_prisoners_to_your_party.  1 2060 1 864691128455135289  .  mno_action_read_book  0  Select_a_book_to_read.  1 2060 1 864691128455135291 .  mno_action_rename_party  0  Rename_your_party.  1 900 1 1513209474796486683 .  mno_action_export_import  0  Export/import_NPCs.  1 2060 1 864691128455135505  .  mno_action_rename_kingdom  3 31 2 144115188075856725 1 542 3 432345564227567630 21 0 542 3 432345564227567630 11 360287970189639680  Rename_your_kingdom.  1 900 1 1513209474796486685  .  mno_action_rename_order  1 31 2 144115188075856730 1  Rename_your_Order.  2 2060 1 864691128455135461 2133 2 144115188075856061 -1  .  mno_action_modify_banner  2 520 3 1224979098644774912 360287970189639680 13 32 2 1224979098644774912 0  Modify_your_banner.  1 900 1 1513209474796486687  .  mno_action_retire  0  Retire_from_adventuring.  1 2060 1 864691128455135293  .  mno_camp_action_4  0  Back_to_camp_menu.  1 2060 1 864691128455135259  .
Note that there should be two spaces in front of the green text.

The value of red text is the menu id of the first "Export/import NPCs" menu.
The menu id begins from 0xC00000000000000.
Since we are going to add the menus at the bottom of the file, the menu id of the first menu should be 0xC00000000000000 + 273 = 0xC00000000000000 + 0x111 =  0xC00000000000111 = 864691128455135505.


Then we adds two menus (4 lines) at the bottom of the file:
menu_export_import_npcs 256 Please_choose_an_NPC,_then_press_key_C_to_view_and_export/import_this_character.^^You_choose_{reg0?{s0}:none}. none 2 2133 2 72057594037927936 144115188075856169 2322 2 0 144115188075856169 15
mno_export_import_back  0  Go_back  3 2133 2 144115188075856169 360287970189639680 47 1 144115188075856169 2060 1 864691128455135259  .  mno_export_import_npc1  2 2120 3 1224979098644774912 360287970189640020 59 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 59 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc2  2 2120 3 1224979098644774912 360287970189640020 60 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 60 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc3  2 2120 3 1224979098644774912 360287970189640020 61 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 61 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc4  2 2120 3 1224979098644774912 360287970189640020 62 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 62 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc5  2 2120 3 1224979098644774912 360287970189640020 63 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 63 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc6  2 2120 3 1224979098644774912 360287970189640020 64 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 64 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc7  2 2120 3 1224979098644774912 360287970189640020 65 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 65 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc8  2 2120 3 1224979098644774912 360287970189640020 66 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 66 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc9  2 2120 3 1224979098644774912 360287970189640020 67 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 67 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc10  2 2120 3 1224979098644774912 360287970189640020 68 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 68 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc11  2 2120 3 1224979098644774912 360287970189640020 69 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 69 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc12  2 2120 3 1224979098644774912 360287970189640020 70 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 70 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc13  2 2120 3 1224979098644774912 360287970189640020 71 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 71 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_next  0  Next_page  1 2060 1 864691128455135506  .
menu_export_import_npcs_2 256 Please_choose_an_NPC,_then_press_key_C_to_view_and_export/import_this_character.^^You_choose_{reg0?{s0}:none}. none 2 2133 2 72057594037927936 144115188075856169 2322 2 0 144115188075856169 14
mno_export_import_prev  0  Previous_page  1 2060 1 864691128455135505  .  mno_export_import_npc14  2 2120 3 1224979098644774912 360287970189640020 72 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 72 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc15  2 2120 3 1224979098644774912 360287970189640020 73 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 73 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc16  2 2120 3 1224979098644774912 360287970189640020 74 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 74 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc17  2 2120 3 1224979098644774912 360287970189640020 75 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 75 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc18  2 2120 3 1224979098644774912 360287970189640020 76 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 76 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc19  2 2120 3 1224979098644774912 360287970189640020 77 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 77 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc20  2 2120 3 1224979098644774912 360287970189640020 78 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 78 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc21  2 2120 3 1224979098644774912 360287970189640020 79 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 79 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc22  2 2120 3 1224979098644774912 360287970189640020 21 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 21 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc23  2 2120 3 1224979098644774912 360287970189640020 22 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 22 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc24  2 2120 3 1224979098644774912 360287970189640020 23 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 23 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc25  2 2120 3 1224979098644774912 360287970189640020 24 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 24 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc26  2 2120 3 1224979098644774912 360287970189640020 25 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 25 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .

The purple text is the menu id of camp menu. You can get its value at the end of "Back_to_camp_menu."
The green text is the menu id of "Export/Import NPC " page 2, which is the last menu. The menu id should be 0xC00000000000000 + 273 + 1 = 0xC00000000000000 + 0x112 =  0xC00000000000112 = 864691128455135506.
The red text is the menu id of "Export/Import NPC " page 1, which is 864691128455135505 as we computed before.

The actual code I am using for Pendor 3.611:
Code:
menu_export_import_npcs 256 Please_choose_an_NPC,_then_press_key_C_to_view_and_export/import_this_character.^^You_choose_{reg0?{s0}:none}. none 2 2133 2 72057594037927936 144115188075856169 2322 2 0 144115188075856169 15
 mno_export_import_back  0  Go_back  3 2133 2 144115188075856169 360287970189639680 47 1 144115188075856169 2060 1 864691128455135259  .  mno_export_import_npc1  2 2120 3 1224979098644774912 360287970189640020 59 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 59 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc2  2 2120 3 1224979098644774912 360287970189640020 60 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 60 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc3  2 2120 3 1224979098644774912 360287970189640020 61 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 61 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc4  2 2120 3 1224979098644774912 360287970189640020 62 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 62 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc5  2 2120 3 1224979098644774912 360287970189640020 63 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 63 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc6  2 2120 3 1224979098644774912 360287970189640020 64 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 64 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc7  2 2120 3 1224979098644774912 360287970189640020 65 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 65 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc8  2 2120 3 1224979098644774912 360287970189640020 66 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 66 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc9  2 2120 3 1224979098644774912 360287970189640020 67 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 67 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc10  2 2120 3 1224979098644774912 360287970189640020 68 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 68 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc11  2 2120 3 1224979098644774912 360287970189640020 69 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 69 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc12  2 2120 3 1224979098644774912 360287970189640020 70 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 70 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc13  2 2120 3 1224979098644774912 360287970189640020 71 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 71 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_next  0  Next_page  1 2060 1 864691128455135506  . 
menu_export_import_npcs_2 256 Please_choose_an_NPC,_then_press_key_C_to_view_and_export/import_this_character.^^You_choose_{reg0?{s0}:none}. none 2 2133 2 72057594037927936 144115188075856169 2322 2 0 144115188075856169 14
 mno_export_import_prev  0  Previous_page  1 2060 1 864691128455135505  .  mno_export_import_npc14  2 2120 3 1224979098644774912 360287970189640020 72 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 72 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc15  2 2120 3 1224979098644774912 360287970189640020 73 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 73 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc16  2 2120 3 1224979098644774912 360287970189640020 74 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 74 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc17  2 2120 3 1224979098644774912 360287970189640020 75 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 75 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc18  2 2120 3 1224979098644774912 360287970189640020 76 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 76 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc19  2 2120 3 1224979098644774912 360287970189640020 77 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 77 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc20  2 2120 3 1224979098644774912 360287970189640020 78 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 78 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc21  2 2120 3 1224979098644774912 360287970189640020 79 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 79 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc22  2 2120 3 1224979098644774912 360287970189640020 21 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 21 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc23  2 2120 3 1224979098644774912 360287970189640020 22 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 22 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc24  2 2120 3 1224979098644774912 360287970189640020 23 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 23 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc25  2 2120 3 1224979098644774912 360287970189640020 24 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 24 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc26  2 2120 3 1224979098644774912 360287970189640020 25 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189640020 25 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .

You need to modify the troopID just in front of '2322' and '2133' as well. Please refer to Asphe's post below, I don't repeat it here.

Asphe said:
bigtoebubby said:
In a comparison with what's different in menus.txt for 1.112 and the one for your character export, I've found what has txt has been added. Do you really need to edit quick_strings.txt and scripts.txt for this? or are those two files changed for the banner repicker?

edit: sweet!!! ive found a temp way for it to work in 1.112 as well. it's all in menus.txt but i moved things around. will post in a sec

WARNING: This text change is not ready-playable as you won't be able to enter towns. You can use it temporarily to export/import your companions as necessary but be sure to restore your menus.txt file to ithe original once you're done.

Change these values for menus.txt
First Add 2 to the number at the top of this file. So if it's 217, change it to 219

Search for menu_camp_action
Add 1 to the last number in this short line. So if it is 6, change it to 7

Search for mno_action_rename_kingdom
Paste this right before it. Be mindful of spacing so that it's even like the other strings in the same line
mno_action_export_import  0  Export/import_NPCs.  1 2060 1 864691128455135260  . 

It should look something like this:
menu_camp_action 0 Choose_an_action: none 0 7
mno_camp_recruit_prisoners  10 105 1 1 2270 1 1224979098644774912 2106 2 1224979098644774912 24 32 2 1224979098644774912 144115188075856187 4 0 32 2 144115188075856187 0 2133 2 144115188075856185 0 2133 2 144115188075856186 0 2133 2 144115188075856187 0 3 0  Recruit_some_of_your_prisoners_to_your_party.  1 2060 1 864691128455135262  .  mno_action_read_book  0  Select_a_book_to_read.  1 2060 1 864691128455135264  .  mno_action_export_import  0  Export/import_NPCs.  1 2060 1 864691128455135260  .  mno_action_rename_kingdom  1 31 2 144115188075856576 1  Rename_your_kingdom.  1 900 1 1513209474796486683  .  mno_action_modify_banner  1 31 2 144115188075856163 1  {!}Cheat:_Modify_your_banner.  1 900 1 1513209474796486684  .  mno_action_retire  0  Retire_from_adventuring.  1 2060 1 864691128455135266  .  mno_camp_action_4  0  Back_to_camp_menu.  1 2060 1 864691128455135255  .
Blue is the first change we did
Green is what you need to add
Red: Replace this with "0" to unlock modifying banner (already scripted in the game via cheat menu, but now freely accessible)
Orange: Delete this if you so desire :smile:


Finally paste this code above the line for menu_camp_recruit_prisoners
Code:
menu_export_import_npcs 256 Please_choose_an_NPC,_then_press_key_C_to_view_and_export/import_this_character.^^You_choose_{reg0?{s0}:none}. none 2 2133 2 72057594037927936 144115188075856169 2322 2 0 144115188075856169 10
 mno_export_import_back  0  Go_back  3 2133 2 144115188075856169 360287970189639680 47 1 144115188075856169 2060 1 864691128455135259  .  mno_export_import_npc1  2 2120 3 1224979098644774912 360287970189639874 0 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 0 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc2  2 2120 3 1224979098644774912 360287970189639874 1 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 1 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc3  2 2120 3 1224979098644774912 360287970189639874 2 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 2 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc4  2 2120 3 1224979098644774912 360287970189639874 3 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 3 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc5  2 2120 3 1224979098644774912 360287970189639874 4 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 4 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc6  2 2120 3 1224979098644774912 360287970189639874 5 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 5 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc7  2 2120 3 1224979098644774912 360287970189639874 6 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 6 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc8  2 2120 3 1224979098644774912 360287970189639874 7 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 7 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_next  0  Next_page  1 2060 1 864691128455135261  . 
menu_export_import_npcs_2 256 Please_choose_an_NPC,_then_press_key_C_to_view_and_export/import_this_character.^^You_choose_{reg0?{s0}:none}. none 2 2133 2 72057594037927936 144115188075856169 2322 2 0 144115188075856169 9
 mno_export_import_prev  0  Previous_page  1 2060 1 864691128455135260  .  mno_export_import_npc9  2 2120 3 1224979098644774912 360287970189639874 8 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 8 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc10  2 2120 3 1224979098644774912 360287970189639874 9 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 9 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc11  2 2120 3 1224979098644774912 360287970189639874 10 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 10 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc12  2 2120 3 1224979098644774912 360287970189639874 11 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 11 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc13  2 2120 3 1224979098644774912 360287970189639874 12 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 12 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc14  2 2120 3 1224979098644774912 360287970189639874 13 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 13 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc15  2 2120 3 1224979098644774912 360287970189639874 14 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 14 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .  mno_export_import_npc16  2 2120 3 1224979098644774912 360287970189639874 15 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 15 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .

If someone is doing this for POP 3.51, add 154 to the npc troop ID number in the last section of code from bigtoebubby's above post.

You have to make the changes in 3 spots.

i) npcX (X = 1 to 16, you can increase the range to fit. POP has 20 npcs, so you might want to add npc17, npc18, npc19 and npc20)
ii) the troopID just in front of '2322' and '2133'

original Warband
mno_export_import_npc1  2 2120 3 1224979098644774912 360287970189639874 0 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 0 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .

POP 3.51 version
mno_export_import_npc1  2 2120 3 1224979098644774912 360287970189639874 154 2322 2 0 1224979098644774912  {s0}  3 2120 3 1224979098644774912 360287970189639874 154 2133 2 144115188075856169 1224979098644774912 47 1 144115188075856169  .

npc2 => 155, npc3 => 156 and so on.

I found this useful so I could drop back all my companion level/stats back to 1 ^-^

PS If you're using plain Windows notepad, don't forget to turn off word-wrap before editing

I know this thread is quite ancient, but just wanted to say thank you for this, it worked flawlessly for PoP-3.611.

Also for anyone playing PoP-3.611, you don't have to change anything in the troop-ID code, just copy/paste Lono's code, it's spot on!

Using Morgh's editor would be the ideal long-term solution, but alas, it's not save compatible. Lono's method got me out of a real pinch! 
 
Hello, I need to edit my companions and I came across this mod but none of the download links work
 
Back
Top Bottom