There is a question about the behavior of bots

There is a question about the behavior of bots.

I am creating a mode where a team of bots with weapons fights against a team of bots with knives and captures points, but I encountered a problem with the behavior of bots.

  1. Bots with knives, when hit by a bullet, begin to lie down in front of the one who shot at them for 3 seconds, if you hit them again, then they either lie longer, or get up and lie down again, and so on. I would like to fix this - so that the bots run at the enemy with a knife and ignore hits (do not lie down after each bullet).

  2. I would also like the bots with knives, if they start chasing, to pursue the enemy as long as possible until, for example, their distance is 50 meters or more.

  3. There is also another problem, bots with weapons shoot only 3 bullets with breaks, I would like them to shoot the entire magazine with cartridges or at least a minimum of 10 bullets.

I spent several hours trying to fix this through the entity by changing “fr_base_soldier” (bots with knives). but so far this hasn’t brought any success, all I’ve managed to do is make them dumb or make the bots ignore that there are enemies and just capture points despite being shot at XD

I hope there are those who can help, thanks in advance!

2 Likes

That is how bots work though
You might want to look at the beh of the zombie_mp40_armored

2 Likes

I think you spent more time working on Enlisted bots then Dark Force did in the entirety of the game. I can’t speak for everyone, but my bots are dumber then bots from war games of the 1990’s. I would love it if they would lay down when shot at, mine just go stand outside looking to get shot.

2 Likes

I don’t understand what I’m supposed to see there.

do you mean all the “beh_” parameters?

There is a beh blackboard thingy (forgot the name)
Its the thing that drives bots to do what you see

Some blkx files in the datamine have the name “beh”, they are the files that defines the AI’s actions. I suggest taking a look at what the zombie_mp40_armored uses as it would seem to be what you need

1 Like

Where exactly is it to look for? I have never seen the datamine file.