car
{
  name=Nissan GTR R35
  year=2003
  credits=Model & textures: BLo0m   Sounds & ini's: Mr. Whippy
  comments=V1.2 updates, Alex Forbin, G-Beserk and Mr Whippy (new ini and sounds)
  wheels=4
  id=GTR_R35
  version=090
  skid
  {
    sample=skid.wav
  }
  
  }
  cg
  {
    x=0
    y=-0.161	;436mm	36% cofg of roof height
    z=-0.332	;43f,57r
  }
  ff_factor=0.6
}

lights
{
  ; Projected lights
  light0
  {
    texture=light.tga
    ; Field of view (vertical)
    fov=77
    ; Aspect (horizontal)
    aspect=3.7
    ; Distance to car
    z=1.7
    ; Pitching with respect to car (in degrees)
    pitch=0
    ; Fall-off distance
    far=100
  }
}

body
{
  mass=1393	;1453kg Kerb Weight, -120kg unsprung +60kg extra's
  restitution_coeff=0.1
  inertia
  {
    x=1900
    y=2200
    z=450
  }
  model
  {
    file=body.dof
  }
  model_incar
  {
    file=body.dof
  }
 model_light_l
  {
    file=frontlightson.dof
  }
  model_braking_l
  {
    file=backlights.dof
  }
  model_reverse_r
  {
    file=reverse.dof
  }
  width=1.96
  height=0.75
  length=4.46
  manual_box=1
}
steer
{
  x=-0.355
  y=0.4
  z=0.33
  radius=10
  xa=25
  lock=1080
  linearity=1
  model
  {
    file=Swheel.dof
  }
}
engine
{
  mass=0
  idle_rpm=1100
  max_rpm=7200
  max_torque=353
  curve_torque=torque.crv
  autoclutch_rpm=2250
  starter=1
  starter_torque=120
  start_stalled=1
  stall_rpm=600
  start_rpm=1500
  torque_reaction=0.5
  shifting
  {
    automatic=0
    blip_throttle=0
    cut_throttle=1
    fast=0
    shift_up_rpm=7700
    shift_down_rpm=3500
    time_to_declutch=0
    time_in_neutral=0
    time_to_clutch=0
    time_to_declutch_down=0
    time_in_neutral_down=0
    time_to_clutch_down=0
  }
  inertia
  {
    engine=0.27
    final_drive=0.1
  }
  braking_coeff=3.45
  sample=a6000.wav
  sample_rpm=6000
}
gearbox
{
  gears=7
  gear0
  {
    ratio=-3.29
    inertia=0.02
    linearity=1
  }
  gear1
  {
    ratio=3.29
    inertia=0.02
    linearity=1
  }
  gear2
  {
    ratio=2.16
    inertia=0.034
    linearity=1
  }
  gear3
  {
    ratio=1.40
    inertia=0.05
    linearity=1
  }
  gear4
  {
    ratio=0.97
    inertia=0.07
    linearity=1
  }
  gear5
  {
    ratio=0.80
    inertia=0.09
    linearity=2
  }
  gear6
  {
    ratio=0.70
    inertia=0.11
    linearity=2
  }
}
clutch
{
  max_torque=540
}
handbrakes
{
  wheels=23
}
differential
{
  type=1
  ratio=4.44
  inertia=0.1
  locking_coeff=135
  output0=2
  output1=3
}
aero
{
  body
  {
    center=0 0 0
    cx=0.36		;sourced
    area=1.8		;measured
  }
  wings=1
  wing0
  {
    name=overall body lift
    span=1
    cord=1
    coeff_drag=0
    coeff_down=-5.3	;18kg lift @ 200 km/h
    center=0 0 0.0
    angle=0
    angle_offset=1
  }
}
antirollbar
{
  count=2
  arb0
  {
    susp_left=0
    susp_right=1
    k=37500
  }
  arb1
  {
    susp_left=2
    susp_right=3
    k=31500
  }
}
susp_front
{
  y=0
  z=1.15
  restlen=0.35		;253mm	300kg
  minlen=0.17								
  maxlen=0.36
  k=30750
  bump_rate=700 ;590
  rebound_rate=8000
  bump_function=0
  bump_max=3000 ;2000
  rebound_function=0
  anti_pitch=0.12
  camber_change_per_m=0
  roll_center
  {
    x=0
    y=-0.524		;60mm
    z=0
  }
}
susp_rear
{
  y=0
  z=-1.45
  restlen=0.353		;271mm	397kg
  minlen=0.15
  maxlen=0.37
  k=47300
  bump_rate=2000
  rebound_rate=5900
  bump_function=0
  bump_max=2500
  rebound_function=0
  anti_pitch=0.12
  camber_change_per_m=0.05
  roll_center
  {
    x=0
    y=-0.531		;80mm
    z=0
  }
}
susp0~susp_front
  {
    x=0.7705 ;0.737 ;looking front it is how > --- <  the wheel is.
   y=0.15 ;looking front it is how high the wheel is.
   z=1.43 ;1.205 ;looking front it is the -O---O--
    toe_change_per_m=0.029		;-0.23 static toe. 0.13 degrees change with 0.078m travel. Bump out to ~0.1 toe.!
    camber_change_steering=0.1062	;using caster angle 5.78 degrees @ max_lock, outside wheel camber wrt y axis = 3.54 degrees!
    caster_offset=-0.017		;5.78 degrees static caster -0.017!
    
  }
susp1~susp_front
  {
    x=-0.7705 ;0.7735 ;looking front it is how >|--- |<  the wheel is.
   y=0.15 ;0.05 ;looking front it is how high the wheel is.
   z=1.43 ;1.205 ;looking front it is the -O---O--
    toe_change_per_m=-0.029		;-0.23 static toe. 0.13 degrees change with 0.078m travel. Bump out to ~0.1 toe.!
    camber_change_steering=-0.1062	;using caster angle 5.78 degrees @ max_lock, outside wheel camber wrt y axis = 3.54 degrees!
    caster_offset=-0.017		;5.78 degrees static caster -0.017!
  }
susp2~susp_rear
  {
    x=0.7855 ;0.7735 ;looking front it is how > --- <  the wheel is.
   y=0.17 ;0.07 ;looking front it is how high the wheel is.
   z=-1.26 ;-1.22  ;looking front it is the -O---O--
    toe_change_per_m=0.019		;-0.27 static toe. 0.1 degrees change with 0.09m travel. Bump out to ~0.2 toe.!
  }
susp3~susp_rear
  {
    x=-0.7855 ;6735 ;looking front it is how > --- <  the wheel is.
   y=0.17 ;0.07  ;looking front it is how high the wheel is.
   z=-1.26 ;1.30   ;looking front it is the -O---O--
    toe_change_per_m=-0.019		;-0.27 static toe. 0.1 degrees change with 0.09m travel. Bump out to ~0.2 toe.!
  }
tire_model_front
{
  damping_predict_lat=0
  damping_predict_long=0
}
tire_model_rear
{
  damping_predict_lat=0
  damping_predict_long=0
}
pacejka
{
    a0=1.5
    a1=-35
    a2=1275
    a3=1900
    a4=9
    a5=0.015
    a6=-0.25
    a7=1.0
    a8=-0.03
    a9=-0.001
    a10=-0.15
    a111=-8.5
    a112=-0.29
    a12=17.8
    a13=-2.4
    b0=1.6
    b1=-70
    b2=1600
    b3=20
    b4=325
    b5=0.08
    b6=0
    b7=0.05
    b8=-0.025
    b9=0.015
    b10=0.25
    b11=-80
    b12=350
    c0=2.3
    c1=-3.8
    c2=-3.14
    c3=-1.16
    c4=-7.2
    c5=0.0
    c6=0.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.159
}
wheel_front
{
  y=0
  z=0
  steering=1
  lock=71.2
  mass=30
  inertia=1.5
  radius=0.37	;215/45 R19
  rolling_coeff=0.0170
  friction_road=1
  max_braking=1900
  braking_factor=1.5
  powered=1
  tire_rate=280000
  pacejka~pacejka
  {
  }
}
wheel_rear
{
  y=0
  z=0
  steering=0
  mass=30
  inertia=1.5
  radius=0.37	;275/40 R19
  rolling_coeff=0.0220
  friction_road=1
  max_braking=650
  max_handbrake_torque=650
  braking_factor=1.5
  tire_rate=280000
  powered=1
  pacejka~pacejka
  {
  a2=1400
  a3=2200
  a4=9.5
  b2=1475
  b4=350
  optimal_slipratio=0.1
  optimal_slipangle=0.171
  }
}
wheel0~wheel_front
{
   x=0
   camber=0
   toe=0
   model
   {
      file=lf.dof
   }
   model_brake
   {
      file=
   }
   y=0
   z=0
   ackerman=1.1
   mass=15
   max_braking=1600
   radius=0.34 ;0.37
   inertia=2
   lock=70
   braking_factor=1.7
   max_handbrake_torque=0
   tire_rate=200000
   steering=1
   powered=1
}
wheel1~wheel_front
{
   x=0
   camber=0
   toe=0
   model
   {
      file=rf.dof
   }
   model_brake
   {
      file=
   }
   mass=13
   max_braking=1600
   radius=0.34 ;0.37
   inertia=2
   lock=70
   braking_factor=1.7
   max_handbrake_torque=0
   tire_rate=200000
   y=0
   z=0
   steering=1
   powered=1
}
wheel2~wheel_rear
{
   x=0
   camber=0
   toe=0
   model
   {
      file=lb.dof
   }
   model_brake
   {
      file=
   }
   mass=13
   max_braking=500
   radius=0.34 ;0.37
   inertia=2
   lock=0
   braking_factor=0.5
   max_handbrake_torque=2500
   tire_rate=290000
   y=0
   z=0
   steering=0
   powered=1
}
wheel3~wheel_rear
{
   x=0
   camber=0
   toe=0
   model
   {
      file=rb.dof
   }
   model_brake
   {
      file=
   }
   mass=13
   max_braking=500
   radius=0.34 ;0.37
   inertia=2
   lock=0
   braking_factor=0.5
   max_handbrake_torque=2500
   tire_rate=290000
   y=0
   z=0
   steering=0
   powered=1
}
;--------------------
  model_brake
  {
    file=rrb.dof
  }
}
camera0
{
  offset
  {
    x=-0.006250
    y=-1.252083
    z=-6.795010
  }
  angle
  {
    x=3
    y=180
    z=0.000000
  }
  name=CloseBehind
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
}
camera1
{
  offset
  {
    x=-0.35
    y=0.62
    z=-0.1
  }
  offset_to
  {
    x=-0.35
    y=0.62
    z=3.07
  }
  angle
  {
    x=0
    y=0.5
    z=0
  }
  follow
  {
    view=1
    pitch=1
    yaw=1
    roll=1
  }
  src
  {
    mass=5
    k=900
    damping=90
    maxdist=0.2
  }
  dst
  {
    mass=0
    k=0
    damping=0
    maxdist=0
  }
  name=Drivers Seat
  model=1
  wheels=0
  fov=75
}
camera2
{
  follow
  {
    pitch=1
    yaw=1
    roll=0
  }
  offset
  {
    x=0.0
    y=-1
    z=0.75
  }
  angle
  {
    x=10
    y=180.0
    z=0.0
  }
  name=BonnetView
  fov=75
}
camera3
{
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=0.0
    y=-0.3
    z=2.3
  }
  angle
  {
    x=8
    y=180.0
    z=0.0
  }
  name=Bumper
  model=2
  wheels=2
  view=2
  fov=75
}
camera4
{
  offset
  {
    x=-0.381252
    y=0.439585
    z=-6
  }
  angle
  {
    x=16.5
    y=130
    z=0.25
  }
  name=GeneralLooseExterior
  fov=60
}
camera5
{
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  offset
  {
    x=0.0
    y=0.0
    z=-4.5
  }
  angle
  {
    x=0
    y=35
    z=0
  }
  name=LowFrontAngle
  fov=60
}
camera6
{
  follow
  {
    pitch=1
    yaw=1
    roll=0
  }
  offset
  {
    x=0
    y=0.6
    z=-4.5
  }
  angle
  {
    x=10
    y=-360
    z=0
  }
  fov=65
  name=FrontView
}
camera7
{
  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
  }
  fov=60
  name=FrontWheel
}
camera8
{
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=0.0
    y=-0.7
    z=0.5
  }
  angle
  {
    x=9
    y=0
    z=0.0
  }
  name=EngineCover
  fov=95
}
camera9
{
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=1.48
    y=-0.0
    z=-0.4
  }
  angle
  {
    x=14
    y=9.5
    z=7.5
  }
  name=RearWheel
  fov=65
}

  fov=70
  ; Type of model to use; 0=outside, 1=inside, 2=none
  model=0
  wheels=0
  view=0
  name=Inside Driver
}

;	------------------ 5.1 ALPHA AUDIO COMPATABILTY -----------------

audio
{
	skid
	{
		sample=Skid.wav
	}
	horn
	{
		sample=Horn.wav
	}
  	shiftout
  	{
    		sample=shift.wav
  	}
  	shiftin
  	{
    		sample=shift.wav
  	}
	acc_all
	{
		attack=2600
		decay=2600
	}
	accelerate_out
	{
		smp0~audio.acc_all
		{
			sample=Engine.wav
			min=0
			max=9000
			natural=5000
			volume=1
		}
	}

	decelerate_out
	{
		smp0~audio.acc_all
		{
			sample=Engine.wav
			min=0
			max=9000
			natural=5200
			volume=1
		}
	}
  wind
  {
    pitch_scale=0
    pitch_offset=80
    smp0
    {
      sample=wind1s.wav
      min=25
      max=26
      attack=33
      decay=33
      natural=80
      volume=0.5
    }
    smp1
    {
      sample=winds2.wav
      min=50
      max=51
      attack=33
      decay=33
      natural=80
      volume=1
    }
    smp2
    {
      sample=wind3s.wav
      min=75
      max=150
      attack=33
      decay=33
      natural=80
      volume=2
    }
  }
}

traction_control
{
  max_velocity_ratio=1.1
  min_velocity_ratio=1.09
  enable=0
}

abs
{
  max_velocity_ratio=1.2
  min_velocity_ratio=1.1
  enable=1
}