mailtolyh 发表于 2011-3-26 18:28

AI改哪里让电视视角的摄像机能ZOOM近一些

// Height of the camera (meters) - above the field
TCM_CAM_HEIGHT = 30
// Horizontal distance of the camera from the focus-target (meters) - this moves the camera on the X axis in the positive direction
TCM_CAM_DEPTH_DIST = 80
// This is the lens angle of the camera view (degrees)
TCM_CAM_LENSE_ANGLE = 13
// This defines how less movement should the camera-position do compared to the camera-target (along the Z axis)
// Example: if this is 1.0 - the camera is moving simultaneously with the focus target along the Z axis (field length)
// Example: if this is 0.5 and the focus target is on the goal - the camera moves to 50% of the field
TCM_CAM_HORIZONTAL_FOLLOWING = 1.0
// Boundaries of the camera position along the Z axis (field length)
// Example: 1.0 means the camera position doesn't cross the goal-line
// Example: approx 0.7 means the camera position doesn't cross the penalty box line
TCM_CAM_HORIZONTAL_BOUNDS = 0.77
// Boundaries of the camera position along the X axis (across the field)
// Example: 1.0 would look like there is an imaginary wall on the side-line that the camera doesn't cross
// Example: 2.0 would work like an imaginary wall that is half_field_width out of the field that stops the camera
TCM_CAM_DEPTH_BOUNDS = 3.5
// Means the distance to the near clipping plane of the camera (meters)
// This can be used to avoid the stadium roof covering the view (it cutts-off anything that is nearer than this plane)
TCM_CAM_NEAR_CLIP = 86
// This limits the camera focus target position on the field (along the Z axis)
// Example: 1.0 means the target can go up to the goalline
// Example: 0.75 means the target can go approx up to the penalty box line
// This parameter can be used to avoid the camera to show too much of the spectators - if the ball is near the goalline
TCM_CAM_TARGET_HORIZONTAL_BOUNDS = 0.77
// This limits the camera focus target position on the field (along the X axis)
// Example: 1.0 means the target can go up the the sideline
// This parameter can be used to avoid the camera to show too much of the spectators - if the ball is near the sideline
TCM_CAM_TARGET_DEPTH_BOUNDS = 0.37
页: [1]
查看完整版本: AI改哪里让电视视角的摄像机能ZOOM近一些