Editing Pikmin 2 camera parameters

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:
In ''Pikmin 2'', the files that define the camera's position and motion can be found in <code>/user/Nishimura/Camera</code>. There are six camera parameter files:
+
In ''Pikmin 2'', the files that define the camera's position and motion can be found in <code>/user/NIshimura/Camera</code>. There are six camera parameter files:
*<code>caveCameraParms.txt</code> - the camera in caves in the main story and Challenge Mode
+
*caveCameraParms.txt - the camera in caves in the main story and Challenge Mode
*<code>groundCameraParms.txt</code> - the camera above ground in the main story
+
*groundCameraParms.txt - the camera above ground in the main story
*<code>引きカメラcameraParms.txt</code> - Unused
+
*引きカメラcameraParms.txt - ?
*<code>撮影cameraParms</code> - Unused
+
*撮影cameraParms - ?
*<code>本物 groundCameraParms</code> - Unused
+
*本物 groundCameraParms - ?
*<code>本物caveCameraParms</code> - Unused
+
*本物caveCameraParms - ?
  
 
Each parameter file has two identical sets of parameters (CameraParms) for the camera in question, and then a set of parameters for vibrating the camera when a leader gets hurt or something is meant to shake the screen (VibrationParms).
 
Each parameter file has two identical sets of parameters (CameraParms) for the camera in question, and then a set of parameters for vibrating the camera when a leader gets hurt or something is meant to shake the screen (VibrationParms).
 
__TOC__
 
  
 
==CameraParms==
 
==CameraParms==
This block has a large number of parameters that determine where the camera is at its various zooms and angles. All content in these parameters consist of two words. The first word is a number describing the parameter's type: <code>4</code> for numbers and <code>-1</code> for strings. The second word is the actual value of the parameter, the one you can modify. Only numbers appear in these parameter files.
+
This block has a large number of parameters that determine where the camera is at its various zooms and angles. All content in these parameters consist of two words. The first word is a number, 4 for numbers and -1 for strings. The second word is the actual value of the parameter - the one you can modify. Only numbers appear in these parameter files.
  
 
The comments indicate the angle of the camera in question. "Near", "Mid", and "Far" are comments representing zooms, "(Low)" and "(High)" are comments representing angles, and "ZOOM" is the special behind-leader camera activated by holding the R button in game. Each parameter reflects these comments by containing initials of the angle. For example, parameters about the near, low camera angle will contain "<code>nl</code>" in their name.
 
The comments indicate the angle of the camera in question. "Near", "Mid", and "Far" are comments representing zooms, "(Low)" and "(High)" are comments representing angles, and "ZOOM" is the special behind-leader camera activated by holding the R button in game. Each parameter reflects these comments by containing initials of the angle. For example, parameters about the near, low camera angle will contain "<code>nl</code>" in their name.
Line 28: Line 26:
 
| <code>{cnlo}</code> || (Near distance, Low angle) Vertical offset. || Near(Low)オフセット
 
| <code>{cnlo}</code> || (Near distance, Low angle) Vertical offset. || Near(Low)オフセット
 
|-
 
|-
| <code>{cnlw}</code> || (Near distance, Low angle) {{unknown|Weighted distribution?}} || Near(Low)ウェイト
+
| <code>{cnlw}</code> || (Near distance, Low angle) Weighted distribution? || Near(Low)ウェイト
 
|-
 
|-
 
| <code>{nldt}</code> || (Near distance, Low angle) Tolerance to shift the camera to include all a leader's Pikmin in the frame. || Near(Low)Detached
 
| <code>{nldt}</code> || (Near distance, Low angle) Tolerance to shift the camera to include all a leader's Pikmin in the frame. || Near(Low)Detached
Line 44: Line 42:
 
| <code>{cmlo}</code> || (Medium distance, Low angle) Vertical offset. || Mid(Low)オフセット
 
| <code>{cmlo}</code> || (Medium distance, Low angle) Vertical offset. || Mid(Low)オフセット
 
|-
 
|-
| <code>{cmlw}</code> || (Medium distance, Low angle) {{unknown|Weighted distribution?}} || Mid(Low)ウェイト
+
| <code>{cmlw}</code> || (Medium distance, Low angle) Weighted distribution? || Mid(Low)ウェイト
 
|-
 
|-
 
| <code>{mldt}</code> || (Medium distance, Low angle) Tolerance to shift the camera to include all a leader's Pikmin in the frame. || Mid(Low)Detached
 
| <code>{mldt}</code> || (Medium distance, Low angle) Tolerance to shift the camera to include all a leader's Pikmin in the frame. || Mid(Low)Detached
Line 60: Line 58:
 
| <code>{cflo}</code> || (Far distance, Low angle) Vertical offset. || Far(Low)オフセット
 
| <code>{cflo}</code> || (Far distance, Low angle) Vertical offset. || Far(Low)オフセット
 
|-
 
|-
| <code>{cflw}</code> || (Far distance, Low angle) {{unknown|Weighted distribution?}} || Far(Low)ウェイト
+
| <code>{cflw}</code> || (Far distance, Low angle) Weighted distribution? || Far(Low)ウェイト
 
|-
 
|-
 
| <code>{fldt}</code> || (Far distance, Low angle) Tolerance to shift the camera to include all a leader's Pikmin in the frame. || Far(Low)Detached
 
| <code>{fldt}</code> || (Far distance, Low angle) Tolerance to shift the camera to include all a leader's Pikmin in the frame. || Far(Low)Detached
Line 76: Line 74:
 
| <code>{cnho}</code> || (Near distance, High angle) Vertical offset. || Near(High)オフセット
 
| <code>{cnho}</code> || (Near distance, High angle) Vertical offset. || Near(High)オフセット
 
|-
 
|-
| <code>{cnhw}</code> || (Near distance, High angle) {{unknown|Weighted distribution?}} || Near(High)ウェイト
+
| <code>{cnhw}</code> || (Near distance, High angle) Weighted distribution? || Near(High)ウェイト
 
|-
 
|-
 
| <code>{nhdt}</code> || (Near distance, High angle) Tolerance to shift the camera to include all a leader's Pikmin in the frame. || Near(High)Detached
 
| <code>{nhdt}</code> || (Near distance, High angle) Tolerance to shift the camera to include all a leader's Pikmin in the frame. || Near(High)Detached
Line 92: Line 90:
 
| <code>{cmho}</code> || (Medium distance, High angle) Vertical offset. || Mid(High)オフセット
 
| <code>{cmho}</code> || (Medium distance, High angle) Vertical offset. || Mid(High)オフセット
 
|-
 
|-
| <code>{cmhw}</code> || (Medium distance, High angle) {{unknown|Weighted distribution?}} || Mid(High)ウェイト
+
| <code>{cmhw}</code> || (Medium distance, High angle) Weighted distribution? || Mid(High)ウェイト
 
|-
 
|-
 
| <code>{mhdt}</code> || (Medium distance, High angle) Tolerance to shift the camera to include all a leader's Pikmin in the frame. || Mid(High)Detached
 
| <code>{mhdt}</code> || (Medium distance, High angle) Tolerance to shift the camera to include all a leader's Pikmin in the frame. || Mid(High)Detached
Line 108: Line 106:
 
| <code>{cfho}</code> || (Far distance, High angle) Vertical offset. || Far(High)オフセット
 
| <code>{cfho}</code> || (Far distance, High angle) Vertical offset. || Far(High)オフセット
 
|-
 
|-
| <code>{cfhw}</code> || (Far distance, High angle) {{unknown|Weighted distribution?}} || Far(High)ウェイト
+
| <code>{cfhw}</code> || (Far distance, High angle) Weighted distribution? || Far(High)ウェイト
 
|-
 
|-
 
| <code>{fhdt}</code> || (Far distance, High angle) Tolerance to shift the camera to include all a leader's Pikmin in the frame. || Far(High)Detached
 
| <code>{fhdt}</code> || (Far distance, High angle) Tolerance to shift the camera to include all a leader's Pikmin in the frame. || Far(High)Detached
Line 124: Line 122:
 
| <code>{clcr}</code> || Collision radius. "Collision" is when the camera attempts to remove visual obstructions to the leader. || コリジョン半径
 
| <code>{clcr}</code> || Collision radius. "Collision" is when the camera attempts to remove visual obstructions to the leader. || コリジョン半径
 
|-
 
|-
| <code>{clms}</code> || {{unknown|Collision interpolation speed?}} || コリジョン補間速度
+
| <code>{clms}</code> || Collision interpolation speed? || コリジョン補間速度
 
|-
 
|-
| <code>{clmh}</code> || {{unknown|Collision correcting height?}} || コリジョン補正高
+
| <code>{clmh}</code> || Collision correcting height? || コリジョン補正高
 
|-
 
|-
| <code>{clnh}</code> || {{unknown|Ceiling value for collision correction?}} || コリジョン無し高
+
| <code>{clnh}</code> || Ceiling value for collision correction? || コリジョン無し高
 
|-
 
|-
 
| <code>{cpmd}</code> || Camera acceleration when moving or changing angles. || 設定変更速度
 
| <code>{cpmd}</code> || Camera acceleration when moving or changing angles. || 設定変更速度
Line 143: Line 141:
 
|}
 
|}
  
==VibrationParms==
+
===VibrationParms===
 
This block controls how the camera moves when the screen is meant to shake, such as when a leader is hurt or when a Wollywog lands.
 
This block controls how the camera moves when the screen is meant to shake, such as when a leader is hurt or when a Wollywog lands.
  
Line 152: Line 150:
 
! Parameter || Description || Japanese comment
 
! Parameter || Description || Japanese comment
 
|-
 
|-
| <code>{celv}</code> || {{unknown|Light vibration amount?}} || ELEVATION_LIGHT(vib)
+
| <code>{celv}</code> || Light vibration amount? || ELEVATION_LIGHT(vib)
 
|-
 
|-
| <code>{cemv}</code> || {{unknown|Medium vibration amount?}} || ELEVATION_MIDDLE(vib)
+
| <code>{cemv}</code> || Medium vibration amount? || ELEVATION_MIDDLE(vib)
 
|-
 
|-
| <code>{cehv}</code> || {{unknown|Heavy vibration amount?}} || ELEVATION_HARD(vib)
+
| <code>{cehv}</code> || Heavy vibration amount? || ELEVATION_HARD(vib)
 
|-
 
|-
| <code>{cess}</code> || {{unknown|Slow vibration speed?}} || ELEVATION_SLOW(speed)
+
| <code>{cess}</code> || Slow vibration speed? || ELEVATION_SLOW(speed)
 
|-
 
|-
| <code>{cems}</code> || {{unknown|Medium vibration speed?}} || ELEVATION_MIDDLE(speed)
+
| <code>{cems}</code> || Medium vibration speed? || ELEVATION_MIDDLE(speed)
 
|-
 
|-
| <code>{cefs}</code> || {{unknown|Fast vibration speed?}} || ELEVATION_FAST(speed)
+
| <code>{cefs}</code> || Fast vibration speed? || ELEVATION_FAST(speed)
 
|-
 
|-
| <code>{cest}</code> || {{unknown|Short vibration duration?}} || ELEVATION_SHORT(time)
+
| <code>{cest}</code> || Short vibration duration? || ELEVATION_SHORT(time)
 
|-
 
|-
| <code>{cemt}</code> || {{unknown|Medium vibration duration?}} || ELEVATION_MIDDLE(time)
+
| <code>{cemt}</code> || Medium vibration duration? || ELEVATION_MIDDLE(time)
 
|-
 
|-
| <code>{celt}</code> || {{unknown|Long vibration duration?}} || ELEVATION_LONG(time)
+
| <code>{celt}</code> || Long vibration duration? || ELEVATION_LONG(time)
 
|-
 
|-
| <code>{ceqv}</code> || {{unknown|"Hard" vibration amount?}} || ELEVATION_HARD(Vib)
+
| <code>{ceqv}</code> || "Hard" vibration amount? || ELEVATION_HARD(Vib)
 
|-
 
|-
| <code>{ceqs}</code> || {{unknown|"Hard" vibration speed?}} || ELEVATION_HARD(Speed)
+
| <code>{ceqs}</code> || "Hard" vibration speed? || ELEVATION_HARD(Speed)
 
|-
 
|-
| <code>{ceqt}</code> || {{unknown|"Hard" vibration duration?}} || ELEVATION_HARD(Time)
+
| <code>{ceqt}</code> || "Hard" vibration duration? || ELEVATION_HARD(Time)
 
|-
 
|-
| <code>{czsv}</code> || {{unknown|(Zoomed angle) vibration amount?}} || ZOOM_SHORT(Vib)
+
| <code>{czsv}</code> || (Zoomed angle) vibration amount? || ZOOM_SHORT(Vib)
 
|-
 
|-
| <code>{czss}</code> || {{unknown|(Zoomed angle) vibration speed?}} || ZOOM_SHORT(Speed)
+
| <code>{czss}</code> || (Zoomed angle) vibration speed? || ZOOM_SHORT(Speed)
 
|-
 
|-
| <code>{czst}</code> || {{unknown|(Zoomed angle) vibration duration?}} || ZOOM_SHORT(Time)
+
| <code>{czst}</code> || (Zoomed angle) vibration duration? || ZOOM_SHORT(Time)
 
|-
 
|-
| <code>{casv}</code> || {{unknown|"Azimuth" vibration amount?}} || AZIMUTH_SHORT(Vib)
+
| <code>{casv}</code> || "Azimuth" vibration amount? || AZIMUTH_SHORT(Vib)
 
|-
 
|-
| <code>{cass}</code> || {{unknown|"Azimuth" vibration speed?}} || AZIMUTH_SHORT(Speed)
+
| <code>{cass}</code> || "Azimuth" vibration speed? || AZIMUTH_SHORT(Speed)
 
|-
 
|-
| <code>{cast}</code> || {{unknown|"Azimuth" vibration duration?}} || AZIMUTH_SHORT(Time)
+
| <code>{cast}</code> || "Azimuth" vibration duration? || AZIMUTH_SHORT(Time)
 
|-
 
|-
 
| <code>{cmdm}</code> || Maximum distance the camera can be vibrated. || Vib Max Distance
 
| <code>{cmdm}</code> || Maximum distance the camera can be vibrated. || Vib Max Distance
 
|}
 
|}
 
[[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: