car
{
  name=kenworth t2000 new
  id=kenworth_t2000_v29_1
  version=053b20
  comments=converted by orges from ets 2
  credits= v29
  year=2004 
  wheels=6
  skid
  {
    sample=skid.wav
  }
graphics
{
  shadow
  {
    model
    {
      file=opel.dof
    }
    intensity=0.3
  }
  generic
  {
    model0
    {
      file=
    }
    model1
    {
      file=
    }
  }
}
  cg
  {
    x=0
    y=0		;90 cm
    z=0		;44/56 %
  }
}

graphics
{
  	shadow
  	{
    		model
    		{
      			file=t2000.dof
			use_shaders=1
    		}
		intensity=0.2
  	}
	generic
	{
		model0
		{
		file=
		}
		model1
		{
		file=
		}
		model2
		{
		file=
		}
		model3
		{
		file=
		}
    		model4
    		{
      		file=
    		}
    		model5
    		{
      		file=
    		}
    		model6
    		{
      		file=
    		}
    		model7
    		{
      		file=
    		}
    		model8
    		{
      		file=
    		}
    		model9
    		{
      		file=
    		}
    		model10
    		{
      		file=
    		}
    		model11
    		{
      		file=
    		}
flares
{
 ;Headlights
  flare0
  {
       ;x     y    z
    pos=0.5951  -0.0090 2.7211
	;normal=0 0 1
	normal=-0.05 -0.02 0.6
	z_offset=-3000
	size_factor=1
  }
  flare1
  {
    pos=-0.5951  -0.0090 2.7211
	;normal=0 0 1
	normal=-0.05 -0.02 0.6
	z_offset=-3000
	size_factor=1
  }


  ; Brake Lights
  flare2
  {
    pos=0.8218 0.0324 -2.8589
    color=1 0 0.2
    normal=0 0 -1
    z_offset=-2500
    size_factor=1
    intensity=1
    hor_scale=1
    rule=brake
    billboard=1
  }
  flare3
  {
    pos=-0.8218 0.0324 -2.8589
    color=1 0 0.2
    normal=0 0 -1
    z_offset=-2500
    size_factor=1
    intensity=1
    hor_scale=1
    rule=brake
    billboard=1
  }
}
lights
{
  ; Projected lights
  light0
  {
    texture=light.tga
    ; Field of view (vertical)
    fov=55
    ; Aspect (horizontal)
    aspect=3
    ; Distance to car
    z=1.5
    ; Pitching with respect to car (in degrees)
    pitch=0
    ; Fall-off distance
    far=100
  }
  light1
  {
    texture=light.tga
    ; Field of view (vertical)
    fov=25.0
    ; Aspect (horizontal)
    aspect=2
    ; Distance to car
    z=1.5
    ; Pitching with respect to car (in degrees)
    pitch=10
  }
}	}
}
body
{
  mass=5220 ;as per FVR spec sheet = "TARE MASS"
  inertia
  {
    x=158000
    y=155000
    z=17000
  }
  model
  {
    file=t2000.dof
  }
  model_incar
  {
    file=t2000.dof
  }
  model_braking_l
  {
    file=
  }
  model_light_l
  {
    file=
  }
  width=2.5
  height=3.1	
  length=5.500 ;5.5 = meters, hope this is using meters as the measurement!
  manual_box=0
}

steer
{
    x=0.650
    y=0.58
    z=1.8
  radius=10
  lock=900
  xa=70.19
  model
  {
    file=stw.dof
  }
}
;6SD1-TC - standard
engine
{
  mass=500
  max_rpm=3000
  idle_rpm=680
  stall_rpm=450
  start_rpm=620
  autoclutch_rpm=700
  starter=1
  starter_torque=190
  curve_torque=torque2.crv
;Engine Torque: 1000Nm @ 1700 rpm 
;Will leave at 390 for the time being so as to avoid drag-car takeoffs
  max_torque=390
  torque_reaction=2
  shifting
  {
    automatic=0
    shift_up_rpm=2400
    shift_down_rpm=900
    time_to_declutch=100
    time_in_neutral=80
    time_to_clutch=200
    time_to_declutch_down=100
    time_in_neutral_down=80
    time_to_clutch_down=200
  }
  inertia
  {
    engine=2
  }
  braking_coeff=8
}

gearbox
{
  ;Based on MAXTORQUE T-310 - MACK Transmission specs - cannot locate Isuzu
  ;Racer stops the gears at 8 - cannot reach full 10 as of yet :-(
  gears=10
  gear0
  {
    ratio=-14.73
    inertia=0.720
  }
  gear1
  {
    ratio=13.81
    inertia=0.510
  }
  gear2
  {
    ratio=10.05
    inertia=0.408
  }
  gear3
  {
    ratio=7.18
    inertia=0.304
  }
  gear4
  {
    ratio=5.17
    inertia=0.050  
  }
  gear5
  {
    ratio=3.75
    inertia=0.050   
  }
  gear6
  {
    ratio=2.67
    inertia=0.050   
  }
  gear7
  {
    ratio=1.94
    inertia=0.050   
  }
  gear8
  {
    ratio=1.39
    inertia=0.050   
  }
  gear9
  {
    ratio=1.00
    inertia=0.050   
  }
  gear10
  {
    ratio=0.73
    inertia=0.050   
  }
}

clutch
{
  max_torque=850
}

handbrakes
{
  wheels=2345
}

differential
{
  type=1
  inertia=1
  ratio=3.91 ;as per FVR spec sheet
  locking_coeff=75
  output0=4
  output1=5
}

aero
{
  body
  {
    center=0 0 0
    cx=0.6
    area=7
  }
  wings=1
  wing0
  {
    name=lift
    span=1
    cord=1
    coeff_drag=0
    coeff_down=-10
    center=0 0 0
    angle=0
    angle_offset=0
  }
}
;real thing might not have these, don't know, just helps all the same
antirollbar
{
  count=3
  arb0
  {
    susp_left=0
    susp_right=1
    k=50000			
  }
  arb1
  {
    susp_left=2
    susp_right=3
    k=5000
  }
  arb2
  {
    susp_left=4
    susp_right=5
    k=5000
  }
 }
susp_front
{
  y=-0.70
  restlen=0.36		
  minlen=0.0
  maxlen=0.36
  k=140000
  bump_rate=13000
  rebound_rate=29000
  bump_function='
  ;rebound_function=0
  anti_pitch=0
  roll_center
  {
    x=0
    y=-0.30	;50 cm
    z=0
  }
}
susp_rear
{
  y=-0.70
  restlen=0.41		
  minlen=0.0
  maxlen=0.41
  k=70000
  bump_rate=5400
  rebound_rate=18000
  bump_function=0
  ;rebound_function=0
  anti_pitch=0
  roll_center
  {
    x=0
    y=-0.30	;60 cm
    z=0
  }
}
susp0~susp_front
{
  x=1.0
  z=2.80
}
susp1~susp_front
{
  x=-1.0
  z=2.80
}
;dual wheels = narrow wheelbase compared to the front
susp2~susp_rear
{
  x=0.9
  z=-2.6
}
;dual wheels = narrow wheelbase compared to the front
susp3~susp_rear
{
  x=-0.9
  z=-2.6
}
;load axle
susp4~susp_rear
{
  x=1.0
  y=-0.60
  z=-12.4
}
;load axle
susp5~susp_rear
{
  x=-1.0
  y=-0.60
  z=-12.4
}
  relaxation_length_lat=0.91
  relaxation_length_long=.091
  damping_speed=0.15
  damping_coefficient_lat=0.75
  damping_coefficient_long=1.5
}
pacejka
{
  ; Lateral force
  a0=1.5
  a1=-10
  a2=1300
  a3=30000
  a4=200
  a5=0.05
  a6=-0.2
  a7=-1
  a8=0
  a9=0
  a10=0
  a111=0
  a112=0 
  a12=0
  a13=0
  ; Longitudinal force
  b0=1.6
  b1=-20
  b2=1300
  b3=1
  b4=100
  b5=0
  b6=0
  b7=0
  b8=0
  b9=0.1
  b10=0
  b11=0
  b12=0
  ; Aligning moment
  c0=3
  c1=-1
  c2=1
  c3=-1
  c4=-3.6
  c5=0.2260
  c6=0.0004
  c7=0.22
  c8=-2.31
  c9=0
  c10=0
  c11=-0
  c12=-0
  c13=0
  c14=-0
  c15=-0
  c16=0
  c17=0
  optimal_slipratio=0.2
  optimal_slipangle=0.2
}
wheel_front
{
  x=0		
  y=0
  z=0
  steering=1
  powered=1
  camber=0
  lock=70
  mass=150
  inertia=6
  radius=0.5175
  rolling_coeff=0.015
  max_braking=8000
  braking_factor=0.4
  tire_rate=900000	
  pacejka~pacejka
  {
  }
}
wheel_rear
{
  x=0		
  y=0		
  z=0		
  steering=0
  camber=0
  mass=100
  inertia=4
  radius=0.5275
  rolling_coeff=0.015
  braking_factor=0.3	
  tire_rate=800000	
  pacejka~pacejka
  {
  }
}
wheel0~wheel_front
{
  toe=-0.3
  model
  {
    file=front-right.dof
  }
  model_brake
  {
    file=
  }
}
wheel1~wheel_front
{
  toe=0.3
  model
  {
    file=front-left.dof
  }
  model_brake
  {
    file=
  }
}
wheel2~wheel_rear
{
  toe=-0
  max_braking=4000
  max_handbrake_torque=4250
  powered=1
  steering=1
  model
  {
    file=rear-right.dof
  }
  model_brake
  {
    file=
  }
}
wheel3~wheel_rear
{
  toe=0
  max_braking=4000
  max_handbrake_torque=4250
  powered=1
  steering=1
  model
  {
    file=rear-left.dof
  }
  model_brake
  {
    file=
  }
}
;load wheel - no power or diff applied
wheel4~wheel_rear
{
  toe=0
  max_braking=4000
  max_handbrake_torque=3000
  powered=0
  model
  {
    file=left.dof
  }
  model_brake
  {
    file=
  }
}
;load wheel - no power or diff applied
wheel5~wheel_rear
{
  toe=0
  max_braking=3000
  max_handbrake_torque=4250
  powered=0
  model
  {
    file=right.dof
  }
  model_brake
  {
    file=
  }
}
camera0
{
  name=Driver
  fov=60
  model=1
  view=0
  wheels=0
  offset
  {
    x=0.680
    y=0.9
    z=1.20
  }
  offset_to
  {
    x=0.34
    y=-0.5
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.2
  }
  dst
  {
    mass=0
    k=0
    damping=0
    maxdist=0
  }
}
camera1
{
  name=Left
  fov=65
  model=0
  view=0
  wheels=0
  offset
  {
    x=0.680
    y=0.9
    z=1.20
  }
  offset_to
  {
    x=15.4
    y=0
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.2
  }
  dst
  {
    mass=0
    k=0
    damping=0
    maxdist=0
  }
}
camera2
{
  name=Right
  fov=65
  model=0
  view=0
  wheels=0
  offset
  {
    x=0.680
    y=0.9
    z=1.20
  }
  offset_to
  {
    x=-12.6
    y=0.
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.2
  }
  dst
  {
    mass=0
    k=0
    damping=0
    maxdist=0
  }
}
camera3
{
  name=Rear
  fov=-70
  model=0
  view=0
  wheels=0
  offset
  {
    x=0.1
    y=0.8
    z=1.6
  }
  offset_to
  {
    x=0
    y=0.8
    z=-10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.1
  }
  dst
  {
    mass=0
    k=0
    damping=0
    maxdist=0
  }
}
camera4
{
  name=Chase
  fov=60
  model=0
  view=0
  wheels=0
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  offset
  {
    x=0
    y=-0.6
    z=-22
  }
  angle
  {
    x=10
    y=180
    z=0
  }
}
camera5
{
  name=Exterior free
  fov=60
  model=0
  view=0
  wheels=0
  follow
  {
    pitch=0
    yaw=0
    roll=0
  }
  offset
  {
    x=0
    y=-0.5
    z=-7
  }
  angle
  {
    x=10
    y=120
    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.5
    z=-7
  }
  angle
  {
    x=10
    y=0
    z=0
  }
}
camera7
{
  name=Passenger seat
  fov=70
  model=1
  view=0
  wheels=0
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=-0.8
    y=-1.10
    z=1.10
  }
  angle
  {
    x=10
    y=170
    z=0
  }
}
camera8
{
  name=FrontWheel
  fov=60
  model=0
  view=0
  wheels=0
  offset
  {
    x=1.4
    y=0.06
    z=-0.6
  }
  angle
  {
    x=-2.25
    y=-161
    z=3.3
  }
  follow
  {
    pitch=0
    yaw=1
    roll=1
  }
}
camera9
{
  name=Hood
  fov=60
  model=0
  view=0
  wheels=2
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=0
    y=-1.2
    z=-0.9
  }
  angle
  {
    x=15
    y=180
    z=0
  }
}


audio
{
  skid
  {
    sample=skid.wav
  }
  horn
  {
    sample=horn.wav
  }
  shiftout
  {
    sample=shiftout.wav
  }
  shiftin
  {
    sample=shiftin.wav
  }
  throttle_off
  {
    smp0
    {
      sample=
    }
  }
  accelerate_out
  {
    smp0
    {
      sample=idle.wav
      volume=6.0
      min=100
      max=1000
      attack=0
      decay=1000
      natural=1000
    }
    smp1
    {
      sample=mid.wav
      volume=6.0
      min=2000
      max=10000
      attack=1000
      decay=0
      natural=2500
    }  
  smp2
    {
      sample=turbo.wav
      volume=0.3
      min=2000
      max=10000
      attack=1000
      decay=0
      natural=1000
    }
  smp3
    {
      sample=power.wav
      volume=7.0
      min=1000
      max=10000
      attack=1000
      decay=0
      natural=2500
    }
  smp4
    {
      sample=stall.wav
      volume=4.0
      min=549
      max=650
    }
  smp5
    {
      sample=stall.wav
      volume=4.0
      min=450
      max=550
    }
  }
  decelerate_out
  {
    smp0
    {
      sample=idle.wav
      volume=6.0
      min=100
      max=1000
      attack=0
      decay=1500
      natural=1100
    }
    smp1
    {
      sample=mid.wav
      volume=6.0
      min=2000
      max=10000
      attack=1000
      decay=0
      natural=2500
    }
    smp2
    {
      sample=turbo.wav
      volume=0.3
      min=2000
      max=10000
      attack=1000
      decay=0
      natural=1000
    }
  smp3
    {
      sample=stall.wav
      volume=3.0
      min=549
      max=650
    }
  smp4
    {
      sample=stall.wav
      volume=3.0
      min=450
      max=550
    }
  }
  accelerate_in
  {
    smp0
    {
      sample=idle.wav
      volume=6.0
      min=100
      max=1000
      attack=0
      decay=500
      natural=1100
    }
    smp1
    {
      sample=mid.wav
      volume=6.0
      min=2000
      max=10000
      attack=1000
      decay=0
      natural=2500
    }
    smp2
    {
      sample=turbo.wav
      volume=0.3
      min=2000
      max=10000
      attack=1000
      decay=0
      natural=1000
    }
  smp3
    {
      sample=power.wav
      volume=7.0
      min=1000
      max=10000
      attack=1000
      decay=0
      natural=2500
    }
  }
  decelerate_in
  {
    smp0
    {
      sample=idle.wav
      volume=6.0
      min=100
      max=1000
      attack=0
      decay=1500
      natural=1100
    }
    smp1
    {
      sample=mid.wav
      volume=6.0
      min=2000
      max=10000
      attack=1000
      decay=0
      natural=2500
    }
      sample=turbo.wav
      volume=0.3
      min=2000
      max=10000
      attack=1000
      decay=0
      natural=1000
    }
  }

  wind
  {
    smp0
    {
      sample=wind2.wav
      volume=0.15
      min=1
      max=2
      decay=100
      natural=30
    }
  }
}
