Skip to content

Posts from The intricacies of game mechanics Auto-translated

No ratings yet — be the first to rate!
User Avatar
#16
Auto-translated
For me, it was a revelation that negative morality traits appear twice as often as positive ones.
Сейчас балуюсь этим https://vcmi.eu/download/
За то что нейтралы не бегают за единичкой, для меня это уже стоит того
In reply to Lider1
User Avatar
#17
Auto-translated
Is this a fact, or is there a reason behind this? In other words, is the formula for generating negative morale implemented in this way?
ICQ: 564224919
#18
Auto-translated
Well, when checking for +morale, a random number from 0 to 23 must be less than the stack's morale for it to pass, and when checking for -morale, a random number from 0 to 11 must be less than the stack's -morale for it to take effect.
In reply to Sav
User Avatar
#19
Auto-translated
So, it turns out that it happens twice, even a little more than that.
ICQ: 564224919
In reply to Toganash
User Avatar
#20
Auto-translated
Toganash
So, it turns out to be exactly twice as much, or even a little more.
No, it's exactly twice as much. From 0 to 11, there are 12 values, and from 0 to 23, there are 24.
#22
Auto-translated
And there's also that epic thread about the "Moral Compass"). Only the links to the "Moral Compass" itself are probably outdated by now.
Наполеон в Москву тоже на 133 пришёл ;) (с)
In reply to Sav
User Avatar
#23
Auto-translated
Sav
Well, when checking for +morale, a random number from 0 to 23 must be less than the stack's morale for it to pass, and when checking for -morale, a random number from 0 to 11 must be less than the stack's -morale for it to trigger.
Example: morale +2, then there are 22 values in the unsatisfactory range (since only 0 and 1 are correct), morale -2, then there are 10 values in the unsatisfactory range. Hence, the probability of morale occurring is 2.2 times higher (although there seems to be a different opinion on this in probability theory).
Только в тишине ответит вселенная, только в наших сердцах мы обретем смелость следовать её зову. ;)
#24
Auto-translated
These calculations seem strange. It's simpler: with +2 morale, the chance is 2/24 = 1/12. And with -2 morale, the chance is 2/12 = 1/6. The probabilities of morale not occurring, of course, no longer differ by a factor of 2.
In reply to Sav
User Avatar
#25
Auto-translated
What other options are there?
ICQ: 564224919
In reply to Toganash
User Avatar
#26
Auto-translated
In the current Heroes game, I don't quite understand the turn order. I mean, I know how it's supposed to work in theory, but in practice, it doesn't seem to be happening that way. The implementation of the turn order for units with the same speed on both sides seems to be broken, or maybe I'm just missing something. For example, if I attack and I have a unit with a speed of 18, and the opponent also has a unit with a speed of 18, then I go first. In the second round, the opponent goes. In the third round, the opponent goes again, even though I should be going.
ICQ: 564224919
In reply to Toganash
User Avatar
#27
Auto-translated
Toganash
No, I know how it should work in theory.
So, it seems that's not the case.
Toganash
In the second round, he goes. In the third round, he goes again, even though it should be my turn.
In the second round, the player who went last in the first round goes. In the third and subsequent rounds, the algorithm is the same.
#28
Auto-translated
It doesn't depend on the rounds themselves, but on who made the last move in the round (depending on who initiated the turn, it may be different). I wrote the following a while ago, so I might have missed something; I didn't check it very carefully. Creatures move in this order: 1. If ranged towers haven't moved, they move, starting with the central one. 2. If the catapult hasn't moved, the catapult moves. 3. Stacks (including war machines) move in order of decreasing speed. 4. Stacks that had morale and waited immediately after it activated move in order of increasing speed. 5. Stacks that waited but not after morale activated move in order of increasing speed. If the speed of two stacks is the same, the stack from the opposite side will move first, compared to the side that just moved. At the beginning of the battle, as well as after the catapult's turn, it is considered that the defender just moved (i.e., the attacker has priority for the first move). If the speed of two stacks on the same side is the same, they will move in order of increasing numbers: for the hero, this is the order of stacks in the army from left to right, then the ballista, then the tent, then the summoned creatures in the order of their appearance. For neutrals, it is the order from top to bottom relative to the initial arrangement of stacks, then summoned stacks in the order of their appearance. In dungeons, the order is as follows: upper right - lower right - lower left - upper left - right center - left center. At the same time, the rule for stacks with the same speed is the same both in the normal phase and in the waiting phase: they will not move in reverse order in the latter case. The nature of the speed does not affect anything, nor does the presence of a tactical phase.
In reply to Dirty_Player
User Avatar
#29
Auto-translated
Dirty_Player

In the second round, the player who went last in the 1st round goes.

Apparently, my confusion stemmed from not knowing the last point. Well, I'll check it, thanks.
ICQ: 564224919
User Avatar
#30
Auto-translated
I've heard theories that the AI "sees" the entire map at once.
I'd like to know if this is true or not, or if there's any evidence to support or refute it.
Сейчас балуюсь этим https://vcmi.eu/download/
За то что нейтралы не бегают за единичкой, для меня это уже стоит того