Little Fighter Empire - Forums
stage.dat --> soldier is always unlimited? :o - Printable Version

+- Little Fighter Empire - Forums (https://lf-empire.de/forum)
+-- Forum: Little Fighter 2 Zone (https://lf-empire.de/forum/forumdisplay.php?fid=7)
+--- Forum: LF2 Discussion (https://lf-empire.de/forum/forumdisplay.php?fid=8)
+--- Thread: stage.dat --> soldier is always unlimited? :o (/showthread.php?tid=8049)

Pages: 1 2


stage.dat --> soldier is always unlimited? :o - Kevin - 07-12-2012

Code:
id: 122  x: 100  #milk  ratio: 1
        id: 38 hp: 500 <boss>
        id: 50 hp: 500 <boss>
        id: 3000 hp: 50 times: 4 <soldier>
        id: 3000 hp: 50 times: 4 <soldier>
        id: 1000 hp: 250 ratio: 0.5 times: 2 <soldier>

This is one of the phases (in survival mode)
I don't understand why, but both I and Nullbyte thought we should kill the heroes and inferiors first. But the third hero came!?? I also feel like I already kill more than 10 bandits/hunters, while I'm sure Nullbyte also kill some. So I am sure that the times: x did not work :O .

Why is this? And this happens to the next stages as well. I know that when a char is soldier he can still run out of reserves. But it doesn't happen just now D--:


RE: stage.dat --> soldier is always unlimited? :o - Boop - 07-12-2012

Soldier is supposed to be unlimited. There is a bug where sometimes soldiers stop appearing. Reserve only comes into play if you kill the boss before depleting reserve.


RE: stage.dat --> soldier is always unlimited? :o - Kevin - 07-12-2012

(07-12-2012, 01:19 PM)Lord Silva Wrote:  Soldier is supposed to be unlimited. There is a bug where sometimes soldiers stop appearing. Reserve only comes into play if you kill the boss before depleting reserve.

I guess no? I tested it with bandit times: 2 <soldier> and then hunter <boss>

If I kill bandits only --> the bandit is infinite
If I kill hunter first --> the second bandit doesn't appear

wth, it's just as if the 'times: 2' does not work D: in any way


RE: stage.dat --> soldier is always unlimited? :o - YinYin - 07-12-2012

yeah i also thought times only works for normal opponents

soldiers keep appearing until all bosses are dead so the times is ignored


RE: stage.dat --> soldier is always unlimited? :o - qwertz143 - 07-13-2012

yeah, this is like when in the beginning of stage mode a hero and a bandit + hunter will be there
if you kill only the bandits and hunters they constantly reappear forever :P


RE: stage.dat --> soldier is always unlimited? :o - Kevin - 07-13-2012

WTH
I always thought the jacks and sorcerers in the last phase in stage 5 will run out or reserves eventually (even though it's times: 13). WTH WTH WTH For realll?


RE: stage.dat --> soldier is always unlimited? :o - YinYin - 07-13-2012

yes

if they ever stop respawning its a known bug and that happens rather randomly (and certainly it will be more than 13)


RE: stage.dat --> soldier is always unlimited? :o - Dominate - 07-14-2012

i was trying somtheng and made johns lying state zero. when he appered in stage mod he wasnt dying and because of that the bandits kept of coming.i think its the same thing



RE: stage.dat --> soldier is always unlimited? :o - Silverthorn - 07-14-2012

You can see the effect really nicely in survival-mode. As long as the bosses (generally the ones with the pink com-logos, but there are exceptions, I think) are still there, minions will respawn. However, as soon as the boss is dead AND has disappeared, soldiers will cease to come. Kill a minion while the boss is blinking, the minion will respawn.

I've also noticed that, sometimes, soldiers will stop coming even though the boss is still alive (Glados anyone?). Happens on a rather random basis, so I don't really know how to pin-point the causes of that.

Regarding the "times: 4 <soldier>", I am pretty sure that Marti just copied a line from somewhere else and added the soldier-tag later in the process (maybe he even did stage before <soldier> was implemented?).


RE: stage.dat --> soldier is always unlimited? :o - Ramond - 07-14-2012

(07-14-2012, 09:46 AM)Blue Phoenix Wrote:  I've also noticed that, sometimes, soldiers will stop coming even though the boss is still alive (Glados anyone?). Happens on a rather random basis, so I don't really know how to pin-point the causes of that.

The way I've always thought of it (which most likely is wrong though) is this:

Usually that happens if you take down a boss with reserve. If you kill him and a minion at exactly the same time (meaning they disappear at the same frame (or perhaps with one frame delay)), it might happen that minion will not respawn anymore, even though the new boss just appears.
The <soldier> tag probably checks if there's any <boss> character still active, and if no, it stops spawning. And thus, if <boss> and <soldier> are killed at exactly the same frame, the <soldier> probably checks for the <boss> (who disappears in the same frame, while in the next frame the new <boss> appears), and since he cannot find any active <boss>, he stops spawning.