
car
{
   name=Renault 19 1.4e
   year=1995
   credits=Original model by Bigtwingo for gta san andreas,converted by skybh
   comments=80 ch @5750 rpm / 108Nm @ 2750rpm
   id=megren
   version=050f
   wheels=4
   skid
   {
      ; Skid sound
      sample=skid.wav
   }
   shadow
   {
      texture=ombre.tga
      width=0
      length=0
      offset_z=0
      intensity_dark=0.1
      intensity_light=1
   }

   cg
   {
      x=-0
      y=0.175
      z=0
   }
   ff_factor=0.2
   version=050b6
}
graphics
{
   shadow
   {
      model
      {
         file=shadow.dof
         use_shaders=1
      }
      intensity=0.3
   }
}
body
{
   mass=830   ;Body(830)+Wheels(80)+engine(130)=Total mass(1040kg)
   inertia
   {
      x=2875
      y=2600
      z=625
   }
   width=2.05
   height=1.45
   length=4.25
   manual_box=0
   model
   {
      file=body.dof
      offset
      {
         x=0
         y=0
         z=0
      }
   }
   restitution_coeff=0
   model_incar
   {
     file=body.dof
   }
   model_braking_l
   {
     file=lum_freins.dof
   }
   model_light_l
   {
     file=lum.dof
   }
   model_light_r
   {
     file=lumf.dof
   }
}


steer
{

   x=0.3184
   y=0.7819
   z=0.2719
   xa=28
   lock=1436
   linearity=0.8
   model
   {
       3D model
      file=Volant.dof
   }
}
engine
{

   mass=140
   idle_rpm=1000
   autoclutch_rpm=3000
   curve_torque=couple.crv
   max_torque=1.0
   max_rpm=6500
   torque_reaction=1
   starter=1
   starter_torque=115
   start_stalled=0
   stall_rpm=640
   start_rpm=850
   shifting
   {
      automatic=0

      time_to_declutch=245
      time_to_clutch=245      
      shift_up_rpm=5500
      shift_down_rpm=3350
   }

   inertia
   {
      engine=0.14
      final_drive=0.16
   }

   braking_coeff=7.45
   rolling_friction_coeff=0.17
   sample=engine.wav
   sample_rpm=40000
}
traction_control
{
   enable=0
   max_velocity_ratio=1.2
   min_velocity_ratio=0.1
   min_velocity=0.3
}
abs
{

   enable=0
   max_velocity_ratio=1.2
   min_velocity_ratio=0.1
   min_velocity=0.3
}
gearbox
{
   gears=6
   gear0
   {
      inertia=0.9
      ratio=-4.4
   }
   gear1
   {
      inertia=0.13
      engine_map=1.0
      ratio=4.2
   }
   gear2
   {
      inertia=0.105
      engine_map=1.0
      ratio=2.3
   }
   gear3
   {
      inertia=0.9
      engine_map=1.0
      ratio=1.55
   }
   gear4
   {
      inertia=0.075
      engine_map=1.0
      ratio=1.25
   }
   gear5
   {
      inertia=0.06
      engine_map=1.0
      ratio=1
   }
}
clutch
{
   max_torque=275
}
handbrakes
{
   wheels=23
}
differential
{
   {
      type=1
      ratio=3.444
      inertia=0.03
      locking_coeff=0
      output0=0
      output1=1
   }
}
aero
{
   body
   {
      center=0 0 0
      cx=0.33
      area=2
   }
}
antirollbar
{
   count=0
   arb0
   {
      susp_left=0
      susp_right=0
      k=10000
   }
}
susp_default
{
   y=0.4
   z=1.3
   restlen=0
   maxlen=0.6
   minlen=-0.5
   k=38000
   bump_function=0
   bump_rate=1300
   bump_max=3000
   rebound_rate=7100
   model
   {
      file=
   }
   toe_change_per_m=0
   camber_change_per_m=0
   camber_change_steering=0
   caster_offset=0
   caster_angle=0
   kingpin_offset=0
   kingpin_angle=0
}
susp_front~susp_default
{
   y=0.2440
   z=1.1386
   roll_center
   {
      x=0
      y=-0.23
      z=0
   }
   anti_pitch=0
   bump_rate=4000
   rebound_rate=3250
   camber_change_steering=0.15
}
susp_rear~susp_default
{
   y=0.225
   z=-1.4574
   roll_center
   {
      x=0
      y=-0.53
      z=0
   }
   anti_pitch=0
   bump_rate=4000
   rebound_rate=3500
}
susp0~susp_front
{
  x=0.74
}
susp1~susp_front
{
  x=-0.74
}
susp2~susp_rear
{
  x=0.7435
}
susp3~susp_rear
{
  x=-0.7435
}
tire_model
{
   relaxation_length_lat=0.91
   relaxation_length_long=.091
   damping_speed=0.15
   damping_coefficient_lat=35
   damping_coefficient_long=1
}
pacejka_default
{
  	a0=1.4
   	a1=-29
   	a2=1125
   	a3=1700
   	a4=11
   	a5=0.015
   	a6=-0.25
   	a7=1.0
   	a8=-0.03
   	a9=-0.001
   	a10=-0.15
   	a111=-8.0
   	a112=-0.29
   	a12=17.8
   	a13=-2.4
        b0=1.5
   	b1=-58
   	b2=1250
   	b3=23.3
   	b4=325
   	b5=0.08
   	b6=0.0
   	b7=0.05
   	b8=-0.024
   	b9=0.015
   	b10=0.25
   	b11=-86
   	b12=0.0
        c0=2.3
   	c1=-3.8
   	c2=-3.14
   	c3=-1.0
   	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.04
   	c15=-1.029
   	c16=0.27
   	c17=-1.1
        optimal_slipratio=0.10
   	optimal_slipangle=0.23
}
wheel_common
{
   x=0
   y=0
   z=0
   mass=13
   inertia=2
   radius=0.34
   width=0.3
   camber=0
   inboard_brakes=0
}
wheel0~wheel_common
{
   steering=1
   lock=47
   toe=-0.01
   rolling_coeff=0.02
   max_braking=1450
   braking_factor=0.83
   max_handbrake_torque=0
   friction_road=0.97
   tire_rate=200000
   skidding
   {
      long_start=0.2
      long_max=1.0
      long_start_n=0.2
      long_max_n=1.0
      lat_start=0.2
      lat_max=2.0
   }
   model
   {
      file=rg.dof
   }
   pacejka~pacejka_default
   {
   }
   ackerman=1.54
   mass=13
   radius=0.34
   inertia=2.3
   camber=0
   x=0
   y=0
   z=0
   model_brake
   {
      file=
   }
}
wheel1~wheel_common
{
   steering=1
   lock=47
   toe=-0.01
   friction_road=1.7
   rolling_coeff=0.02
   tire_rate=200000
   max_braking=1450
   braking_factor=0.83
   max_handbrake_torque=0
   skidding
   {
      long_start=0.2
      long_max=1.0
      long_start_n=0.2
      long_max_n=1.0
      lat_start=0.2
      lat_max=2.0
   }
   model
   {
      file=rd.dof
   }
   pacejka~pacejka_default
   {
   }
   ackerman=1.54
   mass=13
   radius=0.34
   inertia=2
   camber=0
   x=0
   y=0
   z=0
   model_brake
   {
      file=
   }
}
wheel2~wheel_common
{
   steering=0
   toe=-0.05
   rolling_coeff=0.015
   friction_road=1.7
   tire_rate=200000
   max_braking=1750
   braking_factor=0.4
   max_handbrake_torque=5000
   skidding
   {
      long_start=0.2
      long_max=1.0
      long_start_n=0.2
      long_max_n=1.0
      lat_start=0.2
      lat_max=2.0
   }
   model
   {
      file=rg.dof
   }
   pacejka~pacejka_default
   {
   }
   ackerman=1.54
   mass=13
   radius=0.34
   inertia=2
   lock=0
   camber=0
   x=0
   y=0
   z=0
   model_brake
   {
      file=
   }
}
wheel3~wheel_common
{
   steering=0
   toe=-0.05
   rolling_coeff=0.015
   friction_road=1.7
   tire_rate=200000
   max_braking=1750
   braking_factor=0.4
   max_handbrake_torque=5000
   skidding
   {
      long_start=0.2
      long_max=1.0
      long_start_n=0.2
      long_max_n=1.0
      lat_start=0.2
      lat_max=2.0
   }
   model
   {
      file=rd.dof
   }
   pacejka~pacejka_default
   {
   }
   ackerman=1.54
   mass=13
   radius=0.34
   inertia=2
   lock=0
   camber=0
   x=0
   y=0
   z=0
   model_brake
   {
      file=
   }
}
camera0
{
   offset
   {
      x=0
      y=-0.5
      z=-4.75
   }
   angle
   {
      x=15
      y=180
      z=0
   }
   name=Origine
   follow
   {
      pitch=0
      yaw=1
      roll=1
   }
}
camera1
{
   offset
   {
      x=0
      y=-0.4
      z=-5.3
   }
   angle
   {
      x=25
      y=0
      z=0
   }
   name=Coté
   follow
   {
      pitch=0
      yaw=1
      roll=0
   }
   fov=50
   model=1
   wheels=1
   views=1
}
camera2
{
   offset
   {
      x=0.32
      y=-1.15
      z=-0.35
   }
   angle
   {
      x=0
      y=180
      z=0
   }
   follow
   {
      pitch=0
      yaw=1
      roll=1
   }
      model=1
      wheels=1
      views=1
   }
}
camera3
{
   follow
   {
      pitch=
      yaw=1
      roll=
   }
   model=1
   wheels=1
   views=1
   offset
   {
      x=-0.32
      y=-1.15
      z=-0.35
   }
   angle
   {
      x=0
      y=180
      z=0
   }
   name=Marche arriere
}
camera4
{
   offset
   {
      x=-0.493750
      y=-2.308333
      z=-8.135000
   }
   angle
   {
      x=2.361111
      y=-110.763885
      z=0.000000
   }
}
camera5
{
   follow
   {
      pitch=1
      yaw=1
      roll=0
   }
   offset
   {
      x=0.003125
      y=-0.227084
      z=-4.569997
   }
   angle
   {
      x=0.416667
      y=-150.520996
      z=-0.434030
   }
}
camera6
{
   offset
   {
      x=0
      y=-1.302500
      z=-4.005000
   }
   angle
   {
      x=0
      y=-90
      z=0.000000
   }
   follow
   {
      pitch=0
      yaw=1
      roll=1
   }
      views=1
      model=1
      wheels=1
    }
}
camera7
{
   follow
   {
      pitch=0
      yaw=1
      roll=0
   }
   offset
   {
      x=0
      y=0.2
      z=1.3666
    }
      views=1
      model=1
      wheels=1
    }   
   angle
   {
      x=25
      y=180.000000
      z=0.000000
   }
}
camera8
{
   offset
   {
      x=0
      y=-1
      z=-5
   }
   angle
   {
      x=15
      y=-145
      z=0.000000
   }
   follow
   {
      pitch=0
      yaw=1
      roll=0
   }
      views=2
      model=1
      wheels=1
      fov=55
    }
}
camera9
{
   follow
   {
      pitch=0
      yaw=1
      roll=0
   }
   fov=55
      views=2
      model=1
      wheels=1
   offset
   {
      x=0
      y=-1
      z=-5
   }
   angle
   {
      x=15
      y=-48
      z=0
   }
   name=High
}

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

audio
{
skid
  	{
    		sample=skid.wav
  	}
  	acc_all
  	{
    		attack=600
    		decay=600
  	}
  	accelerate_out
  	{
    		smp0~audio.acc_all
    		{
      			volume=1
			sample=1900.wav
      			min=0
      			max=2500
      			natural=0900
    		}
		smp1~audio.acc_all
    		{
      			volume=1
     			sample=3000.wav
      			min=2500
      			max=3500
      			natural=2000
    		}
		smp2~audio.acc_all
    		{
      			volume=1
     			sample=4000.wav
      			min=3500
      			max=4500
      			natural=3000
    		}
		smp3~audio.acc_all
    		{
			volume=1.1
     			sample=5000.wav
      			min=4500
      			max=5500
      			natural=4000
    		}
		smp4~audio.acc_all
    		{

			volume=1.15
     			sample=6100.wav
      			min=5500
      			max=6500
      			natural=5100
    		}
		smp5~audio.acc_all
    		{

			volume=1.2
     			sample=6900.wav
      			min=6500
      			max=12000
      			natural=5900
    		}
  	}
  	decelerate_out
  	{
   		volume=0.6
		smp0~audio.acc_all
    		{
      			sample=1900.wav
      			min=0
      			max=2500
      			natural=0900
    		}
		smp1~audio.acc_all
    		{
     			sample=3000.wav
      			min=2500
      			max=3500
      			natural=2000
    		}
		smp2~audio.acc_all
    		{
     			sample=4000.wav
      			min=3500
      			max=4500
      			natural=3000
    		}
		smp3~audio.acc_all
    		{
     			sample=5000.wav
      			min=4500
      			max=5500
      			natural=4000
    		}
		smp4~audio.acc_all
    		{
     			sample=6100.wav
      			min=5500
      			max=6500
      			natural=5100
    		}
		smp5~audio.acc_all
    		{
     			sample=6900.wav
      			min=6500
      			max=12000
      			natural=5900
    		}
	}
}
