SP Native Advanced Custom Battle

正在查看此主题的用户

the game crash. and i received a message:
the application faced a problem. we need to collect necassary files to fix the problem. would you like to ubload these files
help plz
i do exactly what you do but every time i click on BattleTest.bat. the game crash on the start

Right click > edit BattleTest.Bat and replace the line in there with this: ManagedStarter.exe _MODULES_*Native*BattleTest*_MODULES_

Worked for me - But make a backup of the OG if you deleted the .rar file.
 
最后编辑:
I seem to have no BattleTest.bat file. Am I doing something wrong or?
No. Apparently, I forgot to add it.

Update
Sorry everyone, added .bat as well. Replaced with new link. You don't need modbed.
 
2Cjea.png

Alright folks, I would like to share something that I was working on for a week. You all probably saw the Custom Battle mod that is around everywhere. This is not so much different from that one. However, when it first came up, I decompiled the .dll's and some Taleworlds .dll's and made another version. This version includes the following

Features
  • Map selection - You can now select maps and play around. I will explain the caveats of this below.
  • Custom changes in position and some random values - This is important. You will understand when you read steps for first item
  • Battle Morale - Now your soldiers can run away from the battlefield if they see that battle is lost already. I also made them drop their weapons so that they will run faster like a real deserter. This applies for enemy too, so you can always slaughter the cowards.
  • Battle Horns - Yep. You heard it right. When you give your orders, depending on your order, you will signal your troops with different horn sounds.
  • Battle Chanting - Well... Not quite chanting but when they are marching, they are periodically making grunting sound a couple of times to make it more like an army that is trying to scare their enemies.
  • Winning - Now when you win the battle, by either killing everyone or letting them run away, you will see good-old text at left corner saying that you can leave with holding tab, and how many people you actually have killed. If you are so bloodthirsty or just didn't notice that information text, you can always understand that you have won the battle by the cheers of your comrades. Yes. They are showing human-like animations now
  • Controlling the Bots - Either while you are alive or dead, you are now able to control your soldiers. Don't push too hard for this functionality tho, it's not tested properly.
  • Extra Characters - I added 4 extra characters. Nothing fancy, they are not even the greatest warriors. You can edit them actually if you know how.
  • Environment Sounds - I tried to add music but I failed gracefully. So I added some environmental effects such as wind blowing and so on.
  • Random Weather - So.. This is tricky. I actually added real random weather ( snow, rain, time changes etc ) but Bannerlord kept crashing randomly. So I added random weather fog - which is the safest for everyone. Depending on the luck, it might be too foggy.
  • Siege-like Behavior - This one is the funniest and probably most unstable of all features. In siege map, especially in siege map 4, your bots are actually using mangonels, trebuchets and siege crossbows. They are killing each other as well. So they are not professional. And since they are so retarded, they are stuck at machines waiting for the enemy to kill them sometimes.
  • God Functions - You can change the camera mode with C. You can wander around. If you want to take control of a bot, press F while near it. To go out, press C again. If you press C again while you are flying, you will return to your player character ( dont try that if you are dead ). If you feel like you spawned in a weird place, do the free fly trick. Find a good spot, press L and you will be teleported to that location.
  • Simple UI Elements - Previously we didn't have "hold the tab to exit" or escape menu. Now we have. But ALWAYS, use hold the TAB for stability. Don't go out with clicking escape.
  • Random Crashes - They are not so random actually but expect lots of crashes if you are doing something unusual. I don't work for TW so I don't have a QA master like Mr. Meriç, so I can't cover all the problems in this tiny decompiled version

Map Selection and Knowledge Sharing
Map coordinates are not always set properly. I set pre-values for some maps, but not all of them because I don't have much time. Therefore, it's possible that in most of the maps, you can start in weird locations. But don't worry. You can use god mode functions to set that up. Simply click C, become the soul (free camera mode) and wander around. Once you find a good stop that you think everybody should spawn, simply press I (I for information) and read the coordinates. Note that down, hold TAB, start another match but this time use noted down values. You can also use rotate X,Y function too, but it's normalizing the value so it's not always too predictable ( not like a 90 degree stuff ) But if you can try. Same applies for sun brightness as well. Some maps are too dark or just extremely bright. Use that for such cases.
Once you find a great way to fight that wasn't in the game, post here all the values, let us know! So we can also enjoy that.


Download


Installation
It's pretty easy actually. Follow the steps
  1. Download the archive file
  2. Use Winrar, 7zip or some fancy expensive unarchiver, but unarchive the package.
  3. You will now see bin and Modules folder. Select them both. Copy or cut then go to your Bannerlord's main directory. You should be able to see same folder names in that directory as well. Your main path should be something like this C:\Program Files(x86)\Steam\steamapps\common\Mount & Blade II Bannerlord - Beta
  4. Paste in the same directory. You are ready. If you don't have BattleTest.dll, it shouldn't ask any overwrite, so don't worry.
  5. Now go to bin. Then Win64_Shipping_Client, find BattleTest.bat. If you hate to go in this folder all the time, right click, Send To -> Desktop Shortcut.
  6. Click to .bat or your Shortcut. Enjoy!

Video



Screenshots
jgPTK.jpg
gCf1j.jpg
OhDBP.jpg
-id5J.jpg
k2UHG.jpg
Gqxvt.jpg
kA3LB.jpg

FAQ
As far as I know, yes. You can't do anything at all without Beta anyway. So you can't even play this without Beta. And Beta is free.. So.. Yeah
I lurked around in the decompiled game a lot.
Most likely no.
Although Bannerlord might suck in the future, currently you have no right to say that Especially by looking at a crappy custom battle mod.
Since I didn't do this for money or something, you don't owe me anything at all. But hey, If you would like to gift me a copy of Bannerlord for Early Access, I wouldn't say no to this nice gesture
Yes and no. Yes you can do that if I change the dll. Perhaps I will. If that happens, yes, you can do that. In this current state. No.
Probably. Depends... Uhm.. No.
Feel free to say anything you want. Good or bad, I would like to hear that.

white screen error in siege maps
 
Right click > edit BattleTest.Bat and replace the line in there with this: ManagedStarter.exe _MODULES_*Native*BattleTest*_MODULES_

Worked for me - But make a backup of the OG if you deleted the .rar file.
[/QUOTE

Tried loading balltetest normally, crashed, "Unable to find Steam API, tried what you did with renaming the files, battletest still crashes with "ManagedStarter.exe _MODULES_*Native*BattleTest*_MODULES_" Still unable to find steam API
Is anyone else having this problem?
 
Wow this has made me scared the performance drop i've just had , I was obviously expecting a drop in FPS compared to the original battle tester, i was getting 60-70 FPS with 1000 man battle previous now i'm getting 25 FPS with 400 men with this
Same here, I am not sure if this is the mod addon, perhaps causing some error? I've seen that sometimes units do an odd shuffle that they never did before almost as if the AI is being given the same order over and over and trying to idle between steps. I was able to do 1400 man battles on battle tester at 80 fps now I can only do 150vs150 with this huge fps dips seemingly at random with this addon. I am not overly concerned about battle size, but this addon seems to affect performance drastically despite how much of a blessing it is
To clarify these two concerns, Battle Logic is heavily played around which impacts the optimization of the mod. This probably won't be same in real game so don't worry.
Let me give an example and technical detail for techjunkies. Battle-winning or running away is controlled in every game tick (around every ms) which definitely changes game smoothness because Agents ( either ally or enemy ) doesn't have onAgentDead or onAgentFlee event. Therefore in every tick, I have to check every agent in the game, to see who's actually winning or not.
Bannerlord doesn't have good event mechanism or OnTick system. Or perhaps I just don't know how to handle those events, maybe they have an extra system that eases the pain.

The download link isn't working for me
Try this one, https://mega.nz/#!3iA1WaJY!NVhG8xNFEJu_pNnBn3aJYvhb3JCgUZIzI-yFZlJM5Bo updated the link several times today
 
To clarify these two concerns, Battle Logic is heavily played around which impacts the optimization of the mod. This probably won't be same in real game so don't worry.
Let me give an example and technical detail for techjunkies. Battle-winning or running away is controlled in every game tick (around every ms) which definitely changes game smoothness because Agents ( either ally or enemy ) doesn't have onAgentDead or onAgentFlee event. Therefore in every tick, I have to check every agent in the game, to see who's actually winning or not.
Bannerlord doesn't have good event mechanism or OnTick system. Or perhaps I just don't know how to handle those events, maybe they have an extra system that eases the pain.


Try this one, https://mega.nz/#!3iA1WaJY!NVhG8xNFEJu_pNnBn3aJYvhb3JCgUZIzI-yFZlJM5Bo updated the link several times today

This link didn't work either
 
To clarify these two concerns, Battle Logic is heavily played around which impacts the optimization of the mod. This probably won't be same in real game so don't worry.
Let me give an example and technical detail for techjunkies. Battle-winning or running away is controlled in every game tick (around every ms) which definitely changes game smoothness because Agents ( either ally or enemy ) doesn't have onAgentDead or onAgentFlee event. Therefore in every tick, I have to check every agent in the game, to see who's actually winning or not.
Bannerlord doesn't have good event mechanism or OnTick system. Or perhaps I just don't know how to handle those events, maybe they have an extra system that eases the pain.

I thought so, I've since seen Younes video playing around with the singleplayer AI and troop variants and it seemed to be much more stable. I am at ease now and more excited for launch than before :smile:
 
The site just isn't loading, I get the cannot reach this page error
Try VPN until we upload it to some other page. This seems to be another error which not related to mod. I'll upload it to somewhere else in upcoming days but I would be glad if someone can and share.

thought so, I've since seen Younes video playing around with the singleplayer AI and troop variants and it seemed to be much more stable. I am at ease now and more excited for launch than before :smile:
I can make a version without battle cry, winning or battle morale, maybe you can compare the stability of these two. :smile:
 
I can make a version without battle cry, winning or battle morale, maybe you can compare the stability of these two. :smile:
Don't wanna make extra work for you, but it may be a better call until the full AI scripts are more widely available.

Tried loading balltetest normally, crashed, "Unable to find Steam API, tried what you did with renaming the files, battletest still crashes with "ManagedStarter.exe _MODULES_*Native*BattleTest*_MODULES_" Still unable to find steam API

I wasn't suggesting the renaming of files, right click edit the Batch file and open it with notepad then replace. If you have done that I am not sure, I've never seen the Steam API error, perhaps try restarting Steam. Run as admin or maybe it's a firewall issue?
 
最后编辑:
后退
顶部 底部