fun-bots icon indicating copy to clipboard operation
fun-bots copied to clipboard

Bot in vehicle use secondary weapons

Open Gemini899 opened this issue 4 years ago • 1 comments

Requested feature

Bot driving vehicles should be able to use secondary weapons if available.

Use case

Atm they only use primary weapons such as tank shell "if the bot is in the tank", 25mm "if the bot is in LAV", 20mm "if the bot is in AA". This works fine as basic driving behavior but i think there is space for improvement; for example:

1# Scenario: Bot in Tank uses his Shell while reloading the next one they should use .50 cal "only vs infantry" then swap back on the Shell when is reloaded.

2# Scenario: Bot in AA use 20mm vs infantry and Air vehicle, but he should alternate the primary with the secondary "Heatseekers" only vs Air Vehicle if they are in range.

3# Scenario: Bot in LAV uses 25mm vs infantry and enemy vehicles, they should use the .50 cal while reloading just like the tank behavior.

With this implementation, the bots can use the full potential of the vehicle they are driving making the experience feel more realistic as well and be more effective in what they are doing.

I have checked the following...

Gemini899 avatar Aug 24 '21 12:08 Gemini899

Started implementing it, but it seems that the bots are not able to switch the weapons in the vehicle. At least I tried, but the just don't switch. Maybe someone can help there. Maybe this is not possible with VU atm...

Joe91 avatar Apr 23 '22 16:04 Joe91

initial implementation on dev branch. Still a lot to do, but working as a start

Joe91 avatar Sep 14 '22 17:09 Joe91