Mount & Blade: Warband

Mount & Blade: Warband

The Last Days of the Third Age
papapaparas 14 ENE 2022 a las 13:52
Hi, how can i tweak TLD to start the mod at a later date (level)
first thanks for this trully awesome mod!
i'd like to start the war at a bigger level than 20.
i've searched but can't seem to find an answer online.
thanks!
< >
Mostrando 1-11 de 11 comentarios
ArikCabral 14 ENE 2022 a las 18:25 
I think it's in the options somewhere, maybe in the rest/camp menu.
papapaparas 14 ENE 2022 a las 18:30 
the option that is the camp menu is maxed at lvl 20.
i mean how to go above that.
Is it the character level that you want to increase or do you just want to be able to spend more time playing? Either way you could import and export your character to either keep your level lower than 20 as you keep playing pre-war, or to increase it above 20 before the war starts.
Not really what you're looking for but I don't think you'll find a way to tweak this through the text files easily.
Swyter  [desarrollador] 15 JUN 2022 a las 2:56 
This can be done by opening menus.txt from the TLD install folder with your favorite plain text editor (like Notepad), then searching (without quotes) for a line starting with "mno_game_options_war_level_start" and then searching for the first occurrence of " 21 " in that line.

Alternatively, in the current version you can search for "32 2 144115188075856583 21" to find it directly. But that may change as the mod develops.

If you want level 30 replace the 21 with a 31, and so on.

For those wanting to take a look at the original module system code, the interesting part is here: https://github.com/tldmod/tldmod/blob/6e2d0b4/ModuleSystem/module_game_menus.py#L3578-L3583=


You can see every time you click it adds two levels, and whenever it goes above 21 it resets back to two. Feel free to change the click multiplier too, should be easy to locate right next to it.

Hope that helps. ¯\_(ツ)_/¯
Raccoon 5 AGO 2022 a las 15:50 
Publicado originalmente por Swyter:
This can be done by opening menus.txt from the TLD install folder with your favorite plain text editor (like Notepad), then searching (without quotes) for a line starting with "mno_game_options_war_level_start" and then searching for the first occurrence of " 21 " in that line.

Alternatively, in the current version you can search for "32 2 144115188075856583 21" to find it directly. But that may change as the mod develops.

If you want level 30 replace the 21 with a 31, and so on.

This didn't work for me, i assume there has been an update since? Is there a way to do this in the new update? Been fiddling around with the values but can't seem to get it to work
Swyter  [desarrollador] 5 AGO 2022 a las 19:31 
Darn, it seems like that menu is now only shown in the M&B 1.011 version, while Warband uses a presentation, which is a bit different, I'm a bit out of date here.
Raccoon 5 AGO 2022 a las 22:39 
To be fair, we're talking about a mod for a 2008 game, so "out of date" is kind of the theme here :D

Suppose i'll just fight the war for now, but i'd love to explore some more and get more rank rewards, so if you end up finding a way to tweak it in the current version that'd be great.

And for the record: amazing mod. Thought i'd just try a few things out a couple of days ago, didn't expect this to hook me like it did.
Swyter  [desarrollador] 5 AGO 2022 a las 23:26 
I think this patch should work. It should add a new menu entry if you go to Camp menu > Change TLD options. > Click on the Gameplay Tweaks button > Strategy Tweaks...

The option should be called [swy] War Starts at Level and it should let you choose from level 2 to 60.

Open menus.txt from the TLD install folder with your favorite plain text editor (like Notepad) and search for this piece:
menu_camp_strat_tweaks 0 ^^^^^^^^Click_on_an_option_to_toggle:^(warning:_these_are_cheats!) none 0 7
...replace it with...
menu_camp_strat_tweaks 0 ^^^^^^^^Click_on_an_option_to_toggle:^(warning:_these_are_cheats!) none 0 8


And then search for:
mno_strat_tweaks_back 0 Back_to_tweaks_menu. 1 2060 1 58 .
...replace it with...
mno_swy_game_options_war_level_start_patched 2 2133 2 72057594037927937 144115188075856583 2320 2 1 216172782113783817 [swy]_War_Starts_at_Level:_{s1} 6 2120 3 144115188075856583 2 144115188075856583 4 0 32 2 144115188075856583 61 2133 2 144115188075856583 2 3 0 2060 1 60 . mno_strat_tweaks_back 0 Back_to_tweaks_menu. 1 2060 1 58 .

Save and restart the game, the option should hopefully pop up.

PS: If you want to go beyond level 60 change the 61 as instructed in the post above. i.e. for 70 replace the 61 with 71.
Última edición por Swyter; 5 AGO 2022 a las 23:29
Swyter  [desarrollador] 5 AGO 2022 a las 23:35 
By the way, the equivalent patch for TLD's module system would be this piece of code added to module_game_menus.py. I'll leave it here for completeness in case it's needed in the future. But you should only need the .txt patches above, in principle:

diff --git a/ModuleSystem/module_game_menus.py b/ModuleSystem/module_game_menus.py index 0194e639..c6d992ed 100644 --- a/ModuleSystem/module_game_menus.py +++ b/ModuleSystem/module_game_menus.py @@ -3827,6 +3827,23 @@ game_menus = [ (jump_to_menu, "mnu_auto_strat_tweak"), ] ), #0,1,2,3 + + ("swy_game_options_war_level_start_patched", + [ + (assign, reg1, "$tld_player_level_to_begin_war"), + (str_store_string, s1, "str_reg1") + ], + "[swy] War Starts at Level: {s1}", + [ + (val_add, "$tld_player_level_to_begin_war", 2), + (try_begin), + (gt, "$tld_player_level_to_begin_war", 61), + (assign, "$tld_player_level_to_begin_war", 2), + (try_end), + (jump_to_menu, "mnu_camp_strat_tweaks") + ] + ), ("strat_tweaks_back",[],"Back to tweaks menu.",[(jump_to_menu, "mnu_camp_tweaks")]), ]),
Última edición por Swyter; 5 AGO 2022 a las 23:46
Raccoon 6 AGO 2022 a las 9:04 
Yup, that worked. Thanks so much :chug:

Doesn't alter the pulldown Warband menu in the main TLD camp menu however, which is now kinda redundant. Just something to keep in mind should this ever be patched in.

Now then, off to Fangorn :bow:
Última edición por Raccoon; 6 AGO 2022 a las 9:06
Swyter  [desarrollador] 6 AGO 2022 a las 15:24 
Yeah, I wanted to make the patch as compact and as long-lasting as possible. Doing it like this should improve compatibility without making it too hard to install. If we start changing menus or presentations things can go south pretty fast. Have fun. ¯\_(ツ)_/¯
< >
Mostrando 1-11 de 11 comentarios
Por página: 1530 50