Difference between revisions of "Pikmin area generator file"

From Pikmin Technical Knowledge Base
Jump to navigation Jump to search
(Ported data from Dude30500's research. Will expand later.)
 
m
Line 3: Line 3:
 
== Types of files ==
 
== Types of files ==
  
*<code>Plant.gen<code> - Plant placements.
+
*<code>Plant.gen</code> - Plant placements.
 
*<code>init.gen</code> - Enemies that spawn when you FIRST load the stage (so modding it and revisiting that modded stage doesn't do anything).
 
*<code>init.gen</code> - Enemies that spawn when you FIRST load the stage (so modding it and revisiting that modded stage doesn't do anything).
 
*<code>default.gen</code> - Seems to have placements of immobile objects (geysers, candypop buds, geysers).
 
*<code>default.gen</code> - Seems to have placements of immobile objects (geysers, candypop buds, geysers).

Revision as of 22:11, 18 February 2017

Pikmin's area generator files can be found in /dataDir/stages/*/*.gen.

Types of files

  • Plant.gen - Plant placements.
  • init.gen - Enemies that spawn when you FIRST load the stage (so modding it and revisiting that modded stage doesn't do anything).
  • default.gen - Seems to have placements of immobile objects (geysers, candypop buds, geysers).
  • day*.gen - Unknown[unsure].

Each enemy spawn has iket, which is the internal name "teki" but reserved once compiled in the middle of the entry.

Pikmin HEX 1.png

Enemy ID (for .gen files) Search for '69 6b 65 74 0a 00 00 00' XX where XX is the ID

  • 00 = Frog
  • 01 = Rock Shooter (unused obstacle)
  • 02 = ? (probably the Rock itself)
  • 03 = Dwarf Bulborb
  • 04 = Spotty Bulborb
  • 05 = ?
  • 06 = ?
  • 07 = pellet posy
  • 08 = Bread Bug
  • 09 = Puffstool
  • 0a = Pearly Clam Clamp
  • 0b = Snitchbug
  • 0c = Breadbug Hole
  • 0d = Lone Pearl (no clam)
  • 0e = Lone Pearl (looks like part) (doesn't drop anything unless parameters changed)
  • 0f = Blowhog
  • 10 = Puffy
  • 11 = Armor Cannon Beetle
  • 12 = Female Sheargrub
  • 13 = Male Sheargrub
  • 14 = Shearwig
  • 15 = Giant Egg
  • 16 = Smoky Progg
  • 17 = Fire Geyser
  • 18 = Mamuta
  • 19 = Tadpole
  • 1a = Error
  • 1b = Error
  • 1c = ?
  • 1d = ?
  • 1e = Dumple
  • 1f = Dwarf Bear
  • 20 = Bulbear
  • 21 = Wolly Wog

You will notice eno1 which shows some parameters, but have been cutoff in the image. The parameter list goes:

  • b00. which is '62 30 30 04' in hex (respawn in 00 00 00 XX days)
  • b01. which is '62 30 31 04' in hex (not sure)
  • p00. which is '70 30 30 04' in hex (not sure)
  • p01. which is '70 30 31 04' in hex (facing angle in integers)
  • p02. which is '70 30 32 04' in hex (spawn amount)

With XX XX XX XX after each parameter which is the value of each