;-------------------------------------------------------------------------------
;----- Москвич 412 -------------------------------------------------------------
;-------------------------------------------------------------------------------

[disable]
linear_factor			= 0.5
angular_factor			= 0.5
					
;-------------------------------------------------------------------------------
;-------------------------------------------------------------------------------

[car_definition]

camera_pos			= -0.4, 1.45, -0.07

driving_wheels			= back_left_wheel,back_right_wheel					; ведущие колёса
steering_wheels			= front_left_wheel,front_right_wheel					; рулевые колёса
breaking_wheels			= front_left_wheel,front_right_wheel,back_left_wheel,back_right_wheel	; тормозящие колёса
doors				= left_door,right_door							; двери
steer				= stearing_wheel							; руль
driver_place			= seat_left								; место водителя
exhausts			= exhausts								; выхлопная труба
exhaust_particles		= vehiclefx\exhaust_1
damage				= damage_bones

;-------------------------------------------------------------------------------
;------ Factory parameters of Engine -------------------------------------------

fuel_tank			= 46		; L
fuel_consumption		= 8		; L / (100k R); liters per 100 000 rotations
engine_power			= 75		; horse_power (kW=hp*0.808) max power
max_power_rpm			= 5400		; (nominal rpm ) on this rpm value engine power reaches maximum
max_torque_rpm			= 3000		; on this rpm engine torque reaches maximum

power_increment_factor		= 0.1
power_decrement_factor		= 0.08
rpm_increment_factor		= 0.1
rpm_decrement_factor		= 0.3
m_power_neutral_factor		= 0.75
; additional engine parameters

max_engine_rpm			= 6000		; rpm (5000) rpm will never be more
idling_engine_rpm		= 850		; rpm (750) min rpm - starts from this rpm value

;-------------------------------------------------------------------------------
;------ Adjustment a wheel -----------------------------------------------------

reference_radius		= 0.34		; Радиус колеса, используемый при просчёте двигателя
axle_friction			= 0.00001	; Ослабление скорости в неетральной позиции. (N*m)
steering_speed			= 0.5		; Время поворота рулевого колеса, в максимум. rps (1)
steering_torque			= 90000		; Сила гидроусилителя руля. (N*m)
break_torque			= 0.05		; Сила тормозных колодок. (N*m)
break_time			= 0.7		; время нарастания силы торможения до максимума, при подтормаживании (стрелка назад)
hand_break_torque		= 0.045		; сила торможения пробелом (по умолчанию = break_torque)

;-------------------------------------------------------------------------------
;------ Gearbox ----------------------------------------------------------------

main_gear_ratio			= 22		; Передаточное отношение
auto_transmission		= on		; Автоматическая коробка (on/off)

[transmission_gear_ratio]
R				= 3.340,2700,16000
N1				= 4.242,2700,5700
N2				= 3.989,2700,5700
N3				= 2.289,2700,5700
N4				= 1.000,2700,16000

damage				= damage_bones

;-------------------------------------------------------------------------------
;------ Rest Adjustment --------------------------------------------------------

[lights]
headlights			= f1,f2

[f1]
bone				= left_light
color				= 0.6,0.6,0.6,0.5
range				= 35
cone_angle			= 80
spot_texture			= lights\lights_blamplight
glow_texture			= glow\glow_Yellow
glow_radius			= 0.5

[f2]
bone				= right_light
color				= 0.6,0.6,0.6,0.6
range				= 35
cone_angle			= 80
spot_texture			= lights\lights_blamplight
glow_texture			= glow\glow_Yellow
glow_radius			= 0.5

[car_sound]
snd_volume			= 1.0
snd_name			= car\veh_niva\engine_run
engine_sound_start_dellay	= 0.5
engine_start			= car\veh_niva\engine_start
engine_stop			= car\veh_niva\engine_stop
transmission_switch		= car\veh_niva\gearchange
explosion_sound    		= 
relative_pos			= 0.0,0.5,1.5.

;-------------------------------------------------------------------------------
;------ animations params ------------------------------------------------------

[doors]
open_torque_factor		= 2	;множитель момента сил для открывания двери (default = 2)

[animations]

driver_animation_type		= 0	;тип анимаций актера для данной машины.

;-------------------------------------------------------------------------------
;------ damage params ----------------------------------------------------------

[damage_particles]

explosion_particles		= explosions\expl_car
car_damage_particles1		= explosions\expl_car_smoke_small
car_damage_particles2		= explosions\expl_car_smoke_big
wheels_damage_particles1	= vehiclefx\exhaust_1
wheels_damage_particles2	= vehiclefx\exhaust_1

particle_bones1			= right_light
particle_bones2			= root

;-------------------------------------------------------------------------------
;------ particle bones ---------------------------------------------------------

[particle_bones]
root				=  0,-0.5,1
back_left_wheel			=  0,0,0
back_right_wheel		=  0,0,0
front_left_wheel		=  0,0,0
front_right_wheel		=  0,0,0
kabina				=  0,0,0
left_door			=  0,0,0
right_door			=  0,0,0

;-------------------------------------------------------------------------------
;------ damage items -----------------------------------------------------------

[damage_items]
back_left_wheel			= 5000
back_right_wheel		= 5000
front_left_wheel		= 5000
front_right_wheel		= 5000
left_door			= 1000
right_door			= 1000

;-------------------------------------------------------------------------------
;------ collisiondamage --------------------------------------------------------

[collision_damage]
root				= 0.0001
kabina				= 0.0001
left_door			= 0.0001
right_door			= 0.0001
back_left_wheel			= 0.00001
back_right_wheel		= 0.00001
front_left_wheel		= 0.00001
front_right_wheel		= 0.00001

;-------------------------------------------------------------------------------
;------ damage bones -----------------------------------------------------------

[damage_bones]			;аналогично секции в актере, но без анимаций
;bone_name			= <hit_scale>,<-1>,<wound_scale>
;<hit_scale>			- коэфф. изменения хита (уменьшения здоровья)
;<wound_scale>			- коэфф. изменения величины открытой раны - незадействован
;-1 - must be -1
default				= 1, -1, 0.1

root				= 1, -1, 0.1
kabina				= 1, -1, 0.1
left_door			= 1, -1, 0.1
right_door			= 1, -1, 0.1
front_axle			= 1, -1, 0.1
back_axle			= 1, -1, 0.1
back_left_wheel			= 1, -1, 0.1
back_right_wheel		= 1, -1, 0.1
front_left_wheel		= 1, -1, 0.1
front_right_wheel		= 1, -1, 0.1

[immunities]
burn_immunity			= 0.0			;коэффициенты иммунитета
strike_immunity			= 0.0
shock_immunity			= 0.0
wound_immunity			= 0.0
radiation_immunity		= 0.0
telepatic_immunity		= 0.0
chemical_burn_immunity		= 0.0
explosion_immunity		= 0.0
fire_wound_immunity		= 0.0

;-------------------------------------------------------------------------------
;----------------explosion params-----------------------------------------------

[explosion]
blast				= 20
blast_r				= 5
blast_impulse			= 500
frags				= 15
frags_r				= 20
frag_hit			= 0.5
frag_hit_impulse		= 250
hit_type_blast			= explosion
hit_type_frag			= fire_wound
up_throw_factor			= 1.4
wm_size				= 0.1
explode_particles		= explosions\expl_vehichels
light_color			= 0.6,0.5,0.3
light_range			= 15.0
light_time			= 1.0

;трассы от осколков
fragment_speed			= 76
fragment_tracer_max_length	= 3
;tracer_head_speed		= 76
;tracer_max_length		= 3
explode_duration		= 50		;подолжительность взрыва (с)

;звуки
snd_explode			= weapons\heli_explosion
wallmark_section		= explosion_marks

[explode_effector]
effect_sect_name= effector_explode_hit

time				=  0.75 ; 0.5
amplitude			=  5.0; 3.5
period_number			=  50 ; 11.0

;-------------------------------------------------------------------------------
;------ Others params ----------------------------------------------------------

[air_resistance]
linear_factor			= 150.f		;
angular_factor			= 250.f		;
ph_mass				= 3900

[wheels_params]
damping_factor			= 2		;
spring_factor			= 1		;
friction_factor			= 1.2		;

[front_left_wheel]
break_torque			= 0.015		; Сила тормозных колодок. (N*m
hand_break_torque		= 0.01		; сила торможения пробелом (по умолчанию = break_torque)
damping_factor			= 2		;
spring_factor			= 1		;
friction_factor			= 1.2		;

[front_right_wheel]
break_torque			= 0.015		; Сила тормозных колодок. (N*m
hand_break_torque		= 0.01		; сила торможения пробелом (по умолчанию = break_torque)
damping_factor			= 2		;
spring_factor			= 1		;
friction_factor			= 1.2		;

[back_left_wheel]
break_torque			= 0.015		; Сила тормозных колодок. (N*m
hand_break_torque		= 0.015		; сила торможения пробелом (по умолчанию = break_torque)
damping_factor			= 2		;
spring_factor			= 1		;
friction_factor			= 1.3		;

[back_right_wheel]
break_torque			= 0.015		; Сила тормозных колодок. (N*m
hand_break_torque		= 0.015		; сила торможения пробелом (по умолчанию = break_torque)
damping_factor			= 2		;
spring_factor			= 1		;
friction_factor			= 1.3		;

[collide]
not_collide_parts		= 0

;-------------------------------------------------------------------------------
;------ destroyed part ---------------------------------------------------------

[autoremove_parts]
time				= 60

;-------------------------------------------------------------------------------
;------ End params -------------------------------------------------------------