
[wpn_toz34]:identity_immunities
GroupControlSection	= spawn_group
discovery_dependency = 
$spawn                   = "weapons\toz-34"					; option for Level Editor
$npc			 = on				; option for Level Editor
$prefetch 		 = 8
scheduled                = off              ; option for ALife Simulator
cform                    = skeleton
class                    = WP_BM16
min_radius               = 0
max_radius               = 50
description				= enc_weapons1_wpn-toz34

ef_main_weapon_type			= 1
ef_weapon_type				= 7

;-----------------------------------------------------------------------------------
holder_range_modifier	= 1.0               ; во сколько раз увеличивается eye_range 
holder_fov_modifier		= 0.7              ; во сколько раз увеличивается eye_fov
;-----------------------------------------------------------------------------------

cost					 = 12850	;1000
weapon_class			 = shotgun

ammo_limit		 = 60
ammo_current		 = 10
ammo_elapsed		 = 0

ammo_mag_size		 = 2
ammo_class		 = ammo_12x70_buck, ammo_12x76_zhekan,ammo_12x76_dart 

;-----------------------------------------------------------------------------------
;базовая дисперсия
fire_dispersion_base		= 0.2  	;угол (в градусах) базовой дисперсии оружия (оружия зажатого в тисках)
control_inertion_factor		= 1.3f

;отдача
cam_relax_speed         	= 0.0	;скорость возврата в исходное положение
cam_relax_speed_ai         	= 7.0
cam_dispersion          	= 3.0	;увеличения угла (в градусах) с каждым выстрелом
cam_dispersion_inc		= 3.0	;увеличениe cam_dispersion с каждым выстрелом
cam_dispertion_frac		= 1.0	;ствол будет подыматься на cam_dispersion*cam_dispertion_frac +- cam_dispersion*(1-cam_dispertion_frac)
cam_max_angle			= 8.0	;максимальный угол отдачи
cam_max_angle_horz		= 20.0	;(degree) maximum shot horizontal degree 
cam_step_angle_horz		= 2.5	;(degree) size of step camera moved in horizontal position while shooting

fire_dispersion_condition_factor = 5	;увеличение дисперсии в процентах при максимальном износе 
misfire_probability 		= 0.005	;вероятность осечки при максимальном износе 
condition_shot_dec 		= 0.00070 ;увеличение износа при каждом выстреле
;-----------------------------------------------------------------------------------

hand_dependence 	 = 1
single_handed		 = 0

slot 				 = 2		; // secondary
animation_slot		 = 3		; type of the animation that will be used
sprint_allowed		 = false

inv_name		= wpn-toz34
inv_name_short	= wpn-toz34
inv_weight		= 3.1

inv_grid_width		= 6
inv_grid_height		= 1
inv_grid_x			= 12
inv_grid_y			= 2

kill_msg_x			= 127
kill_msg_y			= 82
kill_msg_width		= 97
kill_msg_height		= 23

direction                = 0, 0, 1
shell_point				 = 0.0, 0.183, 0.07
fire_point               = 0.0, 0.183, 0.730
fire_point2              = 0.0, 0.160, 0.730

flame_particles		   = weapons\generic_weapon05
smoke_particles		   = weapons\generic_shoot_00
rpm_empty_click 	   = 200

PDM_disp_base 			= 1.0
PDM_disp_vel_factor 		= 2.0
PDM_disp_accel_factor 		= 2.0
PDM_crouch	 		= 1.0
PDM_crouch_no_acc 		= 1.0

; ttc
hit_power        		= 1.5
hit_impulse      		= 25
hit_type 			= fire_wound

fire_distance            	= 500
bullet_speed			= 340	;начальная скорость пули
rpm                      	= 1000
; end ttc

hud                      	= wpn_shotgun_hud
normal  	                = 0, 1, 0
position                 	= -0.026, -0.132, 0.06 ;-0.026, -0.117, 0.0
orientation              	= 0, 30, 0      ;значение устанавливается в градусах

;--STRAP PARAMETERS-----------------------------------------------------------------
;под мишкой
strap_position         		= -0.26,-0.11,0.15			; position (offset) and orientation of the weapon when it is strapped
strap_orientation      		= -15,-9,110				; (3rd person view in degrees)
strap_bone0					= bip01_spine2
strap_bone1					= bip01_spine1

startup_ammo             = 10
visual                   = weapons\toz34\wpn_toz34_ext.ogf

light_color		 = 0.6,0.5,0.3
light_range		 = 6.0
light_var_color		 = 0.05
light_var_range		 = 0.5
light_time 		 = 0.2

ph_mass			 = 3
;cost			 = 900

;addons
scope_status				= 0
silencer_status				= 0
grenade_launcher_status		= 0

zoom_enabled				= true
scope_zoom_factor	    	= 90

;звуки
snd_draw			= weapons\generic_draw, 0.4
snd_holster			= weapons\generic_holster, 0.4
snd_shoot			= weapons\tm_toz34_shot  
snd_empty			= weapons\generic_empty
snd_reload			= weapons\toz34_reload, 0.5
snd_shoot_duplet	= weapons\tm_toz34_shot_both

snd_shoot_1					= weapons\tm_toz34_shot
snd_reload_1				= weapons\toz34_reload_one		;reload left
 
[wpn_shotgun_hud]
shell_point		 = 0.0, 0.0, 0.0
fire_point               = 0.0, 0.0, 0.06
fire_point2              = 0.0, 0.0, 0.06
fire_bone                = wpn_barrel_0
orientation              = 0, 0, 0
position                 = 0, 0, 0
visual                   = weapons\toz34\wpn_toz34_hud.ogf

;anim_idle		= idle
;anim_reload		= reload
;anim_draw		= draw
;anim_holster	= holster
;anim_shoot		= shoot
;anim_shoot_both = shoot_both
;anim_idle_aim	= idle_aim


anim_idle					= idle
anim_reload					= reload ;reload both
anim_draw					= draw
anim_holster				= holster
anim_shoot					= shoot1
anim_shoot_both 			= shoot1
anim_idle_aim				= idle_aim
anim_idle_sprint			= idle_sprint

anim_reload_1				= reload_one
anim_shoot_1				= shoot1

anim_idle_1					= idle
anim_idle_2					= idle

anim_zoomed_idle_1			= idle_aim
anim_zoomedidle_2			= idle_aim


;смещения HUD для режима приближения
zoom_offset			= -0.126600,0.049000,0.000000
zoom_rotate_x		= 0.044000
zoom_rotate_y		= 0.017000
;время поворота HUD (сек)
;zoom_rotate_time	= 0.7

[wpn_toz34_short]:wpn_toz34
$spawn                   	= "weapons\toz-34_short"
cost				= 7215	
fire_dispersion_base		= 0.5  	;угол (в градусах) базовой дисперсии оружия (оружия зажатого в тисках)
control_inertion_factor		= 1.13f
description			= enc_weapons1_wpn-toz34_short
slot 				= 2
inv_name			= wpn-toz34_short
inv_name_short			= wpn-toz34_short
fire_point               	= 0.0, 0.183, 0.45
fire_point2              	= 0.0, 0.160, 0.45
inv_weight			= 2.0
inv_grid_width			= 3
inv_grid_height			= 1
inv_grid_x			= 10
inv_grid_y			= 40
hit_power        		= 0.75, 0.80, 0.85, 0.89
hit_impulse      		= 200
fire_distance            	= 60
min_radius               	= 0
max_radius               	= 60
bullet_speed			= 290	;начальная скорость пули
visual                  	= weapons\toz34\wpn_toz34_short.ogf
hud                      	= wpn_toz34_short_hud

[wpn_toz34_short_hud]:wpn_shotgun_hud
fire_point               	= -0.15, -0.01, 0.06
fire_point2              	= -0.15, -0.01, 0.06
visual                  	= weapons\toz34\wpn_toz34_short_hud.ogf
zoom_offset			= -0.1266,0.049,0.1



