Joe91 / fun-bots

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

bot's tank can see through terrain and walls #222

Closed kbetmp001 closed 2 years ago

kbetmp001 commented 2 years ago

Scope

Vehicle bot behavior

What happened?

on map Armored Shield, bots tank keeps stopped and shooting even enemy not in the view. for example, 2 tanks keep shooting each other on point D, through the village, in the whole round. some other tanks stopped on the ramp and shooting on the ground.

What was expected?

keep moving, shoot when on sight

How can we reproduce and test it?

load map Armored Shield, game mode conquest, wait bot's tank on position. turn USE_COLLITION_RAYCASTS off can solve this problem.

Version of fun-bots and VU?

V2.5.3 , VU Build 18476

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

FlashHit commented 2 years ago

I think this depends on materialflags which are currently broken if I am not wrong.

Joe91 commented 2 years ago

There was a bug that kept bots in vehicles shooting forever. This bug is fixed on the latest dev-commit. You can try if that was this issue...

Firjens commented 2 years ago

Is this issue resolved? @kbetmp001

github-actions[bot] commented 2 years ago

This issue has been automatically closed because there has been no response to our request for more information. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further. See this blog post on bug reports and the importance of repro steps for more information about the kind of information that may be helpful.

aliakseiz commented 2 years ago

@Firjens The issue is still reproducible with fun-bots v2.6.1 and VU build 19412. Tested on different maps (i.e. Caspian border, Gulf of Oman), tanks and APCs stand still and keep shooting forever, until the acquired target dies. Regardless of the target visibility.

aliakseiz commented 2 years ago

Not reproducible in v2.7.0-dev3.