Issue489

Title Redesign respawn level logic
Priority feature Status open
Assigned To Keywords
Linked issues Watchers

Submitted on 2011-09-29 06h25 by Xenux, last changed by Xenux.

Messages
Author: Xenux Date: 2011-09-29   06h25
Currently, respawn level behave strangely. When a level is respawn, all death
bot in level are resurrected, even bot from another level. Likewise, bot dead in
an another level don't respawn in origin level. As a result, bots migrated
between levels. 

There is problematic in difficult level with few bots.
Author: ahuillet Date: 2011-09-30   06h00
This isn't a bug - what you're describing is the way level respawning works.

Please explain how you think it should behave.
Author: matthiaskrgr Date: 2011-09-30   06h10
Some time ago we were respawning bots at the very position they died at,
regardless of which level they came from.

This caused a lot of trouble because with time, there were going to be more and
more hostile bots around friendly npcs (not saying "friendly enemy" here because
I think it sounds stupid, sorry Arthur :p ) and the bots would have killed them
immediately.
Author: Xenux Date: 2011-09-30   07h03
I think, because respawn is rarely used, we can killed all bots in level then we
respawn bots with level specification. Respawning bot at the same level they
died at are not a good idea.

The lost of performance and memory is insignificant with the delete all bots in
level.

Also, currently, only human npcs are not respawned. But, droid npcs exists and
can be respawned (and might break logic).
History
Date User Action Args
2011-09-30 07:03:44Xenuxsetmessages: + msg1707
2011-09-30 06:10:32matthiaskrgrsetmessages: + msg1706
2011-09-30 06:00:54ahuilletsettitle: Respawn level -> Redesign respawn level logic
2011-09-30 06:00:41ahuilletsetpriority: bug -> feature
messages: + msg1704
2011-09-29 06:25:33Xenuxcreate