Difference between revisions of "Pikmin 2 collinfo.txt"

From Pikmin Technical Knowledge Base
Jump to navigation Jump to search
(Created page with "__TOC__ ==What Collinfo Is== within user\Abe\Pellet\us\otakara_texts.szs there are multiple folders each for a different treasure and inside of each treasure folder there is...")
 
 
(3 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
! Property || Description
 
! Property || Description
 
|-
 
|-
| <code>name</code>
+
| <code>child count</code>
| The internal name of the treasure (used when spawning treasures in caves).
+
| wip
|-
 
| <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>
 
| <code>radius</code>
| {{unsure|Collision processing radius?}}
+
| wip
|-
 
| <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>
+
| <code>id</code>
| A value related to treasure collision. This is set to "lod" for most treasures, but "never" when the treasure weighs 1.
+
| wip
|-
 
| <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>
 
| <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.}}
+
| wip
|-
 
| <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>
+
| <code>offset</code>
| Same as previous.
+
| wip
 
|-
 
|-
| <code>depth_d</code>
+
| <code>joint index</code>
| Same as previous.
+
| wip
 
|-
 
|-
| <code>message</code>
+
| <code>attribute</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.
+
| wip
 
|}
 
|}
  
  
 
{|class="wikitable sortable mw-collapsible"  
 
{|class="wikitable sortable mw-collapsible"  
! numberpellet_config file layout
+
! collinfo.txt example
 
<div align="left"><source>
 
<div align="left"><source>
 
1 # child count  
 
1 # child count  

Latest revision as of 04:49, 9 March 2024

What Collinfo Is[edit]

within user\Abe\Pellet\us\otakara_texts.szs there are multiple folders each for a different treasure and inside of each treasure folder there is a animmgr.txt for aminations and a collinfo for collision which we will go in depth here.

Format[edit]

Property Description
child count wip
radius wip
id wip
code wip
offset wip
joint index wip
attribute wip


collinfo.txt example
1 				# child count 
19.143629 			# radius 
{none}				# id 
{____}				# code 
0.000000 -2.000000 -1.000000 	# offset
0 				# joint index
0				# attribute
# child
{
	0				# child count 
	19.143629 			# radius 
	{none}				# id 
	{____}				# code 
	0.000000 -2.000000 -1.000000 	# offset
	0 				# joint index
	0				# attribute
}


Credits: GameCubing8619