Men of War: Assault Squad 2

Men of War: Assault Squad 2

52 ratings
Bot Revised V2 for Vanilla
   
Award
Favorite
Favorited
Unfavorite
Mod
File Size
Posted
Updated
142.356 KB
17 Mar, 2022 @ 2:55pm
28 Jul, 2022 @ 12:26pm
3 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
Bot Revised V2 for Vanilla

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).


Here is standalone version for modders

Versions that work without any manipulation. For other mods see instruction on standalone version page.
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


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 (1)
7
4 Jul, 2022 @ 3:03am
PINNED: SUGGESTIONS AND BUG REPORTS
Nishtyak RUS
72 Comments
antoni 21 Apr @ 7:19am 
I don't understand how to modify this , so I would be grateful if somebody made a version , where AI will take more mechanised inf. and tanks, than regular one .:frag::mite::honor::frag::mite::honor:
N 6 Feb @ 10:09am 
@Hastatus
This is not a perfect bot, you can customize it inside the file, for example make only artillery combat
VISA peepee poopoo 6 Feb @ 9:05am 
Just played a game with this on.
1v1, Veteran AI, 200CP/3000MP settings.
Enemy AI calls in Rangers striaght from the start. Duh. Somehow I manage.
Another Ranger squad next minute. (Me: ?)
Then comes in Airborne squad, quickly gun it down.
3-4 minutes of silence, I have nothing to do. (??)
He spawns JUMBO. (really now?)
I faust it somehow, but this is getting really irritating.
After a minute ANOTHER FUCKING JUMBO. I'm furious.
Kill it with my last faust.
Another 3 minutes of nothing.
He spawns in M7 Priest (so I'm sure the mod is enabled now).
It just stands there. Game ends because I've reached the VP score limit (3 points under control).

Conclusion.
How is this an improvement?
It is not.
Well done, not many can achieve this even if they tried.
N 22 Dec, 2024 @ 12:27pm 
Извини за частые вопросы, что вообще нужно знать чтобы самому твой мод улучшить? Я полный ноль просто.
N 22 Dec, 2024 @ 10:04am 
Привет, ты не пробывал совместить свой мод с нынешнем chatgpt, таким образом чтобы это также не вызывало рассинхронизации?
N 10 Aug, 2024 @ 12:29am 
Nishtyak RUS, Привет, почему в моде снайпера спамятся раз в 150 секунд. Я не понял в коде это место.
Nishtyak RUS  [author] 6 Aug, 2024 @ 10:23am 
@blanshe, спасибо. Танки, насколько я понимаю, они чинят с помощью специальных скриптов (немного другая сфера), брустверы ставить возможности нет.
dodep 5 Aug, 2024 @ 4:08pm 
Хороший мод , бот действительно намного грамотнее играет. А реально ли как-то реализовать чтобы он танки чинил и брустверы ставил? В каком-то моде точно видел что боты после подбития танки чинят.
N 22 Jun, 2024 @ 11:09am 
Точнее сказать он снайперов берет, но каждые 150 секунд по 1 снайперу.
N 22 Jun, 2024 @ 10:36am 
Не совсем понимаю, почему снайперы отключены в данном моде, пытался даже отключиться все ограничения по юнитам, а снайперов все равно не берет, обычный бот берет например. А так это убийственное комбо если бот берет снайпером и птрс, одним выстрелом почти всех убивает как аимбот.