Difference between revisions of "KMP Editing/Cameras"

From Custom Mario Kart
Jump to navigation Jump to search
(made it more completely)
Line 15: Line 15:
 
[[File:CAME_LuigiM.png|1000px]]
 
[[File:CAME_LuigiM.png|1000px]]
  
The '''first two digits''' in the '''first settings box''' indicate the type of camera.  Opening pans have the setting ''05''.  The length of time each camera is displayed is set in '''z5'''. Their values will be ''220'', ''257'' and ''294''; this is to synch the camera transitions with the opening music. Normally, the first 3 cameras listed (by id) will be the three opening pans, but this can vary. There are also normally two unused cameras with setting ''05'' at the end of the listing; these were apparently for setting up the pans shown in the background videos on the track selection screen.
+
The '''first two digits''' in the '''first settings box''' indicate the type of camera.  Opening pans have the setting ''05''.  The length of time each camera is displayed is set in '''z5'''. Their values will be ''220'', ''257'' and ''294''; this is to synch the camera transitions with the opening music.  
These cameras can be edited, but to be safe, make sure to have all five. For [[user:Wiimm|Wimm]]'s analysis go to [[Cameras/Reference#Opening_Pan|Wiimms Opening Pan Analysis]].   
+
 
 +
On VS races a sequence of cameras is shown. The u8 value at offset 0x06 in the CAME section header is the index of the first camera. The next cameras are linked by the u16 value at offset 0x02. Normally 3 cameras are used, but any number can be used. For testing it is good to link the last opening camera to the first to have an unlimited view. For [[user:Wiimm|Wimm]]'s analysis go to [[Cameras/Reference#Opening_Pan|Wiimms Opening Pan Analysis]].   
  
 
[[File:CAME2_LuigiM.png]]
 
[[File:CAME2_LuigiM.png]]

Revision as of 19:29, 27 October 2011

Under Construction
This article is not finished. Help improve it by adding accurate information or correcting grammar and spelling.

Introduction

Improperly configured camera settings can cause game crashes during opening pans, replays and post-match winning laps. Back up your KMP before you start editing.

Good cameras will make your level look much more professional, but editing them can be difficult to master.

Camera Editing

Cameras can be placed like any normal object. The position only matters when using certain camera settings. Cameras are found in the CAME section of the KMP Editor.

Opening Pans

1000px

The first two digits in the first settings box indicate the type of camera. Opening pans have the setting 05. The length of time each camera is displayed is set in z5. Their values will be 220, 257 and 294; this is to synch the camera transitions with the opening music.

On VS races a sequence of cameras is shown. The u8 value at offset 0x06 in the CAME section header is the index of the first camera. The next cameras are linked by the u16 value at offset 0x02. Normally 3 cameras are used, but any number can be used. For testing it is good to link the last opening camera to the first to have an unlimited view. For Wimm's analysis go to Wiimms Opening Pan Analysis.

File:CAME2 LuigiM.png

The last two numbers in the first settings box control the Route used. A value of FF means the camera does not use a route. You can find the Opening Route Sections so:

As example in the pic I used SNES Ghost Valley 2. Take the first CAME with the z5 as 220, here it is CAME ID 11. Take the Route Settings, here it is "0D", or only D.

And now use Hex Calculator: D+1=E
Now convert it to Decimal: E=14
Finally: The first Opening Route Section is Route Section 14.
It also works for Object.

Do it with the other two numbers and you have the Opening Routes for your Opening CAMEs.

Now there is another problem. If you drag the Opening CAMEs, nothing will happen. The Routes are showing to the same points. That is, because the CAMEs with Setting 05 doesn't controll the position of the cameras. They controlls only the Time and can choose the Routes. You have to test the other CAME positions. Drag them to other, diffrent points and experiment which CAMEs choose the Opening Positions.

List off all Opening CAMEs (original Tracks)

<Rating comment=false> Is this list necessary? 1 Yes 2 No </Rating> Please List all Opening CAMEs of the original Tracks here, if you found out some ones.

Original Track Opening CAME ID 1 Opening CAME ID 2 Opening CAME ID 3
Luigis Circuit 4 9 7

CAME Types

File:CAME3 LuigiM.png

  • 00 = Camera immediately after finishing (the one that looks at you)
  • 01 = ObjClip: Stays in one position but always points to the player. Used during replays.
  • 02 = PathSearch
  • 03 = KartFollow
  • 04 = KartPathFollow
  • 05 = Opening Pans
  • 06 = OP_PathMoveAt
  • 07 = MiniGame
  • 08 = MissionSuccess (left over from MKDS)

this list can be found in /race/course/koopa_course.szs/course.0

See also CAME for the description of Settings and other Values.

AREA

File:AREA-LuigiM.png

File:AREA LuigiM 2.png

	menu      AREAtype  7
	item      Camera  0
	item      ObjClip  1
	item      EfControl  2
	item      FogControl  3
	item      PullControl  4
	item      EnemyFall  5
	item      2DmapArea  6

The list of the types can be found in the XML file /Race/Course/koopa_course.szs/course.0

AREA with Type Camera 00 are the acctivators for the CAMEs after the race. If you drive in the near of one AREA after the race, it will acctivate the CAME that is written in the Settings (watch at the pics).

See also Cameras/Reference

See also AREA.

Camera Analysis by MrBean35000vr and Wiimm

Go here Cameras/Reference

Links