1 Bot causes massive slowdown

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: 1 Bot causes massive slowdown

by HotWax » Sun Nov 16, 2003 8:24 pm

CajunTrace is probably used for determining if there is anything between the bot and the target it's about to fire at . . . or something like that.

As for CajunBodyNode, ya got me. :P

by Graf Zahl » Sun Nov 16, 2003 6:06 am

Both of these objects are used internally for some calculations. They both have no specific properties, are both invisible and totally unusable outside the bot code. And, yes, CajunTrace is an invisible projectile.

by Enjay » Sun Nov 16, 2003 5:59 am

What are these actors, that get listed with dumpclasses, for?

CajunBodyNode
CajunTrace

The only thing I can see any evidinece of something happening when summoning these is with IDDT on twice in the automap, CajunTrace seems to fire an invisible, no damage projectile.

by HotWax » Sat Nov 15, 2003 11:25 pm

randy wrote:You all give the bots too much credit. They are very stupid and just wander the level aimlessly with AI basically equivalent to a regular monsters. The only thing they keep track of on the level is the locations of all the items. In co-op games, if you get too far away from a bot, you'll probably never see it for the rest of the game, because it has no idea how to reach you.
Hrmm, what bots was I thinking of then? :P

by randi » Sat Nov 15, 2003 5:26 pm

You all give the bots too much credit. They are very stupid and just wander the level aimlessly with AI basically equivalent to a regular monsters. The only thing they keep track of on the level is the locations of all the items. In co-op games, if you get too far away from a bot, you'll probably never see it for the rest of the game, because it has no idea how to reach you.

by Hirogen2 » Sat Nov 15, 2003 6:12 am

There seems to be no more command to save them. The only ones who contain "node" -- and I am pretty sure that node-saving command had node in it somewhere -- are gennodes and genglnodes, but which are for BSP.

by Enjay » Sat Nov 15, 2003 5:17 am

Which version of Zdoom are you running? An old version (forget which) used to have very noticable slowdown when a bot had/used the rocket launcher.

by HotWax » Sat Nov 15, 2003 3:53 am

AFAIK there is no way to add custom bot nodes (correct me if I'm wrong?). When you first add bots to a level, they will watch the player(s) in the level and learn the movement of the level from him... in theory. Basically, as players move around they drop invisible "bread crumbs" (the bot nodes) that the bots use to move around the map. Thus the more you play, the more they learn the map.

IIRC, there is a cvar (can't remember it right now, I think it's off by default) that allows saving botnodes... somewhere... so that next time you load that level they can pick up where they left off.

IMHO, the bots are still too dumb to be of any real use. Perhaps for deathmatches on very simple levels, but I've never been able to get coop bots to leave the starting area, and even when they are around, they spend most of their time dying rather then helping me kill stuff. :(

by Hirogen2 » Sat Nov 15, 2003 3:35 am

Yes, they are build on the fly if they cannot be found. I do not know how to generate them, there is probably some utility as some WADs do have precompiled nodes.

by Curunir » Sat Nov 15, 2003 2:39 am

I always thought the path nodes were built on the fly when they enter a particular level. And I've never heard of placing special entities in maps to guide bots.

by Bio Hazard » Sat Nov 15, 2003 1:36 am

how do you add path nodes anyway? is there some special thing for it?

by Hirogen2 » Sat Nov 15, 2003 1:33 am

Of course... the bot needs path nodes (or some sort of) for the whole level, so performance is inverse to the (complexity*(bots+OtherStuff)).

1 Bot causes massive slowdown

by Anonymous » Fri Nov 14, 2003 8:32 pm

Hola,

I'm running a P2/450 with 256 megs of ram that normally runs Zdoom just fine. However, I've got a (very complex) pwad I'm working on. The Pwad runs just fine, no problems, but when I add a single bot to the game, it slows down to almost single-digit framerates.

The bots run fine on the normal levels, so clearly it's a problem with my pwad. Any advice on things that can be done to make it more bot-friendly?

Thanks.

Top