PC Alpha 21 Dev Diary

Status
Not open for further replies.
So my question  mean more :' how much bandits will be ratio to zombie number
Ok I see. I would guess you cannot count it like that, plus 1 bandit means minus one zombie.

bandit AI will probably be more complex, with bigger performance hit.

But that's all still in the early works, so I think nobody can tell right now about definite numbers.

...I still stay with 12 😃

 
Ok I see. I would guess you cannot count it like that, plus 1 bandit means minus one zombie.

bandit AI will probably be more complex, with bigger performance hit.

But that's all still in the early works, so I think nobody can tell right now about definite numbers.

...I still stay with 12 😃
Well] it was simplify because add bandit they have to reduce number of zombie so - i hope bandit AI will be just a little bit diffrent that zombie and it will be fine.

 
Well] it was simplify because add bandit they have to reduce number of zombie so - i hope bandit AI will be just a little bit diffrent that zombie and it will be fine.


Yes and no. When a bandit gets spawned it reduces the amount of zombies by at least 1, but when no bandit is around you still have the full zombie count available.

Wasn't it mentioned by someone from TFP already that bandits will be used sparringly (or am I imagining this) ? Don't expect simply 10 or 20% of environmental zombies just being substituted by bandits. If TFP did this they would severely lessen the impact of the bandits.

 
Last edited by a moderator:
I can already imagine a "war of spawns" between bandits and zombies...

A bandit is attacking, but, suddenly, a zombie spawns, and the bandit magically disappears into oblivion!  :rapture2:

 
Yes and no. When a bandit gets spawned it reduces the amount of zombies by at least 1, but when no bandit is around you still have the full zombie count available.
And if 1 bandit dies, 1 Zombie spawns? Or spawns another bandit then? 🤔

New gaming mode ... AI spawn race. 🙂

 
Last edited by a moderator:
Yes and no. When a bandit gets spawned it reduces the amount of zombies by at least 1, but when no bandit is around you still have the full zombie count available.

Wasn't it mentioned by someone from TFP already that bandits will be used sparringly (or am I imagining this) ? Don't expect simply 10 or 20% of environmental zombies just being substituted by bandits. If TFP did this they would severely lessen the impact of the bandits.
Well  this depends on number of "bandit's POI" because bandits there will be active probably most of time. 

 
Well  this depends on number of "bandit's POI" because bandits there will be active probably most of time. 


No. ALL NPCs who are not in your current chunk are neither active nor spawned at all.

I can already imagine a "war of spawns" between bandits and zombies...

A bandit is attacking, but, suddenly, a zombie spawns, and the bandit magically disappears into oblivion!  :rapture2:


No, the bandit has priority then. So you will hear just a loud ***DOOOONG*** as that zombie hits the closed metal hatch where he ordinarily would have flushed up into the world as a spawn.

 
What do you mean by "numbers" here?
The number of bandits that are spawned at any one time. Say a bandit takes x2 the performance of a zombie, then I would not want more that half of them in the world compared to the number of zombies a computer can manage and still have a reasonable FPS. Now that does not mean the world will have bandits everywhere. That depends on game play goals. I would like bandits to be rare, because this is a zombie game and 99% of the population is dead or a zombie.

 
@faatal I remember we discussed briefly a long time ago about the possibility (I proposed) to use "decision trees" for the bandits AI (I only have a non-professional understanding of what that is TBH). At the time, you said you were against it for some reason.

So, I'm curious... what type of AI "approach" are you going to use for bandits?

I've heard programmers talk about "scripted AI", "decision tree AI" or even "learning AI".

Have you got any juicy detail to share on that?  :)

 
@faatal I remember we discussed briefly a long time ago about the possibility (I proposed) to use "decision trees" for the bandits AI (I only have a non-professional understanding of what that is TBH). At the time, you said you were against it for some reason.

So, I'm curious... what type of AI "approach" are you going to use for bandits?

I've heard programmers talk about "scripted AI", "decision tree AI" or even "learning AI".

Have you got any juicy detail to share on that?  :)
I have! i hope this will be forgotten like '90 aestetic xd

 
EAI has been optimized over the years I've been working on it and UAI being dead, I have not touched it. I do plan to remove it at some point, but hopefully the bandit framework will be adequate to extend from for modders.

Good bandit performance and numbers is a goal, so they will run adequately on all systems.

It is still in the works. There were some issues with platform changes and then there was a bad merge of some of my changes that they backed out and may end up having to hand merge.


I do think your making the right call on using EAI for bandits, especially since you have to get them working on older, less capable machines.   Thank you in advance for keeping modding in mind as you code.  Zombie specific hooks in the current EAI were hard to work around, so please keep that in mind as well.   No worries on removing the old UAI codebase;  if that must happen,  we will mod it back in.   We appreciate all you do! 

 
I do think your making the right call on using EAI for bandits, especially since you have to get them working on older, less capable machines.   Thank you in advance for keeping modding in mind as you code.  Zombie specific hooks in the current EAI were hard to work around, so please keep that in mind as well.   No worries on removing the old UAI codebase;  if that must happen,  we will mod it back in.   We appreciate all you do! 
I usually would say something what i think about mods but i agree with you that they doing good job

 
Last edited by a moderator:
The number of bandits that are spawned at any one time. Say a bandit takes x2 the performance of a zombie, then I would not want more that half of them in the world compared to the number of zombies a computer can manage and still have a reasonable FPS. Now that does not mean the world will have bandits everywhere. That depends on game play goals. I would like bandits to be rare, because this is a zombie game and 99% of the population is dead or a zombie.
For reference, Fallout 3, which is a weird and unfair comparison to 7dtd, had usually around 16 bandits/entities tops on a POI. They were enough to give the player a good sense of thrill and "emotional romantic moments" with 'them guts flying around'. Skyrim POIs and some quest scenes spawned around 30 entities, but that was unusual, as lesser numbers were more common.

In reality , you can give a single player thrill enough with just 3 bandits. Now, the AI has to be good, like good good. Good to the level of full-on smooth pathing for MANY more meters than the sexiest zd, extra comments, cover, heal, help, grenades, fluff, etc.

 
@faatal I remember we discussed briefly a long time ago about the possibility (I proposed) to use "decision trees" for the bandits AI (I only have a non-professional understanding of what that is TBH). At the time, you said you were against it for some reason.

So, I'm curious... what type of AI "approach" are you going to use for bandits?

I've heard programmers talk about "scripted AI", "decision tree AI" or even "learning AI".

Have you got any juicy detail to share on that?  :)
I'm not against decision trees for any reason other than I don't need them for what I want to do. What we have now could be called decision lists, which are lists of tasks that get checked in order. Bandits will probably have more task types added to support new behaviors.

The key thing I'm doing now is a full cleanup of the zombie controller parameters, states and transitions and their avatar controller code, to get ready to be copied for the bandits, as I don't want the bandits starting from some legacy mess.

 
Last edited by a moderator:
Maybe have 4 Bandits being the most to spawn for an encounter and turn off further zombies spawns due to noise or feral sense attraction to avoid heavy performance hits.  Also scripted bandits ambushes instead of sleeper spawns in certain POIs would be interesting.

@faatal About Graphic APIs, have TFP consider DX12 for performance boost instead of Vulkan, since Unity has issues with Vulkan ?

 
Status
Not open for further replies.
Back
Top