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/ | + | 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: |
− | * | + | *caveCameraParms.txt - the camera in caves in the main story and Challenge Mode |
− | * | + | *groundCameraParms.txt - the camera above ground in the main story |
− | * | + | *引きカメラcameraParms.txt - ? |
− | * | + | *撮影cameraParms - ? |
− | * | + | *本物 groundCameraParms - ? |
− | * | + | *本物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). | ||
− | |||
− | |||
==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 | + | 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) | + | | <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) | + | | <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) | + | | <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) | + | | <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) | + | | <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) | + | | <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> | | + | | <code>{clms}</code> || Collision interpolation speed? || コリジョン補間速度 |
|- | |- | ||
− | | <code>{clmh}</code> | | + | | <code>{clmh}</code> || Collision correcting height? || コリジョン補正高 |
|- | |- | ||
− | | <code>{clnh}</code> | | + | | <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> | | + | | <code>{celv}</code> || Light vibration amount? || ELEVATION_LIGHT(vib) |
|- | |- | ||
− | | <code>{cemv}</code> | | + | | <code>{cemv}</code> || Medium vibration amount? || ELEVATION_MIDDLE(vib) |
|- | |- | ||
− | | <code>{cehv}</code> | | + | | <code>{cehv}</code> || Heavy vibration amount? || ELEVATION_HARD(vib) |
|- | |- | ||
− | | <code>{cess}</code> | | + | | <code>{cess}</code> || Slow vibration speed? || ELEVATION_SLOW(speed) |
|- | |- | ||
− | | <code>{cems}</code> | | + | | <code>{cems}</code> || Medium vibration speed? || ELEVATION_MIDDLE(speed) |
|- | |- | ||
− | | <code>{cefs}</code> | | + | | <code>{cefs}</code> || Fast vibration speed? || ELEVATION_FAST(speed) |
|- | |- | ||
− | | <code>{cest}</code> | | + | | <code>{cest}</code> || Short vibration duration? || ELEVATION_SHORT(time) |
|- | |- | ||
− | | <code>{cemt}</code> | | + | | <code>{cemt}</code> || Medium vibration duration? || ELEVATION_MIDDLE(time) |
|- | |- | ||
− | | <code>{celt}</code> | | + | | <code>{celt}</code> || Long vibration duration? || ELEVATION_LONG(time) |
|- | |- | ||
− | | <code>{ceqv}</code> | | + | | <code>{ceqv}</code> || "Hard" vibration amount? || ELEVATION_HARD(Vib) |
|- | |- | ||
− | | <code>{ceqs}</code> | | + | | <code>{ceqs}</code> || "Hard" vibration speed? || ELEVATION_HARD(Speed) |
|- | |- | ||
− | | <code>{ceqt}</code> | | + | | <code>{ceqt}</code> || "Hard" vibration duration? || ELEVATION_HARD(Time) |
|- | |- | ||
− | | <code>{czsv}</code> | | + | | <code>{czsv}</code> || (Zoomed angle) vibration amount? || ZOOM_SHORT(Vib) |
|- | |- | ||
− | | <code>{czss}</code> | | + | | <code>{czss}</code> || (Zoomed angle) vibration speed? || ZOOM_SHORT(Speed) |
|- | |- | ||
− | | <code>{czst}</code> | | + | | <code>{czst}</code> || (Zoomed angle) vibration duration? || ZOOM_SHORT(Time) |
|- | |- | ||
− | | <code>{casv}</code> | | + | | <code>{casv}</code> || "Azimuth" vibration amount? || AZIMUTH_SHORT(Vib) |
|- | |- | ||
− | | <code>{cass}</code> | | + | | <code>{cass}</code> || "Azimuth" vibration speed? || AZIMUTH_SHORT(Speed) |
|- | |- | ||
− | | <code>{cast}</code> | | + | | <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 | ||
|} | |} | ||
− | |||
− | |||
− |