[WB] Warband Script Enhancer v4.9.5 for 1.174

Users who are viewing this thread

Thank you, I've added in the aforementioned command in the module.ini file and the battle size is now 420 but it still hasn't changed the actual battle size.

I'm guessing I'm missing something elsewhere? I read over the operators but am just unsure as to where the arguments like options_set_battle_size etc. are supposed to actually go.
As I have told you before, read the whole comment at the operation. There are scripts/mission templates which you have to edit as well.
 
As I have told you before, read the whole comment at the operation. There are scripts/mission templates which you have to edit as well.
I understand that there are other things I have to edit. What I'm saying is that I'm not sure what / where the file paths for these things are.

For example, I understand that a mission_templates.py file has to be edited but it doesn't currently exist so would I have to create this?

These args for example:

Code:
 (1, mtef_team_0|mtef_defenders, 0, aif_start_alarmed, 40, []),
(store_normalized_team_count, ":num_defenders", 0),
    (lt, ":num_defenders", 20),                         # this is less then 20/40=50%
    (add_reinforcements_to_entry, 4, 20),               # add new wave 20/40=50%

Are they supposed to go inside one of the .py files within WSE2 SDK? As thats the only location I could find any python files.

I've tried to follow the documentation, just a tad confused on the context / meaning of some of these things (i.e. script/mission templates and where to find them). Bit new to this stuff, so apologies
 
Last edited:
Ok, it looks like you are pretty new to modding and are not common with the Module System. The Module System is the source code of a module and if you don't have that for the module at which you want to do this change I don't think it's really possible to do it at all (correct me, Vetrogor or K700, if I am wrong).
 
Is there any way to increase the battle size from 150? I can't seem to figure out how to use Battle Size changer for WSE

Thanks!
If you don't have the source of module system you can edit c:\Users\%Your_name%\Documents\Mount&Blade Warband\rgl_config.ini
Edit parameter battle_size = 0.1200
0 - minimum of options slider and 1 is max of options slider. Increasing above 1 will lead to bigger battle sizes. Maximum to 10 as I remember.
 
Ok, it looks like you are pretty new to modding and are not common with the Module System. The Module System is the source code of a module and if you don't have that for the module at which you want to do this change I don't think it's really possible to do it at all (correct me, Vetrogor or K700, if I am wrong).
It is possible to edit module without source code if you know how. Tweaks are done by editing only txt files. Without source code you can't debug mod in efficient way. There are workarounds too.
 
Last edited:
It is possible to edit module without source code if you know how. Tweaks are done by editing only txt files. Without source code you can't debug mod in efficient way. There are workarounds too.
I know that it is possible to edit a module without the source code, I am also common with the basic tweaks. For bigger stuff it is however not recommended to do so, also because one can't debug efficiently, as you mentioned. You have experimented around a lot at the battle sizes, so it's not a big surprise that you know how to modify it without the Module System.
 
v4.8.5
-Fixed stack overflow for local variables.
-Fixed crash with enabled profiling when the recursion limit is reached.
-Max num nested loops reduced to default 128, which should reduce freezes in badly written scripts with lots of nested loops and recursion.
 
v4.8.6
-Updated WSE_NETCODE_VERSION for WSE2 compatibility.
-Fixed wse_savegame_loaded trigger - triggered only with savegame loaded.
 
Hi K700,
I tried your greater than 16 skin fix.

My results were that when I set
troop_set_type > 15
The troop defaults to one of the first 3 skins, male, female and skeleton. Tried numbers 16,17,18,30

I've confirmed my skins.txt has the additional skins
Do you think perhaps the troop_set_type function has a clamp when greater than 16?
Have you confirmed greater than 16 skins have worked for you outside the default 3?

Thanks
Love your work
 
Had this issue and crashed
16:47:18 - - 0x00219919 mb_warband_wse2.exe+0x449919 (std::vector<float,std::allocator<float> >::push_back+0x59)
16:47:18 - - 0x001E867C mb_warband_wse2.exe+0x41867C (mbAgent::updateItemMetaMeshes+0x4FC)
16:47:18 - - 0x001E92E1 mb_warband_wse2.exe+0x4192E1 (mbAgent::updateItems+0x81)
16:47:18 - - 0x002BA9F5 mb_warband_wse2.exe+0x4EA9F5 (mbMission::createAgent+0x605)
16:47:18 - - 0x002BC5E9 mb_warband_wse2.exe+0x4EC5E9 (mbMission::spawnHumanAgent+0x69)
16:47:18 - - 0x002B9393 mb_warband_wse2.exe+0x4E9393 (mbMission::spawnEntryGroup+0xB3)
16:47:18 - - 0x002B928E mb_warband_wse2.exe+0x4E928E (mbMission::spawnEntryGroups+0xAE)
16:47:18 - - 0x002B2231 mb_warband_wse2.exe+0x4E2231 (mbMission::start+0x3D31)
16:47:18 - - 0x002A8C5C mb_warband_wse2.exe+0x4D8C5C (mbMetaMission::startMission+0x1C)
16:47:18 - - 0x002A6129 mb_warband_wse2.exe+0x4D6129 (mbMeetingRedirector::redirect+0xD9)
16:47:18 - - 0x002A7D2A mb_warband_wse2.exe+0x4D7D2A (mbMenuWindow::frameMove+0x3FA)
16:47:18 - - 0x00235162 mb_warband_wse2.exe+0x465162 (mbCoreGame::frameMove+0xF2)
16:47:18 - - 0x0024243A mb_warband_wse2.exe+0x47243A (CD3DApplication::FrameMove+0x3A)
16:47:18 - - 0x0024160C mb_warband_wse2.exe+0x47160C (CD3DApplication::Render3DEnvironment+0x48C)
16:47:18 - - 0x0024207C mb_warband_wse2.exe+0x47207C (CD3DApplication::Run+0xEC)
16:47:18 - - 0x003CE759 mb_warband_wse2.exe+0x5FE759 (WinMain+0xD59)
16:47:18 - - 0x00583681 mb_warband_wse2.exe+0x7B3681 (__tmainCRTStartup+0xF1)
16:47:18 - - 0x76DF7D69 KERNEL32.DLL+0x17D69 (BaseThreadInitThunk+0x19)
16:47:18 - - 0x7726BB9B ntdll.dll+0x6BB9B (RtlInitializeExceptionChain+0x6B)
16:47:18 - - 0x7726BB1F ntdll.dll+0x6BB1F (RtlClearBits+0xBF)
16:47:18 - - 0x7726BB1F ntdll.dll+0x6BB1F (RtlClearBits+0xBF)
16:47:18 - Dumping memory status...
16:47:18 - Commit size: 1962 MB
16:47:18 - Working set size: 2017 MB
16:47:18 - Available size: 21103 MB
16:47:18 - Heap #0 (process): 1568 MB
16:47:18 - Heap #1: 2 MB
16:47:18 - Heap #2: 138 MB
16:47:18 - Heap #3: 0 MB
16:47:18 - Closing log file...
 
"EXCEPTION_ACCESS_VIOLATION"
a crash with detailed information was saved to logs/rgl_log_13.01.2023_18.20.27_crash.txt
Exiting...
 
v4.8.7
-Added get_campaign_time and set_campaign_time operations.
-Added savegame slot to wse_game_saved and wse_savegame_loaded scripts.
-Added WSE version to xml server info.
 
got a instant ctd after i try to tweak build time for improvement on villages
> Info
Time: 20/02/2023 21:55:35
Type: EXCEPTION_ACCESS_VIOLATION (0xC0000005, 0x00000001, 0x61046000)
> Stack trace
0x0043936B mb_warband.exe+0x3936B (??+0x0)
0x0062DE10 mb_warband.exe+0x22DE10 (??+0x0)
0x00439260 mb_warband.exe+0x39260 (??+0x0)
0x773C2B5C ntdll.dll+0x72B5C (NtWriteFile+0xC)
0x76EB284C KERNELBASE.dll+0x11284C (WriteFile+0xBC)
0x00439399 mb_warband.exe+0x39399 (??+0x0)
0x00439260 mb_warband.exe+0x39260 (??+0x0)
0x00439260 mb_warband.exe+0x39260 (??+0x0)
0x0317BD38 ??+0x317BD38 (??+0x0)
0x00647773 mb_warband.exe+0x247773 (??+0x0)
0x0063BCFC mb_warband.exe+0x23BCFC (??+0x0)
0x0063B8CC mb_warband.exe+0x23B8CC (??+0x0)
0x0063B8CC mb_warband.exe+0x23B8CC (??+0x0)
>
 
v4.8.9
-Fixed lua bugs.
-Added bypass_console_check to key_is_down, key_clicked, game_key_is_down, game_key_clicked, key_released, game_key_released operations.
 
Back
Top Bottom