Men of War: Assault Squad 2

Men of War: Assault Squad 2

Not enough ratings
Bot Revised V2
   
Award
Favorite
Favorited
Unfavorite
Mod
File Size
Posted
Updated
29.103 KB
17 Mar, 2022 @ 2:37pm
28 Jul, 2022 @ 12:24pm
3 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
Bot Revised V2

Description
Hello, everyone!
This mod adds new Ai to make it more fun (and easier for modders) to play with bots. Also bot can spawn special point units. So enjoy this mod and let me know about bugs or your suggestions for the mod.
Dont forget to resubscribe to mod after every update!
Latest update 18.03.22 (March).


This is standalone version! You need to manually set up this version to work with any other mod or vanilla game!

Versions that work without any manipulation. For other mods see instruction below.
Vanilla version
Great War Realism version
Tanks+ version
ASV version - integrated to main mod.
Cold War version - forked V1 version, integrated to main mod.

Outdated V1 versions (not yet updated to V2)
World War 3 version


Important note and how to enable?
To enable this mod you should simply change path in
bot revised v2\resource\script\multiplayer\bot.data file to units folder in your target mod. "Set" folder (subfolder of the resource folder of the target major mod, usually stored in gamelogic.pat) should not be archived! Extract it to resource folder!
Apply Bot Revised after applying major mod that changes AI (valour, tanks+, etc.)! Enable %mod_name% -> apply, enable Bot Revised V2 -> apply.


Mod features
  • Atomatical unit parsing. Thats it, you don't need to manually add units to AI's purchase list. But you can customise which unit (or group of units) can be used by AI and which can not by including key words in parser's black list.
  • Dynamical system of AI's unit purchasing based on "factors", allowing the bot to adjust it's choice to the current situation on the battlefield. Like "if enemy has 2 or more units of class tank, i should buy a tank destroyer!" or "If my team have no heavy tanks and enemy team have 4 or more tanks and my team are loosing i should buy heavy tank!" and more, there are a lot of different situations in game which AI can handle if AI is set to do so. See bot.lua for details.
  • Dynamical system of flag handling. Every flag on the map has status: "clear", "attacked", "defended" (and more), occupant: team, enemy, neutral, attached units and their count. AI calculates priority of every flag and decides whether to lauch a massive attack on enemy flag, or defend team flag. Flag handling system and unit handling system have great potential altogether, which currently is not fully used (e.g. AI potentialy can send bazookers to kill enemy artillery on flag behind enemy lines). Using this potential is your task, with BotInfoApi tools it will be easy, i don't have enough imagination and time ;)
  • Unit class system. You can create as many unit classes as you wish, like "Defense units", "Ultimate units", "Scout units", "Saboteur units" and others.
  • BotInfoApi. This API is created for receiving and sending information about situation on battlefield through file-messaging between bots. Each bot "knows" names, costs, locations and other information about enemy and their team units. Don't be afraid of appering command prompt windows on start of the match - there are no way to delete files or scan directory in pure LUA, this is possible only when using a command prompt.
  • Handling of unit timers.
  • Handling of special AI scripts and units. This AI is used in ASV WH40K and utilises all of it's AI scripts features.
  • Ability to purchase special point units.
  • Compability with major modifications, like ASV, Cold War, and others.
  • Good performance optimisation and commented code.
  • Other unsaid but important features for modders which you can see in code.

Credits and contribution history
Why reupload?
Mod had been improved significantly: 95% of code had been rewritten, new complete API system (BotInfoApi) added, bugs fixed, performance improved. There was a lot of continious work and core ai changes, that is why i decided to upload new version separately. Old version will be removed from workshop in a short period of time.
Major differencies with Bot Revised V1
Whole new API system - BotInfoApi.
New dynamic unit handling system.
New dynamic flag handling system.
Bug fixes.
Overall improvements.
Can i adopt your AI for my (or someone else's) mod?
Yes, of course. That is why i made this AI mod - to make it easier for people to find good AI for their mods. You can contact me if you need help with making versions for other mods. See info for modders below.

Info for modders:
You dont need to manually add units and purchases to bot.data.lua anymore!
Mod contains 2 files: bot.data.lua which stores pathes to units (set/multiplayer/units) and bot.lua which contains unit parser and AI logic. You can easily customise all aspects of the AI and adjust parser to disable AI from using units you don't want bot to spawn. Let me know if something is not working properly.
Github page[github.com]
You are free to make compability with other mods, but give a link to main Bot Revised mod and it's submods, so people can easily find Ai for their modification, and refer to me as the creator of the AI, so people can contact me and would leave their feedback on the main page of the mod.

Remember, comrade, by downloading mods for free you support communism! This isn't a bad thing, though :)
Popular Discussions View All (2)
10
6 Nov, 2022 @ 4:20am
Help
Liima
0
18 Mar, 2022 @ 5:33am
PINNED: SUGGESTIONS AND BUG REPORTS
Nishtyak RUS
63 Comments
The Drink 18 Oct, 2024 @ 8:56pm 
Ah ok, Thanks man :badcat:
Nishtyak RUS  [author] 18 Oct, 2024 @ 12:36pm 
@The Shit Slinger, this mod is already shipped with ASV platform, so no need to enable it with ASV.
The Drink 17 Oct, 2024 @ 10:24pm 
I am struggling to get this working for the ASV platform 40k mod, any tips? I've followed the installation guide and the AI isn't spawning units. Thanks.
Nishtyak RUS  [author] 27 Dec, 2023 @ 1:48pm 
@WesTaR, тут вам надо самому разбираться, посмотрите, например, как сделаны "версии" бота для разных модификаций (ссылки есть в описании). Там ничего сложного нет. Также посмотрите, какой бот сейчас установлен в Cold War, может быть, вам уже не надо ничего "адаптировать".
WesTaR 27 Dec, 2023 @ 11:44am 
не очень она понятная если честно,я все по ней сделал ничего не работает
Nishtyak RUS  [author] 27 Dec, 2023 @ 7:57am 
@WesTaR, инструкция есть в описании.
WesTaR 27 Dec, 2023 @ 7:03am 
@nishtyak Rus ну да, хотел узнать как ботов туда добавить, чтоб хотя бы спавнились
Nishtyak RUS  [author] 26 Dec, 2023 @ 5:36am 
@WesTaR, не знаю, я занимаюсь только поддержкой для ASV. У Cold War была своя разновидность этого мода, сейчас что с ней я не знаю, ботом у них занимается свой человек. Вы кроме этого что-то еще узнать хотели?
WesTaR 25 Dec, 2023 @ 7:19pm 
Есть толк пытатся эту версию ставить на Cold war 1.75?
Nishtyak RUS  [author] 17 Sep, 2023 @ 12:15pm 
@devlos, MOWAS log files, Documents folder.