Lemmings Forums

NeoLemmix => Bugs & Suggestions => Closed => Topic started by: Minim on November 13, 2019, 07:27:37 AM

Title: [SUG][PLAYER] Normal lemmings appear behind neutrals
Post by: Minim on November 13, 2019, 07:27:37 AM
Found this bug while playing a contest level. See attachment below.

In this two-image file, the one at the bottom is how it looks when I hover the cursor over the lemming. That's OK. The one at the top is what it looks like without the cursor. I don't know if this is always the case, but my suggestion is that normal lemmings should always appear in front of neutrals without the player having to hover the cursor over one.
Title: Re: [BUG][PLAYER] Normal lemmings appear behind neutrals
Post by: IchoTolot on November 13, 2019, 11:39:47 AM
That's a good catch! :)

I would be in favor of that, as it's always more important to see the normal lemmings.
Title: Re: [BUG][PLAYER] Normal lemmings appear behind neutrals
Post by: Strato Incendus on November 13, 2019, 12:23:54 PM
...and you can only assign skills to normal lemmings anyway.

Support also from me! :thumbsup:
Title: Re: [BUG][PLAYER] Normal lemmings appear behind neutrals
Post by: namida on November 13, 2019, 05:43:58 PM
There's no bug here - the design has always been "more recently-spawned lemmings appear in front". Neutral or zombie has no effect on this, so it isn't a bug that neutrals appear in front if they've spawned more recently - and I can indeed confirm that if the regular lemming is spawned more recently, he'll appear in front instead.

However, as a suggestion to change this rule in the case of neutrals, yep - I agree. Renamed the topic accordingly, and will look into this in future updates.
Title: Re: [SUG][PLAYER] Normal lemmings appear behind neutrals
Post by: namida on November 26, 2019, 06:52:49 PM
Okay, so existing behaviour was as described (more-recently spawned lemmings appear in front) with one exception - the "selected" lemming is drawn furthest to front no matter what.

For future updates (V12.7.X updates included, if the code backports to it nicely, which I don't see any reason why it shouldn't), there are a few factors in determining priority. From furthest-to-front to furthest-to-back:
1. Selected lemming
2. Highlit lemming
3. Athletes
4. Regular lemmings
5. Athlete neutrals
6. Regular neutrals
7. Athlete zombies
8. Regular zombies

For the purpose of this, a zombie-neutral counts as a zombie, not as a neutral or as both.

(Before I release any update with this - any thought on whether we should have a priority rule between walkers vs other actions, or any other feedback on the above proposal?)
Title: Re: [SUG][PLAYER] Normal lemmings appear behind neutrals
Post by: namida on November 28, 2019, 06:45:13 AM
V12.7.2 implements the above prioritization. As such I'm closing this topic now - if anyone feels changes are needed to the prioritization, please create a new topic.