Men of War: Assault Squad 2

Men of War: Assault Squad 2

52 个评价
Bot Revised V2 for Vanilla
   
奖励
收藏
已收藏
取消收藏
Mod
文件大小
发表于
更新日期
142.356 KB
2022 年 3 月 17 日 下午 2:55
2022 年 7 月 28 日 下午 12:26
3 项改动说明 ( 查看 )
您需要 DLC 才能使用该物品。

订阅以下载
Bot Revised V2 for Vanilla

描述
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 :)
热门讨论 查看全部(1)
7
2022 年 7 月 4 日 上午 3:03
置顶: SUGGESTIONS AND BUG REPORTS
Nishtyak RUS
72 条留言
antoni 4 月 21 日 上午 7:19 
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 2 月 6 日 上午 10:09 
@Hastatus
This is not a perfect bot, you can customize it inside the file, for example make only artillery combat
VISA peepee poopoo 2 月 6 日 上午 9:05 
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 2024 年 12 月 22 日 下午 12:27 
Извини за частые вопросы, что вообще нужно знать чтобы самому твой мод улучшить? Я полный ноль просто.
N 2024 年 12 月 22 日 上午 10:04 
Привет, ты не пробывал совместить свой мод с нынешнем chatgpt, таким образом чтобы это также не вызывало рассинхронизации?
N 2024 年 8 月 10 日 上午 12:29 
Nishtyak RUS, Привет, почему в моде снайпера спамятся раз в 150 секунд. Я не понял в коде это место.
Nishtyak RUS  [作者] 2024 年 8 月 6 日 上午 10:23 
@blanshe, спасибо. Танки, насколько я понимаю, они чинят с помощью специальных скриптов (немного другая сфера), брустверы ставить возможности нет.
dodep 2024 年 8 月 5 日 下午 4:08 
Хороший мод , бот действительно намного грамотнее играет. А реально ли как-то реализовать чтобы он танки чинил и брустверы ставил? В каком-то моде точно видел что боты после подбития танки чинят.
N 2024 年 6 月 22 日 上午 11:09 
Точнее сказать он снайперов берет, но каждые 150 секунд по 1 снайперу.
N 2024 年 6 月 22 日 上午 10:36 
Не совсем понимаю, почему снайперы отключены в данном моде, пытался даже отключиться все ограничения по юнитам, а снайперов все равно не берет, обычный бот берет например. А так это убийственное комбо если бот берет снайпером и птрс, одним выстрелом почти всех убивает как аимбот.