Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Raw Bot Difficulty levels #17

Closed
mavproductions opened this issue May 13, 2024 · 4 comments
Closed

[Feature] Raw Bot Difficulty levels #17

mavproductions opened this issue May 13, 2024 · 4 comments

Comments

@mavproductions
Copy link
Contributor

Hey @lengran!

Wondering if you've had a chance to look at these workshop maps popping up.

One thing I really like about these maps is that the bots have very specific bot difficulty levels. On Hell mode, it appears if you walk into their line-of-sight whatsoever, they just insta-kill you after .5 milliseconds or so.

It would be really neat if such a feature could be added to openprefireprac, as it would add more granular control over difficulty.

Thanks for considering!

@lengran
Copy link
Owner

lengran commented May 13, 2024

I have been doing research on this for the last half month. These maps are using different behavior tree to achieve that, which I have tried to implement. Unluckily, due to the lack of document and reference material, the script I wrote still contains some issues and it requires more time to solve them. That's why in the upcoming release a CSS based aim lock method is provided to strengthen the bots temporarily. I'll definitely keep working on this continuously and see if I can find a work around.

For now in multiplayer scenario, I suggest you to tune the bots' reaction time by editing the botprofile.db, which is much easier to do and achieves similar effects. For your reference, you can check this for the way to customize botprofile.db on your server. And here's a post written in Chinese describing several ways of modifying bots' difficulty in details, including ways to edit botprofile.db.

For single player use, the maps provided by 5E are pretty cool. Though I have only tried the mirage one, but I believe they will keep releasing new maps until achieve a full coverage of the competitive map pool.

@mavproductions
Copy link
Contributor Author

Lovely response. I'm happy I can have that workaround to test for now. I figured maps had different behavioral trees available, as plugins might also have different behavioral trees as well available.

Power to you to keep ironing out this option. Take all the time you need 🙂

@lengran lengran closed this as completed May 14, 2024
@lengran lengran reopened this May 14, 2024
@lengran
Copy link
Owner

lengran commented May 15, 2024

Here's the botprofile.db I'm using, which is good enough for me for now. Hope this could save you some time if you need it.

botprofile.zip

@lengran
Copy link
Owner

lengran commented Jun 10, 2024

A simple bot behavior tree based implement has been released. Thanks to 5EPlay for their inspiring prefire workshop maps. The behavior tree files are extracted from these maps.

@lengran lengran closed this as completed Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants