;-------------------------------------------------------------------------------
;----- ЗАЗ 968М ----------------------------------------------------------------
;-------------------------------------------------------------------------------

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

[car_definition]

time_to_explosion		= 320
camera_pos			= -0.5, 1.3, -0.8	;смещение камеры в кабине влево-вправо, вверх-вниз, вперед-назад

driving_wheels			= back_left_wheel,back_right_wheel					; ведущие колёса
steering_wheels			= front_left_wheel,front_right_wheel					; рулевые колёса
breaking_wheels			= back_left_wheel,back_right_wheel,front_left_wheel,front_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			= 40		; L
fuel_consumption  		= 6		; L / (100k R); liters per 100 000 rotations
engine_power			= 28		; horse_power (kW=hp*0.808) max power
max_power_rpm			= 3500		; (nominal rpm ) on this rpm value engine power reaches maximum, must be within every diapason 	- shift down/ shift up
max_torque_rpm			= 2500		; on this rpm engine torque reaches maximum

power_increment_factor		= 0.01
power_decrement_factor		= 0.1
rpm_increment_factor		= 0.05
rpm_decrement_factor		= 0.1
m_power_neutral_factor		= 0.75

; additional engine parameters

max_engine_rpm			= 5000		; 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.6         	; Время поворота рулевого колеса, в максимум. rps (1)
steering_torque			= 900000.    	; Сила гидроусилителя руля. (N*m)
break_torque			= 0.06        	; Сила тормозных колодок. (N*m)
break_time			= 1.0         	; время нарастания силы торможения до максимума, при подтормаживании (стрелка назад)
hand_break_torque		= 0.055        	; сила торможения пробелом (по умолчанию = break_torque)

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

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

[transmission_gear_ratio]
										; shift down/ shift up. (rpm, необходимое для переключения)
R				= 3.73, 2500,4250	
N1				= 3.73, 2500,4250
N2				= 2.29, 2500,4250
N3				= 1.39, 2500,4250
N4				= 0.96, 2500,4250
				
;-------------------------------------------------------------------------------
;------ Rest Adjustment --------------------------------------------------------

[lights]
headlights  = f1,f2,f3,f4,f5

[f1]
bone				= right_light
color				= 1.0,1.0,1.0,1.0
range				= 35
cone_angle			= 45
spot_texture			= lights\lights_blamplight
glow_texture			= glow\glow_Yellow
glow_radius			= 1.5

[f2]
bone				= left_light
color				= 1.0,1.0,1.0,1.0
range				= 35
cone_angle			= 45
spot_texture			= lights\lights_blamplight
glow_texture			= glow\glow_Yellow
glow_radius			= 1.5

[f3]
bone				= back_light_right
color				= 0.5,0.5,0.5,0.5
range				= 5
cone_angle			= 10
spot_texture			= lights\lights_blamplight
glow_texture			= glow\glow_Yellow
glow_radius			= 1.5

[f4]
bone				= back_light_left
color				= 0.5,0.5,0.5,0.5
range				= 5
cone_angle			= 10
spot_texture			= lights\lights_blamplight
glow_texture			= glow\glow_Yellow
glow_radius			= 1.5

[f5]
bone				= spidometr
color				= 1.0,1.0,1.0,1.0
range				= 2
cone_angle			= 3
spot_texture			= lights\lights_blamplight
glow_texture			= glow\glow_Yellow
glow_radius			= 1.5

[car_sound]
snd_volume			= 1.0
snd_name			= car\veh_zaz\engine_run
engine_sound_start_dellay	= 0.5
engine_start			= car\veh_zaz\engine_start
engine_stop			= car\veh_zaz\engine_stop
transmission_switch		= car\veh_zaz\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_vehichels
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			= front_bamper
particle_bones2			= root

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

[particle_bones]
root				=  0,0.7,1.3
front_bamper			=  0,0,0

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

[damage_items]
back_left_wheel			= 300
back_right_wheel		= 300
front_left_wheel		= 300
front_right_wheel		= 300
left_door			= 300
;front_door			= 300
;back_door			= 300

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

[collision_damage]
root				= 0
front_bamper			= 0
left_door			= 0
back_left_wheel			= 0
back_right_wheel		= 0
front_left_wheel		= 0
front_right_wheel		= 0

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

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

default				= 1, -1, 0.1

[immunities]
burn_immunity			= 0.0       ;коэффициенты иммунитета
strike_immunity			= 0.1
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.45
frag_hit_impulse		= 250
hit_type_blast			= explosion
hit_type_frag			= fire_wound
up_throw_factor			= 0.5
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
explode_duration    		= 50		;подолжительность взрыва (с)

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

[explode_effector]
effect_sect_name= effector_explode_hit

;-------------------------------------------------------------------------------
;------ 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		= 1


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

[destroyed]
dynamics\vehicles\veh_Zaz968\part\veh_zaz968_u_01_part0
dynamics\vehicles\veh_Zaz968\part\veh_zaz968_u_01_part1

[autoremove_parts]
time				= 60

;-------------------------------------------------------------------------------
;--- part impulse_transition ---------------------------------------------------

[impulse_transition_to_parts]
random_min			= 30.0    ; величина случайно направленного импульса пропорционально массе нового объекта
random_hit_imp			= 1.0     ; величина случайно направленного импульса пропорционально разрушающему хиту
;ref_bone			=         ; кость из по которой определяется скорость для частей у который связь не задана, по умолчанию рут
imp_transition_factor		= 1.0     ; фактор с которым прикладывается хит по исходному объекту ко всем частям 
lv_transition_factor		= 0.5     ; коэффициент передачи линейной скорости
av_transition_factor		= 0.5     ; коэффициент передачи угловой скорости

;-------------------------------------------------------------------------------