Editing Pikmin 2 area generator file
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | {{ | + | {{note|This page is under construction.}} |
An area's generator files can be found in <code>/user/Abe/map/*</code>. Amongst these, the <code>loop</code> and <code>nonloop</code> folders, as well as the <code>defaultgen.txt</code>, <code>initgen.txt</code>, and <code>plantsgen.txt</code> contain data for what objects to spawn in the area, and how. These text files must be encoded in Shift-JIS, or at least ASCII. To avoid any issues, use [https://notepad-plus-plus.org/download/v7.5.6.html Notepad++] and check the encoding in the bottom right. | An area's generator files can be found in <code>/user/Abe/map/*</code>. Amongst these, the <code>loop</code> and <code>nonloop</code> folders, as well as the <code>defaultgen.txt</code>, <code>initgen.txt</code>, and <code>plantsgen.txt</code> contain data for what objects to spawn in the area, and how. These text files must be encoded in Shift-JIS, or at least ASCII. To avoid any issues, use [https://notepad-plus-plus.org/download/v7.5.6.html Notepad++] and check the encoding in the bottom right. | ||
Line 46: | Line 46: | ||
# '''"{item} {0002}"''' | # '''"{item} {0002}"''' | ||
− | #* Includes | + | #* Includes Hocotate Ship, the Onions, Caves, Weight Blocks, Paper Bags, Gates, Rock Clogs, Nectar Grass, Nectar Pebble, and Bridges. |
+ | #* Some living things as well, like Burgeoning Spirderwort and the Ujadani. | ||
# '''"{piki} {0001}"''' | # '''"{piki} {0001}"''' | ||
#* Includes the main five types of Pikmin. | #* Includes the main five types of Pikmin. | ||
# '''{teki} {0005}''' | # '''{teki} {0005}''' | ||
− | #* Includes all things in the Piklopedia | + | #* Includes all things in the Piklopedia; that is to say, enemies. |
#* An enemy with a treasure in it is part of this group and has a value of that treasure + 768. | #* An enemy with a treasure in it is part of this group and has a value of that treasure + 768. | ||
# '''{pelt} {0000}''' | # '''{pelt} {0000}''' | ||
Line 78: | Line 79: | ||
| {rock} (spiderwort mold) || || Mold is actually called <code>{rock}</code> internally. | | {rock} (spiderwort mold) || || Mold is actually called <code>{rock}</code> internally. | ||
|- | |- | ||
− | | {barl} (rock clog) || || When destroyed, a clog will drain any waterbox it's placed inside; the waterbox is not specified here. | + | | {barl} (rock clog) || || When destroyed, a clog will drain any waterbox it's placed inside; the waterbox is not specified here. A clogged cave entrance is simply a <code>{barl}</code> and <code>{cave}</code> at the same coordinates. |
|- | |- | ||
| {plnt} (Burgeoning Spiderwort) || <code>x #実タイプ</code> ||What kind of berries it grows. 0=spicy 1=bitter 2=mixed. | | {plnt} (Burgeoning Spiderwort) || <code>x #実タイプ</code> ||What kind of berries it grows. 0=spicy 1=bitter 2=mixed. | ||
Line 88: | Line 89: | ||
| {dwfl} (downfloors: weight blocks and paper bags) || <code>x #沈み人数 </code><br><code>x #type </code><br><code>x # 1:seesaw</code><br><code>{XXXX} # id</code> || <code>沈み人数</code>: weight required to press. Only used if <code>1:seesaw</code> is 0. The weight is visible on seesaw blocks but has no effect.<br><code>type</code>: 0=small block, 1=large block, 2=paper bag<br><code>1:seesaw</code>: 0=press permanently, 1=seesaw.<br><code>id</code>: Only used for seesaw blocks. Set 2 blocks to the same ID to pair them. | | {dwfl} (downfloors: weight blocks and paper bags) || <code>x #沈み人数 </code><br><code>x #type </code><br><code>x # 1:seesaw</code><br><code>{XXXX} # id</code> || <code>沈み人数</code>: weight required to press. Only used if <code>1:seesaw</code> is 0. The weight is visible on seesaw blocks but has no effect.<br><code>type</code>: 0=small block, 1=large block, 2=paper bag<br><code>1:seesaw</code>: 0=press permanently, 1=seesaw.<br><code>id</code>: Only used for seesaw blocks. Set 2 blocks to the same ID to pair them. | ||
|- | |- | ||
− | |||
− | |||
− | |||
|} | |} | ||
Line 96: | Line 94: | ||
Entities in the Teki category have by far the most complex parameters of all types, and thus have their own section. | Entities in the Teki category have by far the most complex parameters of all types, and thus have their own section. | ||
− | |||
− | |||
− | |||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
Line 138: | Line 133: | ||
{{credits| [[User:UnclePaul894|UnclePaul894]]}} | {{credits| [[User:UnclePaul894|UnclePaul894]]}} | ||
+ | |||
+ | Note that certain teki will not drop treasures or pellets, even if set to do so. These include fire/electric/poison hazards, bomb rocks, Volatile Dweevils, eggs, Honeywisps, Candypops, Mitites, and Spectralids. (Pellet Posies are functional and can drop treasure/pellets in addition to their normal pellet.) | ||
+ | |||
+ | Additionally, decorative plants and chiyogami paper can spawn a set of 4 yellow Spectralids when touched, if their pellet color is 0 and pellet size is 1. This is only fully functional for Margaret (ID 77) and red large Figwort (ID 50), but other plants can spawn Spectralids if one of the aforementioned plants is also present and set to spawn Spectralids. | ||
[[Category:Pikmin 2]] | [[Category:Pikmin 2]] | ||
[[Category:File formats]] | [[Category:File formats]] |