Within striking distance, the monsters sometimes just walk toward the player instead of shooting him, which make it very easy to kill them.
Any code to fix it?
Page 1 of 1
Monsters behavior issue
#1 Posted 13 May 2016 - 12:23 AM
#2 Posted 13 May 2016 - 12:34 AM
It's not controlled by a global variable or anything simple like that. You have to go into the script for each monster and change code in several different places to make them behave differently.
It's been a while since I've plugged one of my old mods, but...if you try DukePlus and turn on the "advanced AI" option, you will see a big difference.
I don't think the behavior of the monsters is necessarily bad, by the way. It makes it possible to fight many of them at once, and to do things like time their animations so that you duck behind a while before they shoot.
It's been a while since I've plugged one of my old mods, but...if you try DukePlus and turn on the "advanced AI" option, you will see a big difference.
I don't think the behavior of the monsters is necessarily bad, by the way. It makes it possible to fight many of them at once, and to do things like time their animations so that you duck behind a while before they shoot.
#3 Posted 13 May 2016 - 12:37 AM
Unlike Doom, which probably of the enemy attacking increase the closer they are to you, it's a constant in Duke 3D.
#4 Posted 13 May 2016 - 01:01 AM
Fox, on 13 May 2016 - 12:37 AM, said:
Unlike Doom, which probably of the enemy attacking increase the closer they are to you, it's a constant in Duke 3D.
There's lots of places in the code where Duke monsters check the player distance and behave differently depending on it. But in most cases, it doesn't make them more effective. Check LIZTROOP, for example. If the player is close when he (the liztroop) is done firing, he will flee or run backwards rather than just fire again. It gives them more personality but it's not the most effective behavior when it comes to killing the player.
Share this topic:
Page 1 of 1