Joe91 / fun-bots

A highly customizable and configurable bot mod for your Venice Unleashed Battlefield 3 server.
https://discord.gg/zNk3qCzk6x
236 stars 45 forks source link

Bots can't handle guns in Gun Master #292

Closed koopa990 closed 1 year ago

koopa990 commented 1 year ago

Scope

General bot behavior

What happened?

In any Gun Master match and any maps, they will always have low end accuracy no matter the gun types (can be slightly better with automatic guns)

What was expected?

Dead-on accuracy to match user's config.

How can we reproduce and test it?

Anything

Version of fun-bots and VU?

Latest Dev.

I have checked the following... (if applicable)

Joe91 commented 1 year ago

It's more a general thing that I can't extract the weapon-data on the fly yet. But I will try to find a solution for that.

Joe91 commented 1 year ago

Think I had a first break-throgh on this. I'm was able to identify the weapon and to parse all the needed data in most cases. Would you mind to test this branch: https://github.com/Joe91/fun-bots/tree/feature/gunmaster_weapon_handling Looking forward to your feedback!

koopa990 commented 1 year ago

Think I had a first break-throgh on this. I'm was able to identify the weapon and to parse all the needed data in most cases. Would you mind to test this branch: https://github.com/Joe91/fun-bots/tree/feature/gunmaster_weapon_handling Looking forward to your feedback!

Hey, how can I download that repo? THere is no option to do so, and this website I am using does not work with yours https://download-directory.github.io/

Joe91 commented 1 year ago

Oh, sorry. Just merged it into dev. No idea why that is not possible on that branch... https://github.com/Joe91/fun-bots/tree/dev At least for me there is a button "Code" where you can download the repo...

koopa990 commented 1 year ago

Oh, sorry. Just merged it into dev. No idea why that is not possible on that branch... https://github.com/Joe91/fun-bots/tree/dev At least for me there is a button "Code" where you can download the repo...

Oh yeah. I am happy to see them actually advanced into more weapon tiers; It works!

koopa990 commented 1 year ago

Oh, one more thing. Is it possible to force them to run towards any close enemy they see when they are using the knife as the final tier?

Joe91 commented 1 year ago

That's a good point. Will try to add this. Glad to hear that it works fine :-)

koopa990 commented 1 year ago

That's a good point. Will try to add this. Glad to hear that it works fine :-)

What about making them do takedown? Or is it already subtly there in the mod?

Joe91 commented 1 year ago

Takedowns are sadly not possible for bots yet. That's a vu thing. Also they are not able to deal knife-damage at the moment because of a workarount with bugged hitboxes. So the knife itself is kind of a problem-child atm... I will close this issue for now and try to find a better solution for the knives separately...