Cave unit: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
m (Linked to Randomness.)
Line 87: Line 87:
File:P2CU_room_north2x2_1_metal.jpg|'''room_north2x2_1_metal''': T-shaped room with only one exit.
File:P2CU_room_north2x2_1_metal.jpg|'''room_north2x2_1_metal''': T-shaped room with only one exit.
File:P2CU_room_north_1_metal.jpg|'''room_north_1_metal''': Circular room with only one exit.
File:P2CU_room_north_1_metal.jpg|'''room_north_1_metal''': Circular room with only one exit.
File:P2CU_room_white14x12_metal.jpg|'''room_white14x12_metal''': Soil room with shine lighting through the ceiling, connected to a metal room and a smalll circular room by corridors. This is where [[White Pikmin]] are found, and is only used on sublevel 3 of the [[White Flower Garden]].
File:P2CU_room_white14x12_metal.jpg|'''room_white14x12_metal''': Soil room with shine lighting through the ceiling, connected to a metal room and a small circular room by corridors. This is where [[White Pikmin]] are found, and is only used on sublevel 3 of the [[White Flower Garden]].
File:P2CU_way2x2_metal.jpg|'''way2x2_metal''': Straight corridor, 1x2.
File:P2CU_way2x2_metal.jpg|'''way2x2_metal''': Straight corridor, 1x2.
File:P2CU_way2_metal.jpg|'''way2_metal''': Straight corridor.
File:P2CU_way2_metal.jpg|'''way2_metal''': Straight corridor.

Revision as of 00:10, December 9, 2014

Caves in Pikmin 2 are made out of randomly placed units. There are units that represent dead ends, corridors, crossings, and rooms. Every cave's sublevel has a list of units that can be used by the game to create it; the latter is then responsible to randomly align the units in order to create a level with no unconnected exits.

There are three types of units, as defined by the "room type" property, defined in the sublevel unit definition text files:

  • Dead ends/alcoves: These close off pathways and exits of rooms. Internally, these are called "caps", and their "room type" is 0.
  • Corridors: pathways and corridors that normally don't have any special features; their walls decide the path or paths the player can take. Their "room type" is 2.
  • Rooms: decorated and often large rooms, featuring walls and objects organized in a certain fashion. Their "room type" is 1.

In 2-Player Battle, for all caves excluding the Dim Labyrinth, there is a static list of units to use, as well as their position and rotation. Instead of the game generating a cave using the available units, it only has to pick one of the available static layouts.

List of units

The following is a list of all existing units in Pikmin 2, used and unused.

Concrete

Garden

Metal

Snow

Soil

Toybox

Tiles

Others

Pathways with items

The following units are copies of the regular pathway units, but presumed to have items (normally eggs) in them, judging by the names. All of these are unused.

Near duplicates

These units are near duplicates of existing units, differing only on certain internal files. These duplicates could exist for a variety of reasons, but most of the time, it's to change the general layout of an existing unit, for the purposes of the cave or the objects within.

2-Player variants

As with the previous section, these units are near duplicates of existing units, but with layout.txt changed to fit the 2-Player Battle arenas.