Giter Club home page Giter Club logo

Comments (10)

oleg-derevenetz avatar oleg-derevenetz commented on July 1, 2024 1

if you win the carry over scenario with just elementals or other temporary troops left?

Heroes with empty armies are not supported in fheroes2. If you "win" the battle but you have no army as a result (only summoned or non-true-resurrected units at the end of the battle), then your hero will lose and get a basic starting army (in fact, both sides will lose the battle). In theory you should get the basic starting army as a carry-over army in this case (and you should never get an empty army).

from fheroes2.

oleg-derevenetz avatar oleg-derevenetz commented on July 1, 2024 1

According to my observations, the "carry-over forces" award is used only in scenarios with single hero (which is logical, because if it were possible to hire a lot of heroes, it is not known which hero's troops would need to be carried over). In all cases, the task is to capture the castle. If both heroes are defeated in the process of capturing the castle, then the castle does not change its affiliation (the attacking hero could not enter it), so you just cannot win the scenario in this case, therefore, under normal circumstances, the option when no forces are carried out is not possible.

However, I have made some minor changes, mostly cosmetic (e.g. early assertion) in #8419.

from fheroes2.

zenseii avatar zenseii commented on July 1, 2024

Actually the empty cary over army is due to a dubious save that I had made by making some test code, so this could be a false alarm. The test code would instantly win the scenario so the final battle in the carry over scenario would never happen. The attached save has an empty carry over army, although I guess that could be possible if you win the carry over scenario with just elementals or other temporary troops left? I will need to investigate this.

It could be interesting to see what happens in the OG if you use the 911 code and have no hero with an army.

Perhaps the most logical outcome is to have no carry over award. As for Roland and Archibald in their final missions, I suppose they should start with the armies they have in case you chose the crown scenario instead of the carry over scenario.

from fheroes2.

zenseii avatar zenseii commented on July 1, 2024

I'm reopening this due to the hypothesis from the last post.

from fheroes2.

zenseii avatar zenseii commented on July 1, 2024

If you start the final mission in the OG, then dismiss your hero and type "911" to instantly win, the army of Roland will be just 1 peasant:

image

from fheroes2.

zenseii avatar zenseii commented on July 1, 2024

@oleg-derevenetz

According to my observations, the "carry-over forces" award is used only in scenarios with single hero (which is logical, because if it were possible to hire a lot of heroes, it is not known which hero's troops would need to be carried over).

In the scenario in question you can hire more heroes. The final town you get to can be upgraded and you can hire more than one hero.

In all cases, the task is to capture the castle. If both heroes are defeated in the process of capturing the castle, then the castle does not change its affiliation (the attacking hero could not enter it), so you just cannot win the scenario in this case, therefore, under normal circumstances, the option when no forces are carried out is not possible.

Yes, this is how the original game works. I did some tests earlier to confirm how the original game worked regarding resurrected creatures and when both heroes die (by using Armageddon, for example).

However, I have made some minor changes, mostly cosmetic (e.g. early assertion) in #8419.

One thought I had is if we ever implement cheats like the original game, then the problem of winning without doing the final battle, or without owning a hero, could be a reality.

from fheroes2.

oleg-derevenetz avatar oleg-derevenetz commented on July 1, 2024

The final town you get to can be upgraded and you can hire more than one hero.

IIRC you win the scenario immediately once you capture that town. You have no time to build the castle and hire a hero. Even if you capture the empty town by moving a hero to that town, you still need to move that hero out to recruit a new hero, but once you leave the town screen to move the hero out, the scenario ends.

from fheroes2.

zenseii avatar zenseii commented on July 1, 2024

@oleg-derevenetz.

My comment was a bit ambiguous.

The castle I was referring to is this one:

upgradeable Town

And it's in fact necessary to upgrade this to castle, and likewise in the respective Archibald mission, to build a shipyard and beat the mission.

EDIT: Well, you can get Dimension Door in one of the other towns that have Mage Guild level 5 pre-built, but the map was obviously not made in such a way that it can only be beat due to RNG like that.

from fheroes2.

oleg-derevenetz avatar oleg-derevenetz commented on July 1, 2024

Interesting, if there will be multiple heroes in OG, army of which one will be carried over? Always starting hero, hero who won the last battle, or some other option? In fheroes2 currently it will be the army of hero who won the last battle (literally). So if one hero attacks some wandering stack, won the battle, and then another hero attacks the target castle and there is a draw, then it will be the army of the first hero that will be carried over. Moreover, if there will be no battles at all except the last one, there will be a draw and then the target castle will be captured by some newly hired hero, then no forces will be carried over at all. But this scenario seems almost unbelievable.

from fheroes2.

zenseii avatar zenseii commented on July 1, 2024

@oleg-derevenetz

Interesting, if there will be multiple heroes in OG, army of which one will be carried over? Always starting hero, hero who won the last battle, or some other option?

In fact, this is the campaign award that never stops giving new edge cases :P

In fheroes2 currently it will be the army of hero who won the last battle (literally). So if one hero attacks some wandering stack, won the battle, and then another hero attacks the target castle

That is interesting. I will have to check that. I suppose it's worth it to figure out the best solution because it could be possible, though I don't know if this will be that case, that carry over forces could be added as a possibility to have in custom campaigns.

and there is a draw, then it will be the army of the first hero that will be carried over.

Moreover, if there will be no battles at all except the last one, there will be a draw and then the target castle will be captured by some newly hired hero, then no forces will be carried over at all. But this scenario seems almost unbelievable.

Yes, I have seen AI players casting Armageddon and killing themselves, but I'm not sure if that AI player would try to surrender in fheroes2 (depends on what level they have and artifacts), and what spells they have.

from fheroes2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.