Combat: Difference between revisions

5,249 bytes added ,  2 years ago
Moved likeliness to die info from Pikmin family.
No edit summary
(Moved likeliness to die info from Pikmin family.)
Line 84: Line 84:


Enemies have a variety of ways to harm or kill Pikmin, such as deflowering them, burying them, crushing them, eating them, or using another hazard against them. Most enemies have a limit on how many Pikmin they can kill or harm at once in a given attack. For example, a Spotty Bulborb in ''Pikmin'' can only gobble 3 Pikmin at most in a single chomp, but a [[Spotty Bulbear]] can capture up to 5. Some enemies can also harm other enemies or themselves; a prime example is the [[Decorated Cannon Beetle]], a creature that spits boulders which can be led into other enemies or even the creature that launched it.
Enemies have a variety of ways to harm or kill Pikmin, such as deflowering them, burying them, crushing them, eating them, or using another hazard against them. Most enemies have a limit on how many Pikmin they can kill or harm at once in a given attack. For example, a Spotty Bulborb in ''Pikmin'' can only gobble 3 Pikmin at most in a single chomp, but a [[Spotty Bulbear]] can capture up to 5. Some enemies can also harm other enemies or themselves; a prime example is the [[Decorated Cannon Beetle]], a creature that spits boulders which can be led into other enemies or even the creature that launched it.
== Likeliness to die ==
In {{p1}} and {{p2}}, some Pikmin are more likely to die than others, due to engine limitations. It boils down to how the games check which Pikmin should die for any given attack.{{cite youtube|-t_3nXsIhrA|explaining what Pikmin are more likely to die in ''Pikmin''}}{{cite youtube|e8Jw5UoeO4g|explaining what Pikmin are more likely to die in ''Pikmin 2''}} In ''Pikmin 3'' and ''Hey! Pikmin'', although it isn't clear, it seems that the Pikmin closest to the center of the attack are the ones that get hit by it.
The general idea is that each game keeps a list of loaded Pikmin in memory. This list can fit 100 entries, and normally, it starts off empty. When a Pikmin is loaded into memory, it fills in the next vacant slot. In the case of an empty list, this is slot 0. The second Pikmin to be called out fills slot 1, and so on. When an enemy attacks to eat, the game checks every loaded Pikmin to see if it is colliding with the mouth's hitbox, and starts checking slot 0, then slot 1, etc.
This behavior is also used for other enemy-related actions, like a [[Fiery Blowhog]] deciding whether to change targets or to keep the current one, in ''Pikmin''.
=== General case ===
Suppose that a day starts, 100 Pikmin are taken out from Onions, and they are all bundled together within reach of a [[Red Bulborb]]'s bite hitbox, which is an attack that will only chomp 5 Pikmin. The game will check the Pikmin in slot 0, confirm that it is within reach, and add it to the list of eating victims. It would then check slot 1, confirm that that one is as well, and add it. It would check slot 2, confirm that as well, and add it. It would do the same for slots 3 and 4. At this point, since it already added 5 Pikmin to the list of eating victims, it would stop checking, and would let the Bulborb's attack finish with those 5 Pikmin captured in its mouth. In this case, the five Pikmin that fell victim to the attack were the first five ones that got pulled out of the Onions. This means that, when starting a day normally, the first Pikmin that left the Onion are more likely to get eaten.
=== Cases with no "first" Pikmin ===
Above is what happens in the most plain cases, but there are times when the player enters an [[area]] or [[cave]] with a lot of Pikmin, and the player doesn't control the order in which Pikmin load.
In ''Pikmin'', if the player lands on an area with buried Pikmin, those Pikmin are actually not a part of the list of Pikmin, but rather, a list of seeds. A Pikmin is only created and added to the list when it is [[pluck]]ed.
In the case of ''Pikmin 2'', this scenario happens when a cave sublevel is entered, when the player exits a cave and lands on an overworld area along with the Pikmin that escaped, or when the player enters an area that already has buried Pikmin. The Pikmin here are all truly loaded outside of the player's control. The game does however follow an algorithm to decide how to place Pikmin in the area and to fill in the Pikmin list slots:
# Gather information about what Pikmin should be loaded when the area/cave loads. It does not matter how it is sorted.
# For every type of Pikmin declared in the game:
## Check the compiled information to see how many Pikmin of this type must be spawned.
## Spawn that number of Pikmin.
Internally, Pikmin types are declared with Blue Pikmin first. Then comes Red, Yellow, Purple, White, Bulbmin, and [[Pikpik carrot]]. The reasons for this seemingly random order are not known for certain. However, it is possible that a discovery order of Blue→Red→Yellow was planned during [[Pikmin prerelease information|development for ''Pikmin'']], due to Blue Pikmin being the primary type shown off in old trailers.{{cite youtube|7x245evHAhQ|of a prerelease trailer of ''Pikmin'' from 2000}} So regardless, in scenarios where the game has to load multiple Pikmin of different types "at once", Blue Pikmin will be loaded first, meaning they will fill in the first Pikmin slots. If players find themselves in one of these scenarios then Blue Pikmin will be more likely to be eaten, since hitboxes that catch multiple Pikmin will pick the Blue Pikmin first.
As a matter of fact, some players have noticed that, in ''Pikmin 2'', Blue Pikmin seem more likely to die than other types.{{cite web|http://www.ign.com/boards/threads/why-do-blue-pikmin-get-eaten-the-most.172402083/|Why do blue pikmin get eaten the most???|IGN Boards|published={{date|18|October|2008}}|retrieved={{date|15|August|2017}}}}{{cite web|https://www.pikminwiki.com/Forum:Blue_pikmin_get_eaten...alot|Blue pikmin get eaten...alot|Pikipedia|published={{date|9|February|2008}}|retrieved={{date|15|August|2017}}}} This is exactly why.
To note is that if the player lands in a sublevel with [[Bulbmin]] that can be collected after the parent is killed, then those Bulbmin have a higher priority than any of the Pikmin that the player had. After they are added to the player's group and the player heads to the next sublevel, the order of the group returns to the standard order stated above.{{cite youtube|plby2exRS6A|demonstrating how untamed Bulbmin have a higher priority|published={{date|8|August|2020}}|retrieved={{date|12|August|2020}}}}


==See also==
==See also==
*[[Health]]
*[[Health]]
*[[Charge]]
*[[Charge]]
==References==
{{refs}}


{{Pikmin}}
{{Pikmin}}
[[Category:Gameplay]]
[[Category:Gameplay]]