Editing Pikmin 2 otakara config.txt

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:
{{DISPLAYTITLE:''Pikmin 2'' otakara_config.txt}}
+
Found under <code>root > user > Abe > (your region)</code> is a list of several .szs folders. Look for the one named <code>pelletlist_(your region)</code>; can be <code>pelletlist_us.szs</code>, <code>pelletlist_pal.szs</code> or <code>pelletlist_jpn.szs</code>. Extract this file to get several txt files, including otakara_config.txt. Inside otakara_config.txt are several blocks that look like the following:
<code>otakara_config.txt</code> is a file that dictates non-Exploration Kit treasure properties in ''Pikmin 2''. <code>item_config.txt</code> is a similar file that lists all Exploration Kit treasures. This page will explain both files.
 
 
 
To find them, go to <code>/user/Abe/Pellet/&lt;region&gt;</code>, where you will see a list of several <code>.szs</code> files. Look for the one named <code>pelletlist_&lt;region&gt;</code>. Extract this file to get several text files, including <code>otakara_config.txt</code> and <code>item_config.txt</code>. The files <code>/user/Abe/Pellet/&lt;region&gt;/otakara_config.txt</code> and <code>/user/Abe/Pellet/&lt;region&gt;/item_config.txt</code> are '''unused''' by the game.
 
 
 
==Format==
 
The first line that's not a comment indicates the number of entries.
 
 
 
Then come a series of blocks, starting and ending with curly braces &ndash; each block is a treasure. Each has a series of properties, one per line, and ends with just the word <code>end</code>. The following properties exist:
 
 
 
{| class="wikitable sortable"
 
! Property || Description
 
|-
 
| <code>name</code>
 
| The internal name of the treasure (used when spawning treasures in caves).
 
|-
 
| <code>archive</code>
 
| Name of the <code>.szs</code> archive containing the model, in </code>/user/Abe/pellet/region</code>.
 
|-
 
| <code>bmd</code>
 
| Name of the [[BMD file|<code>.bmd</code> model]] within the <code>.szs</code> archive.
 
|-
 
| <code>animmgr</code>
 
| File name of the animation manager in <code>otakara_texts.szs</code>.
 
|-
 
| <code>colltree</code>
 
| Name of the collision text file in <code>otakara_texts.szs</code>.
 
|-
 
| <code>radius</code>
 
|  {{unsure|Collision processing radius?}}
 
|-
 
| <code>p_radius</code>
 
| Radius of shadow and where Pikmin pick up the treasure base.
 
|-
 
| <code>height</code>
 
| Height offset of the treasure model.
 
|-
 
| <code>inertiascaling</code>
 
| A number that relates to the moment of inertia, i.e., how much it resists angular change. Higher values translates to higher resistance and reduced wobbling intensity.
 
|-
 
| <code>particletype</code>
 
| {{unknown}}.
 
|-
 
| <code>numparticles</code>
 
| {{unknown}}.
 
|-
 
| <code>particlesize</code>
 
| {{unknown}}.
 
|-
 
| <code>friction</code>
 
| {{unsure|Likely unused.}}
 
|-
 
| <code>min</code>
 
| Minimum Pikmin strength needed to carry.
 
|-
 
| <code>max</code>
 
| Maximum number of Pikmin that can carry.
 
|-
 
| <code>pikicountmax</code>
 
| '''Unused'''. Number of Pikmin treasure produces. Leftover data from pellet files.
 
|-
 
| <code>pikicountmin</code>
 
| '''Unused'''. Same as previous.
 
|-
 
| <code>dynamics</code>
 
| A value related to treasure collision. This is set to "lod" for most treasures, but "never" when the treasure weighs 1.
 
|-
 
| <code>money</code>
 
| Number of Pokos the treasure is worth.
 
|-
 
| <code>unique</code>
 
| If set to no, the treasure will always appear, even if it is already collected.
 
|-
 
| <code>code</code>
 
| {{unsure|Most treasures have a code of 0, but treasures with a code of 1 cannot be grabbed by breadbugs. Exploration kit treasures use a code of 2.}}
 
|-
 
| <code>dictionary</code>
 
| Spot placement in the Treasure Hoard.
 
|-
 
| <code>depth</code>
 
| This and the next values are how you make treasures buried.
 
|-
 
| <code>depth_max</code>
 
| {{unsure|Depth is the most important for this.}}
 
|-
 
| <code>depth_a</code>
 
| {{unsure|These seem to be radii the Pikmin make around the object as they dig it out.}}
 
|-
 
| <code>depth_b</code>
 
| Same as previous.
 
|-
 
| <code>depth_c</code>
 
| Same as previous.
 
|-
 
| <code>depth_d</code>
 
| Same as previous.
 
|-
 
| <code>message</code>
 
| Controls the ID of the ship's announcement message. If not present, no message loads, as is the case with all normal (non-Exploration Kit) treasures.
 
|}
 
 
 
==Example==
 
The following is the example of an entry.
 
 
<pre>
 
<pre>
 
{
 
{
name ahiru
+
name ahiru # The internal name of the treasure
archive ahiru.szs
+
archive ahiru.szs # Location for model details (?)
bmd     ahiru.bmd
+
bmd ahiru.bmd # Same as above (?)
animmgr animmgr.txt
+
animmgr animmgr.txt # Animation details (?)
colltree collInfo.txt
+
colltree collInfo.txt # Collision details (?)
radius     35
+
radius 35 # Radius where pikmin pick up the treasure base. (?)
p_radius 35
+
p_radius 35 # Same as above (?)
height     25
+
height 25 # Same as radius, but for height
inertiascaling 500
+
inertiascaling 500 # (?)
particletyp  simple
+
particletype simple # (?)
numparticles 8
+
numparticles 8 # (?)
particlesize 1
+
particlesize 1 # (?)
friction 0.1
+
friction 0.1 # (?)
min       8
+
min 8 # Min number of Pikmin needed to carry.
max     15
+
max 15 # Max number of Pikmin needed to carry.
pikicountmax 0
+
pikicountmax 0 # Number of Pikmin treasure produces. Leftover data from similar files.
pikicountmin 0
+
pikicountmin 0 # Same as above.
dynamics lod
+
dynamics lod # (?)
money 90
+
money 90 # Number of pokos the treasure is worth.
unique yes
+
unique yes # (?)
code       0
+
code 0 # (?)
dictionary 129
+
dictionary 129 # Spot placement in the Treasure Horde (?)
depth   0
+
depth 0 # (?)
depth_max 25
+
depth_max 25 # (?)
depth_a 15
+
depth_a 15 # (?)
depth_b 20
+
depth_b 20 # (?)
depth_c 37
+
depth_c 37 # (?)
depth_d 37
+
depth_d 37 # (?)
 
end
 
end
 
}
 
}
 
</pre>
 
</pre>
 
[[Category:Pikmin 2]]
 
[[Category:File formats]]
 

Please note that all contributions to Pikmin Technical Knowledge Base are considered to be released under the Creative Commons Attribution-ShareAlike (see Pikmin Technical Knowledge Base:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)

Templates used on this page: