Editing GameobjectParam
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:GameobjectParam}} | {{DISPLAYTITLE:GameobjectParam}} | ||
− | + | List of ''Pikmin 3'' generator objects that have special parameters that can be edited per instance, such as health or drops. | |
− | |||
− | |||
− | + | == Basic Information == | |
− | + | ;Terminology | |
− | + | : | |
− | + | ''Generator name'' = Name used by the generator to spawn objects into the map. Used in <code>/romfs/CMCmn/generator/(MapName)</code> | |
− | |||
− | = | + | ''Object''/''Gameobject'' = Something that spawns into the map when you load the stage. Creatures, obstacles, plants ect. |
− | |||
− | + | ''Float'' = A number ''with'' decimal points. (e.g. 1.5) | |
+ | |||
+ | ''Integer'' = A number ''without'' a decimal. (e.g. 1) | ||
+ | |||
+ | |||
+ | ;An example of a Dwarf Bulborb that has double health, and drops between three and ten raspberries upon death. | ||
+ | : | ||
"Kochappy" | "Kochappy" | ||
Line 32: | Line 34: | ||
{"mEmitRadius" {<0.00000000>} | {"mEmitRadius" {<0.00000000>} | ||
− | {"mDrop"{<4> <1> | + | {"mDrop"{<4> <1> <4> <1.00000000> <"Raspberry"> <3> <10> <0> <0> <1> <1> <1> }} |
{"mMaxLife"<200.00000000>} | {"mMaxLife"<200.00000000>} | ||
− | + | == Enemies/Captains/Pikmin == | |
− | |||
− | == Enemies | ||
− | |||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
− | ! Order || Readable name || | + | ! Order || Readable name || Generator name || Value || Notes |
|- | |- | ||
− | |01 || Creature || - || <code>"< | + | |01 || Creature || - || <code>"<Generator name>"</code> || * [https://pikmintkb.com/wiki/Pikmin_3_identifiers] - Enemies by Generator name. * [https://www.pikminwiki.com/Enemy#In_Pikmin_3] - Enemies by Picture/In game name. |
|- | |- | ||
− | |02 || Tags || - || <code>"" "" ""</code> || The first quote | + | |02 || Tags || - || <code>"" "" ""</code> || The first quote hold this object's tag, the second and third hold the tags of other objects this object wants to know about. For example, a bridge would be <code>"bridge1" "pile1" ""</code> to give itself the name "bridge1" and looks for a partner named "pile1" The tags also seem to be arbitrary. So names like "BlueRiverBridge" or "CaliforniaHawaiiBridge" work. |
|- | |- | ||
|03 || ??? || - || Usually "0005" or "0007" || Unknown | |03 || ??? || - || Usually "0005" or "0007" || Unknown | ||
|- | |- | ||
− | |04 || ??? || | + | |04 || ??? || # Face ID || 0 || Unknown |
|- | |- | ||
− | |05 || ??? || | + | |05 || ??? || # Face Message Table || 0 || Unknown |
|- | |- | ||
|06 || Position || <code>"mPos"</code> || <code><float float float></code> || Location in 3D space. | |06 || Position || <code>"mPos"</code> || <code><float float float></code> || Location in 3D space. | ||
Line 59: | Line 58: | ||
|08 || Rotation || <code>"mPosture"</code> || <code><float float float></code> || Sets X, Y, and Z rotation of the spawned object. | |08 || Rotation || <code>"mPosture"</code> || <code><float float float></code> || Sets X, Y, and Z rotation of the spawned object. | ||
|- | |- | ||
− | |09 || Saving || <code>"mSaveOption" || | + | |09 || Saving || <code>"mSaveOption" || Chart below || Exact use is unknown. Table below for recording it's values. |
|- | |- | ||
|10 || ??? || <code>"mPosAlign" || <code>1</code> || Unknown | |10 || ??? || <code>"mPosAlign" || <code>1</code> || Unknown | ||
Line 67: | Line 66: | ||
|12 || ??? || <code>"mEmitRadius" || <code>0.0</code> || Unknown | |12 || ??? || <code>"mEmitRadius" || <code>0.0</code> || Unknown | ||
|- | |- | ||
− | |13 || Drops || <code>"mDrop" || | + | |13 || Drops || <code>"mDrop" || Chart Below || Items that the object spawns upon death. |
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | | | + | |14 || Health || <code>"mMaxLife"</code> || <code>{<Float>}</code> || For reference Bulborbs have 1000 health, and dirt walls have 6000. |
|- | |- | ||
− | |15 || | + | |15 || Pikmin/Captain ID || <code>"mColor"</code> || <code><Integer></code> || 0 Pikpik carrot, 1 Purple Pikmin, 2 Blue Pikmin, 3 Red Pikmin, 4 White Pikmin, 5 Yellow Pikmin, 6 Winged Pikmin, 7 Rock Pikmin, 8 Alph, 9 Brittany, 10 Charlie, 11 Louie, 12 Olimar |
|- | |- | ||
− | + | |16 || Max Pikmin To Convert || <code>"mSwallowMax"</code> || <code><Integer></code> || Used in Pongashi/Candypop buds to decide when the flower wilts away. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |16 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
− | + | ;Save options | |
+ | ; | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
− | ! Name || Value || Notes | + | ! Name || Value || Use/Notes |
|- | |- | ||
| <code># flag</code> || <code>1</code> || Unknown | | <code># flag</code> || <code>1</code> || Unknown | ||
Line 111: | Line 95: | ||
|} | |} | ||
− | + | ;Drop options | |
+ | ; | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
− | ! Name || Value || Notes | + | ! Name || Value || Use/Notes |
|- | |- | ||
| ??? || <code>4</code> || Unknown | | ??? || <code>4</code> || Unknown | ||
Line 123: | Line 108: | ||
| ??? || <code>1.0</code> || Unknown | | ??? || <code>1.0</code> || Unknown | ||
|- | |- | ||
− | | Item to drop || <code>< | + | | Item to drop || <code><Generator name></code> || Item to spawn |
|- | |- | ||
| Minimum drop amount || <code>1</code> || Minimum amount of items to spawn | | Minimum drop amount || <code>1</code> || Minimum amount of items to spawn | ||
Line 141: | Line 126: | ||
== Obstacles == | == Obstacles == | ||
− | + | ;Bridge piece station | |
+ | : | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
− | ! Readable name || | + | ! Readable name || Generator name || value || Notes |
|- | |- | ||
− | | Bridge | + | | Bridge piece station type || <code>-</code> || <Generator name> || |
|- | |- | ||
| ??? || - || <code>Usually "0005" or "0007"</code> || Unknown | | ??? || - || <code>Usually "0005" or "0007"</code> || Unknown | ||
Line 157: | Line 143: | ||
| Rotation || <code>"mPosture"</code> || <code><float> <float> <float></code> || Sets X, Y, and Z rotation of the spawned object. | | Rotation || <code>"mPosture"</code> || <code><float> <float> <float></code> || Sets X, Y, and Z rotation of the spawned object. | ||
|- | |- | ||
− | | Initial | + | | Initial pieces || <code>"mNendoNum"</code> || <code>10</code> || How many pieces are in the pile upon generation |
|- | |- | ||
| ??? || <code>"mSaveNum2"</code> || <code>1</code> || Unknown | | ??? || <code>"mSaveNum2"</code> || <code>1</code> || Unknown | ||
Line 163: | Line 149: | ||
| ??? || <code>"mWorkRatio"</code> || <code>0.0</code> || Unknown | | ??? || <code>"mWorkRatio"</code> || <code>0.0</code> || Unknown | ||
|- | |- | ||
− | | Bridge color || <code>mColor</code> || <code>0</code> || The color of the bridge. Brown is 0, | + | | Bridge color || <code>mColor</code> || <code>0</code> || The color of the bridge. Brown is 0, Blue is 6, Red is 9. |
|} | |} | ||
{{todo|Complete the list of materials for the ramp.}} | {{todo|Complete the list of materials for the ramp.}} | ||
− | + | ;Bridge | |
+ | : | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
! Readable name || Generator name || value || Notes | ! Readable name || Generator name || value || Notes | ||
|- | |- | ||
− | | Bridge type || <code>-</code> || | + | | Bridge type || <code>-</code> || <Generator name> || |
|- | |- | ||
− | | ??? || - || <code>Usually "0005" or "0007"</code> || | + | | ??? || - || <code>Usually "0005" or "0007"</code> || Unknown |
|- | |- | ||
| Tags || - || <code>"" "" ""</code> || "<This object's tag>" "<Partner's tag>" "<Second partner's tag>" | | Tags || - || <code>"" "" ""</code> || "<This object's tag>" "<Partner's tag>" "<Second partner's tag>" | ||
|- | |- | ||
− | | ??? || <code>"mPosAlign"</ | + | | ??? || <code>"mPosAlign"</clone> || <code>0</code> || Unknown |
|- | |- | ||
− | | Number || <code>"mNum"</ | + | | Number || <code>"mNum"</clone> || <code>1</code> || Amount to spawn, useless in bridges. |
|- | |- | ||
| ??? || <code>"mEmitRadius" || <code>0.0</code> || Unknown | | ??? || <code>"mEmitRadius" || <code>0.0</code> || Unknown | ||
|- | |- | ||
− | | Drops || <code>"mDrop" || Chart above || Items that the object spawns upon death. | + | | Drops || <code>"mDrop" || Chart above|| Items that the object spawns upon death. |
|- | |- | ||
− | | Cutscene || <code>"mDemoIndex" || <code>" | + | | Cutscene || <code>"mDemoIndex" || <code>"<demoID>"</code> || ID's come from the files within <code>/romfs/CMCmn/demo</code> |
|- | |- | ||
| ??? || <code>"mDead"</code> || <code>0</code> || Unknown | | ??? || <code>"mDead"</code> || <code>0</code> || Unknown | ||
Line 192: | Line 179: | ||
| ??? || <code>"mWorkRatio"</code> || <code>0.0</code> || Unknown | | ??? || <code>"mWorkRatio"</code> || <code>0.0</code> || Unknown | ||
|- | |- | ||
− | | Initial pieces || <code>"mInitNum"</code> || <code> | + | | Initial pieces || <code>"mInitNum"</code> || <code>10</code> || How many pieces are in the bridge upon generation |
|- | |- | ||
| Destination || <code>"mEndPos"</code> || <code><float> <float> <float></code> || Where the bridge will end. | | Destination || <code>"mEndPos"</code> || <code><float> <float> <float></code> || Where the bridge will end. | ||
|- | |- | ||
− | | Ramp || <code>"mBase"</code> || <code> | + | | Ramp || <code>"mBase"</code> || <code>1</code> || Dictates if the bridge will have the little dirt ramp. |
|- | |- | ||
− | | Ramp Material || <code>"mMapMaterialName"</code> || <code><2> <material></code> || Dictates the "little ramp" material. Options include: "A_snowB", "A_ground_00" | + | | Ramp Material || <code>"mMapMaterialName"</code> || <code><2> <material></code> || Dictates the "little ramp" material. Options include: "A_snowB", "A_ground_00" |
|- | |- | ||
− | | Bridge color || <code>"mColor"</code> || <code>0</code> || The color of the bridge. Brown is 0, | + | | Bridge color || <code>"mColor"</code> || <code>0</code> || The color of the bridge. Brown is 0, Blue is 6, Red is 9. |
|- | |- | ||
| Invisible wall for long bridges || <code>"mStopperB"</code> || <code>0</code> || Prevents you from throwing the Pikmin across the gap without building the bridge. (Needs verification) | | Invisible wall for long bridges || <code>"mStopperB"</code> || <code>0</code> || Prevents you from throwing the Pikmin across the gap without building the bridge. (Needs verification) | ||
Line 206: | Line 193: | ||
| Invisible wall for short bridges || <code>"mSmallStopper"</code> || <code>0</code> || Prevents you from throwing the Pikmin across the gap without building the bridge. (Needs verification) | | Invisible wall for short bridges || <code>"mSmallStopper"</code> || <code>0</code> || Prevents you from throwing the Pikmin across the gap without building the bridge. (Needs verification) | ||
|- | |- | ||
− | | ??? || <code>"mThrowThrough"</code> || <code>0</code> || | + | | ??? || <code>"mThrowThrough"</code> || <code>0</code> || ??? |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
[[Category:File formats]] | [[Category:File formats]] | ||
[[Category:Pikmin 3]] | [[Category:Pikmin 3]] |