car
{
   name=Cadillac Escalade 6.2 V8 
  year=2011
  credits=Converted in 2013.06 by Ako, Model from Forza Horizon
  comments=GM Vortec V8 6200 SFI VVT 6.2 16V, 6199 cm³, 403 cv @ 5700 rpm, 57.65 kgfm @ 4300 rpm 
  wheels=4
  id=ix35
  version=090

  shadow
  {
    texture=shadow.tga
    width=2.4
    length=5.200
    offset_z=-0.06
  }
 cg
 {
  x=0
  y=-0.35
  z=0.1
 }
ff_factor=0.57
}



body
{
  mass=2500
  inertia
  {
    x=4990
    y=6430
    z=1490
  }
  model
  {
    file=body.dof
  }
  model_incar
  {
    file=body.dof
  }
 model_braking_l
{
  file=breaking.dof
}
 model_light_l
  {
  file=lights.dof
  }
model_reverse_l
        {
  file=wsteczny.dof
        }
 model_lightroad_l
 {
  file=lights.dof
}
  width=1.79
  height=1.12
  length=4.975
  manual_box=0
}

graphics
{
  shadow
  {
    model
    {
      file=shadow.dof
      use_shaders=1
    }
    intensity=0.3
  }
generic
	{
		model0
		{
		file=buda.dof
		}
		model1
		{
		file=bonnet.dof
		}
		model2
		{
		file=boot.dof
		}
		model3
		{
		file=doorfl.dof
		}
    		model4
    		{
      		file=doorrl.dof
    		}
    		model5
    		{
      		file=doorrr.dof
    		}
    		model6
    		{
      		file=doorfr.dof
    		}
    		model7
    		{
      		file=plastiki.dof
    		}
    		model8
    		{
      		file=klosze.dof
		}
    		model9
    		{
      		file=ileft.dof
		}
    		model10
    		{
      		file=iright.dof
		}
    		model11
    		{
      		file=przeciwmglowe.dof
		}
    		model12
    		{
      		file=dlugie.dof
		}
	}
}
wipers
{
  count=3

; Front left
  wiper0
  {
    x=0.715
    y=0.202
    z=1.24
    xa=60
    min_angle=-0
    max_angle=-60
    model
    {
      file=wycierP.dof
    }
  }

; Front right
  wiper1
  {
    x=0.24
    y=0.1528
    z=1.33
    xa=60
    min_angle=-0
    max_angle=-60
    model
    {
      file=wycierL.dof
    }
  }
}
lights
{
  
  light0
  {
    texture=light.tga
 
    fov=55

    aspect=5
 
    z=2

    pitch=0
 
    far=100
 
    color=40 40 40
  }
}
particles
{ 
backfire
{
exhaust0
{
pos=-0.48 -0.67 -2.35
normal=0 0 -1
} 
exhaust1
{
pos=0.48 -0.67 -2.35
normal=0 0 -1
}
type=backfire
min_rpm=4800
max_rpm=5160
likeliness_percentage=120

}
}
steer
{
  x=0.5212
  y=0.225
  z=0.8050
  radius=20
  xa=22
  lock=900
  linearity=0.3	;0.325	;3 turns lock to lock = 1080 degrees 15.4:1 steering ratio
  model
  {
      file=wheel.dof
  }
}



}

engine
{
  	mass=150
  	idle_rpm=900
        idle_method=1
        idle_throttle=0.08
  	max_rpm=6000
  	start_rpm=550
  	stall_rpm=385
  	autoclutch_rpm=0
	autoclutch=0
  	starter=1
  	starter_torque=160
  	start_stalled=1
        torque_reaction=1.0
  	curve_torque=torque20.crv
  	max_torque=550
  	reaction=0
  	shifting
  	{
    		automatic=0
    		shift_up_rpm=5750
    		shift_down_rpm=2750
    		time_to_declutch=0
    		time_to_clutch=0
  	}
  	inertia
  	{
    	  engine=0.39
          final_drive=2.56;1
  	}
  	braking_coeff=2.55
}
gearbox
{
  gears=7
  gear0
  {
    ratio=-3.064
    inertia=0.35
  }
  gear1
  {
    ratio=4.027
    inertia=0.4
  }
  gear2
  {
    ratio=2.364
    inertia=0.09
    engine_map=0.5
  }
  gear3
  {
    ratio=1.522
    inertia=0.06
  }
  gear4
  {
    ratio=1.152
    inertia=0.07
  }
  gear5
  {
    ratio=0.852
    inertia=0.10
  }
  gear6
  {
    ratio=0.667
    inertia=0.10
  }
}
differential
{
	type=1
	ratio=3.42
	inertia=0.187
 	locking_coeff=100
   	output0=2
   	output1=3
	
}
clutch
{
  max_torque=700
}

handbrakes
{
   wheels=23
}


aero
{
   body
   {
      center=0 0 0
      cx=0.34
      area=2
   }
   wings=1
   wing0
   {
      ; name=BodyLift
      ; span=1
      ; cord=0.1
      ; coeff_drag=0
      ; coeff_down=-9.20
      ; center=0 0 0
      ; angle=0
      ; angle_offset=10
      name=
      span=0
      cord=0
      angle=0
      angle_offset=0
      coeff_drag=0
      coeff_down=0
      center=0.000 0.000 0.000
   }
}

antirollbar
{
   count=2
   arb0
   {
      susp_left=0
      susp_right=1
      k=40000
   }
   arb1
   {
      susp_left=2
      susp_right=3
      k=24800
   }
}

;----------------------------------------------------------------------
;Suspension front:

susp_front
{
	y=-0.47
	z=1.9
	restlen=0.39
	minlen=0.0
	maxlen=0.9
	k=55000
	bump_rate=3000
	rebound_rate=10500
	bump_function=0
	rebound_function=0
	anti_pitch=0.2
	camber_change_per_m=0.05
	roll_center
	{
		x=0
		y=-0.92
		z=0
	}
}
susp0~susp_front
  {
    x=1
    toe_change_per_m=0.029		
    camber_change_steering=0.1062	
    caster_offset=-0.017		 
  }

susp1~susp_front
  {
    x=-1
    toe_change_per_m=-0.029	
    camber_change_steering=-0.1062
    caster_offset=-0.017		
  }

;----------------------------------------------------------------------
;Suspension rear:

susp_rear
{
	y=-0.52
	z=-1.98
	restlen=0.35
	minlen=0.0
	maxlen=0.9
	k=40000
	bump_rate=2000
	rebound_rate=8500
	bump_function=0
	rebound_function=0
	anti_pitch=0.2
	camber_change_per_m=0.05
	roll_center
	{
		x=0
		y=-0.67
		z=0
	}
}
susp2~susp_rear
  {
    x=1
    toe_change_per_m=0.019		
  }
susp3~susp_rear
  {
    x=-1
    toe_change_per_m=-0.019		
  }
;----------------------------------------------------------------------
tire_model_front
{
damping_predict_lat=0.572
damping_predict_long=0.023
}
tire_model_rear
{
damping_predict_lat=0.560
damping_predict_long=0.022
}

pacejka
{
   ; Lateral force
   a0=1.6
   a1=-20
   a2=1320
   a3=2100
   a4=20
   a5=0.014
   a6=-0.24
   a7=1.0
   a8=-0.03
   a9=-0.0013
   a10=-0.15
   a111=-4
   a112=-0.29
   a12=17.8
   a13=-2.4
   ; Longitudinal force
   b0=1.5
   b1=-40
   b2=1410
   b3=23.3
   b4=250
   b5=0.05
   b6=0
   b7=0.055
   b8=-0.024
   b9=0.014
   b10=0.26
   b11=-103.71
   b12=0
   ; Aligning moment
   c0=2.2
   c1=-3.9
   c2=-3.9
   c3=-1.26
   c4=-8.2
   c5=0.025
   c6=0
   c7=0.044
   c8=-0.58
   c9=0.18
   c10=0.043
   c11=0.048
   c12=-0.0035
   c13=-0.18
   c14=0.14
   c15=-1.029
   c16=0.27
   c17=-1.1
   optimal_slipratio=0.11
   optimal_slipangle=0.157
}
fuel
{
  bsfc=0.000031
  max=88
  type=0
}
;----------------------------------------------------------------------
;Wheel front:

wheel_all
{
  ; Brakedisc temperature
  brake_heating=0.003
  brake_dissipation=0.0005
  brake_max_temp=1500
}


wheel_front
{
  y=0
  z=0
  steering=1
  lock=57.2
  ackerman=1.22
  mass=32
  inertia=0.98
  radius=0.495
  powered=0
  power_gearing=0.90
  ;{ differential.ratio x torque split / 2 }
  rolling_coeff=0.013
  friction_road=1
  max_braking=4000 
  braking_factor=1
  tire_rate=290000
  camber=0.18
   pacejka~pacejka
   {
   }
}
wheel_rear
{
  y=0
  z=0
  steering=0
  mass=32
  powered=1	
  inertia=0.98
  radius=0.495
  rolling_coeff=0.013
  max_braking=2500 
  max_handbrake_torque=3000 
  braking_factor=1
  tire_rate=286000
  camber=-0.18
  pacejka~pacejka
  {
  a2=1550
  a3=2100
  a4=9
  b2=1550
  b4=350
  optimal_slipratio=0.11
  optimal_slipangle=0.15
  }
}
wheel0~wheel_front
{
  x=0
  toe=-0.1
  model
  {
    file=left.dof
  }
  model_brake
  {
    file=zlp.dof
  }
}
wheel1~wheel_front
{
  x=0
  toe=0.1
  model
  {
    file=right.dof
  }
  model_brake
  {
    file=zpp.dof
  }
}
wheel2~wheel_rear
{
  x=0
  toe=-0.05
  model
  {
    file=left.dof
    offset
    {
    x=-0.014
    }
  }
  model_brake
  {
    file=zlt.dof
    }
  }
}
wheel3~wheel_rear
{
  x=0
  toe=0.05
  model
  {
    file=right.dof
    offset
    {
    x=0.014
    }
  }
  model_brake
  {
    file=zpt.dof
  }
}

camera0
{
  name=Driver
  fov=62
  model=0
  view=0
  wheels=0
  offset
  {
    x=0.50
    y=0.65
    z=-0.063
  }
  offset_to
  {
    x=0.38
    y=-0.2
    z=10
  }
  src
  {
    mass=5
    k=250
    damping=25
    maxdist=0
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=0
  }
}
camera1
{
  name=Driver, left
  fov=65
  model=0
  wheels=0
  view=0
   offset
  {
    x=0.4060
    y=0.45
    z=-0.06
  }
  offset_to
  {
    x=10
    y=0.5
    z=10
  }
  src
  {
    mass=5
    k=250
    damping=25
    maxdist=0
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=0
  }
}
camera2
{
  name=Driver, right
  fov=55
  model=0
  wheels=0
  view=0
  offset
  {
    x=0.4060
    y=0.45
    z=-0.06
  }
  offset_to
  {
    x=-10
    y=0.5
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0
  }
  dst
  {
    mass=5
    k=0
    damping=0
    maxdist=0
  }
}
camera3
{
offset
  {
    x=-0.28
    y=-0.60
    z=-1.0
  }
  angle
  {
    x=0
    y=200
    z=0
  }
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
   name=
   ;cam4
   fov=70
   model=1
   wheels=0
   view=1
}
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.3
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=0
  }
}
camera4
{
  offset
  {
    x=0.029688
    y=-0.504162
    z=-6.870018
  }
  angle
  {
    x=15.694407
    y=179.652771
    z=0.000000
  }
  name=Behind
fov=68
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
}
camera5
{
  name=Exterior
  fov=60
  model=0
  view=0
  wheels=0
  follow
  {
    pitch=0
    yaw=0
    roll=0
  }
  offset
  {
    x=0
    y=-0.5
    z=-5
  }
  angle
  {
    x=10
    y=130
    z=0
  }
}
camera6
{
  name=Rear chase
  fov=60
  model=0
  view=0
  wheels=0
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  offset
  {
    x=0
    y=-0.8
    z=-6
  }
  angle
  {
    x=10
    y=0
    z=0
  }
}
camera7
{
  name=FrontWheel
  fov=60
  model=0
  view=0
  wheels=0
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=1.4
    y=0.06
    z=-0.5
  }
  angle
  {
    x=-2.25
    y=-161
    z=3.3
  }
}
camera8
{
 follow
 {
  pitch=0
  yaw=1
  roll=0
 }
 offset
 {
  x=0
  y=0.3
  z=-9
 }
 angle
 {
  x=3.861111
  y=33.853992
  z=-14.322908
 }
 fov=40
 model=0
 wheels=1
 view=0
 name=Front Side
}
camera9
{
  name=Hood
  fov=60
  model=0
  wheels=0
  view=0
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=0
    y=-1.0
    z=0.8
  }
  angle
  {
    x=5
    y=180
    z=0
  }
 }
}

audio
{
  acc_all
  {
    attack=1000
    decay=1000
  }
  accelerate_in
  {
    volume=0.4
    smp0
    {
      sample=idlein.wav
      min=2
      max=1300
      natural=1000
      attack=100
      decay=100
    }
    smp1
    {
      sample=accin.wav
      min=1000
      max=4500 
      natural=3500
      decay=2000
    }
    smp2
    {
      sample=accin1.wav
      min=4500
      max=10500 
      natural=3500
      attack=2000
    }
  }
  decelerate_in
  {
    volume=0.35
    smp0
    {
      sample=decin.wav
      min=2
      max=10500
      natural=3500
      attack=100
      decay=100
    }
  }
  accelerate_out
  {
    volume=2
    smp0
    {
      sample=idle.wav
      min=2
      max=1100
      natural=1000
      attack=100
      decay=100
    }
    smp1
    {
      sample=accout.wav
      min=1000
      max=4500 
      natural=3500
      decay=3000
    }
    smp2
    {
      sample=accout1.wav
      min=4500
      max=14500 
      natural=3500
      attack=1000
    }
  }
  decelerate_out
  {
    volume=2
    smp0
    {
      sample=decout.wav
      min=2
      max=10500
      natural=3500
      attack=100
      decay=100
    }
  }
  wind
  {
    pitch_scale=0.2
    pitch_offset=50
volume=0.5
    smp0
    {
      sample=wind.wav
      volume=0.125
      min=0
      max=200
      natural=50
    }
  }
}

abs
{
   max_velocity_ratio=1.2
   min_velocity_ratio=1.15
   enable=1
}
traction_control
{
  enable=1
  max_velocity_ratio=0.1
  min_velocity_ratio=0.1
  min_velocity=47.823056

}

}