# DO NOT RE-ORDER THE LINES IN THIS FILE
# 
# these numbers appear to have names, but in reality the
# numbers are read in-order, directly into memory.  the names are
# for human-readability only
# this means that
#	SLEDCAM_RELATIVE_POSITION_Y	2.5 
#	SLEDCAM_RELATIVE_POSITION_Z	-2.5 
# is different than
#	SLEDCAM_RELATIVE_POSITION_Z	-2.5 
#	SLEDCAM_RELATIVE_POSITION_Y	2.5 
#
# also note: new variables must be added to the end of this file
# to maintain backwards compatibility with previous versions

VERSION		2

# default position of camera, relative to sled
# note that this only describes the location of the sled while it is stationary!
# the position of the camera will change when the sled is moving (0, 2.5, -4)
SLEDCAM_RELATIVE_POSITION_X	0.05  # 0.05 is not visibly different than 0, but this helps the camera swing around a sled in reverse 
SLEDCAM_RELATIVE_POSITION_Y	3.0   #was 2.5
SLEDCAM_RELATIVE_POSITION_Z	-1.85  #was -2.5
SLEDCAM_RELATIVE_POSITION_W	1.0   # never change this

# this defines how much the target of the camera is above the sled
# for more target adjustments, see SLEDCAM_LATERAL_* at the end of the file
SLEDCAM_HEIGHT_INCREASE	0.7

#how much does the sled's vertical velocity affect where we are looking?
#XXX - these may need to change if gravity changes (-0.075)
SLEDCAM_VELOCITY_LOOK_INFLUENCE	 -0.075  

# prevent the sled from falling off of the bottom of the screen (.9, 1.10)
# note, this is limited by SLEDCAM_MAX_LOOK_ADJUST
SLEDCAM_MAX_VELOCITY_LOOK_ADJUST	0.9 

# limit the total vertical adjustment of the sled on the screen
# currently, the vertical position can be changed by
# SLEDCAM_VELOCITY_LOOK_INFLUENCE and SLEDCAM_MOTION_LOWER_SCALE
# these each have their own maximum values, but there needs to
# be a global maximum
SLEDCAM_MAX_LOOK_ADJUST	0.2 #was 1.2

#the speed at which we rotate the camera about the sled in order to get to the ideal pos
#xxx - will have to change if the turning radius of the sled changes (1.5, 3.2)

#increase per second (use 0 to revert to the old swing)
SLEDCAM_SWING_MULTIPLIER_INCREASE	4.6 #was 9.6
#max multiplier
SLEDCAM_SWING_MULTIPLIER_MAX		3.0 #was 3.0

SLEDCAM_ANGLE_CATCHUP_SPEED 2.5 #was 1.5					    <--important	
#the speed at which we "zoom in" towards the sled
#xxx - will have to change if the sled's max speed increases/decreases (6.5)
SLEDCAM_DISTANCE_CATCHUP_SPEED	8.5 #was 8.5                                       <--important

########### position of camera
# lowest level of speed that is meaningful in the sled's velocity vector
SLEDCAM_MEANINGFUL_X_VELOCITY	0.0 
SLEDCAM_MEANINGFUL_Y_VELOCITY	0.0 
SLEDCAM_MEANINGFUL_Z_VELOCITY	0.0 
SLEDCAM_MEANINGFUL_W_VELOCITY	1.0 	# never change this
#
SLEDCAM_MAX_Y_VELOCITY	2.0 
# scale factors for the individual velocity components
SLEDCAM_VELOCITY_SCALE_X	1.0 
SLEDCAM_VELOCITY_SCALE_Y	1.0 
SLEDCAM_VELOCITY_SCALE_Z	1.0 
SLEDCAM_VELOCITY_SCALE_W	1.0 	# never change this
# how much does velocity influence the ideal position of the camera? (0.01f)
SLEDCAM_VELOCITY_INFLUENCE	0.5 
########### 

# This is the radius of the cone, at the height of the sled.
Cone_radius_at_sled		1.0 #was 2.0

# This determines how much wider the cone will be at a non-zero height above 
# the sled.  A value of zero will result in a cylinder instead of a cone.
Cone_radius_increase	1.0

########### jumps
#when we leave the ground, the camera rotates up at this speed
SLEDCAM_JUMP_ROTATE_SPEED	1.5     #was 4.0 
#this is the maximum rotation for the camera
SLEDCAM_JUMP_ROTATE_MAX		0.0 
#at some point, the camera slowly returns to the original position
#lag time between peak and down rotation
SLEDCAM_JUMP_RETURN_LAG		10.0 #was 0.25
#how quickly the camera rotates back to the normal position
SLEDCAM_JUMP_RETURN_SPEED	3.0 
#the camera will continue rotating down until it gets to this rotation (-2.2)
SLEDCAM_JUMP_RETURN_OVERSHOOT	-1.2 
#land smoothly if we don't reach this height
SLEDCAM_JUMP_HEIGHT_FOR_SHOCK	2.0 

########### landing shock
# how long (in seconds) the shock will last - negative to disable the artificial landing shock (0.2 ) 
SLEDCAM_SHOCK_TIME	4.0 
# (negative) the minimum vertical speed required for a shock to take place (-5.0)
SLEDCAM_SHOCK_INSIGNIFICANT_SPEED	-5.0 
# this determines how quickly/severely the camera will hit the ground during a shock 
# 1.0 - not noticable.  2.0 - extremely noticable (1.3)
SLEDCAM_SHOCK_VERTICAL_MOVE	2.0 

########### clutch-based camera lowering
# how low the camera will go (1.1)
SLEDCAM_CLUTCH_INFLUENCE	1.7 
# how quickly the camera levels out once the sled finishes bucking (0.9)
SLEDCAM_LEVEL_SPEED	3.4 
# time between when the clutch engages and when the camera begins lowering (0.25)
SLEDCAM_CLUTCH_LAG_TIME	0.1 
# how long the skis must be in the air for their landing to stop a camera buck
SLEDCAM_SKI_MIN_AIR_TIME 0.02 

########### extra land between sled and the bottom of the screen

#determines how much the sled will lower in the screen, based on its distance from the camera (0.1)
SLEDCAM_MOTION_LOWER_SCALE	0.1 
#the maximum amount that the sled will lower (1.2)
# note, this is limited by SLEDCAM_MAX_LOOK_ADJUST
SLEDCAM_MOTION_LOWER_MAX	1.2 

########### acceleration camera effects
# the acceleration effects are created in two ways
# 1 - when the sled accelerates, the camera does not catch up as quickly
# 2 - while the sled's RPM are below the engagement point, the camera
#     will lower based on the sled's RPM.

#how much to adjust SLEDCAM_DISTANCE_CATCHUP_SPEED
SLEDCAM_ACCEL_INFLUENCE		-6.0 

#The sled's acceleration will be clamped to these values.
#In other words, there will be no acceleration effect if the
#sled is accelerating at a rate less than SLEDCAM_ACCEL_MIN.
#If the sled is accelerating faster than SLEDCAM_ACCEL_MAX,
#the effect will be equivalent to an acceleration equal
#to SLEDCAM_ACCEL_MAX
SLEDCAM_ACCEL_MIN	4.0 
SLEDCAM_ACCEL_MAX	7.0 

#This determines how quickly we can adjust the acceleration effect
SLEDCAM_ACCEL_DMIN	-7.0 
SLEDCAM_ACCEL_DMAX	7.0 #was 1.0 

#The acceleration effect is based on the log of the sled's
#acceleration.  The log is multiplied by this number
SLEDCAM_ACCEL_LOG_COEF	1.0 

#The camera can be lowered while the sled is moving.
#This number defines a relationship between the amount that
#the camera decreases its speed (effect #1) and how much it
#will lower, while driving.  Note that this will have no
#effect on how much the camera will lower while the sled's RPM
#are below the engagement point
SLEDCAM_ACCEL_LOWER_WHILE_DRIVING_INFLUENCE	1.0 

#Don't raise/lower the camera too quickly!
#while the sled is driving
SLEDCAM_ACCEL_LOWER_DRIVE_DLO	0.0 
SLEDCAM_ACCEL_LOWER_DRIVE_DHI		1.9 
#while the sled's RPM are below the engagement point
SLEDCAM_ACCEL_LOWER_IDLE_DLO	-1.5 #was -2.0 
SLEDCAM_ACCEL_LOWER_IDLE_DHI	1.5 #was 2.0 

#This determines how much the camera will lower when
#the player is revving the engine (below the engagement point)
SLEDCAM_ACCEL_LOWER_RPM_INFLUENCE	0.00000 #was 0.00033

# numbers used to normalize the acceleration effects across
# all sleds

#The top speed of the base sled, at the time that this
#code was written.
#The voices in my head tell me not to change this value.
SLEDCAM_BASE_TOP_SPEED	34.0 

#How much normalizing should we do?  1.0 means that the
#camera will be roughly the same distance for all sleds.
#0.0 means that the camera will have its maximum natural
#difference in distance for the various sleds.
SLEDCAM_ACCEL_NORMALIZE_PERCENT	2.0	#was 0.9 

########### lateral movement of the target (Mar 25, 2002)
# this defines how much the target should move left/right in response
# to the turning of the sled's skis
SLEDCAM_LATERAL_TARGET_MOVEMENT		6.0
SLEDCAM_LATERAL_MOVEMENT_RATE_LIMIT_UP		4.0
SLEDCAM_LATERAL_MOVEMENT_RATE_LIMIT_DOWN	2.0

# the range of speed in which the lateral target movement is active
# (below the min speed, the effect will be disabled.  the effect
# will continue to increase as speed increases to the max speed.
# above the max speed, the effect will be constant)
SLEDCAM_LATERAL_MOVEMENT_SPEED_MIN	9.0
SLEDCAM_LATERAL_MOVEMENT_SPEED_MAX	30.0

#range: 0.0 to 1.0
SLEDCAM_LATERAL_MOVEMENT_SKI_MIN	0.41
SLEDCAM_LATERAL_MOVEMENT_SKI_MAX	1.0

#this limits the amount of ski-turn that is perceived by the camera
SLEDCAM_LATERAL_MOVEMENT_SKI_RATE_LIMIT	1.0

########### jump: sled fall-away params
# as soon as the sled goes over a jump, the camera begins moving away
# see also: SLEDCAM_JUMP_*

# this defines how quickly the camera moves away from the sled
SLEDCAM_SLED_FALLAWAY_RATE	0.27 #0.37
# this defines the maximum amount that the camera will move away from
# where it wants to be.  Set this to 0.0 to disable this effect.
SLEDCAM_SLED_FALLAWAY_MAX	3.0 #1.8
