; Пистолет ОЦ-33 "Пернач"
;-(правлено SR)-------------------------------------
; калибр 				9x18 мм
; длина ствола 				140
; магазин				18/27
; вес без магазина			1.15
; эффективная дальность стрельбы	30 м 
; прицельная дальность			50 м
; дульная скорость пули			340 м/с
; темп стрельбы				800-900 в/м
;---------------------------------------------------
[wpn_oc33]:identity_immunities
$spawn                   	= "weapons\oc33"
$npc                     	= on
$prefetch 		         	= 8
scheduled                	= off
cform                    	= skeleton
class                    	= WP_LR300
min_radius               	= 0
max_radius               	= 50

inv_name	        		= wpn-wpn_oc33
inv_name_short				= wpn-wpn_oc33
description					= enc_weapons1_wpn-oс33

upg = nil
upg_last = nil

cost						= 15000
inv_weight					= 1.15

visual                   	= weapons\oc33\wpn_oc33.ogf

ef_main_weapon_type			= 2
ef_weapon_type				= 6

holder_range_modifier		= 1
holder_fov_modifier			= 1

hand_dependence		     	= 1
single_handed				= 0

sprint_allowed				= true

slot 			         	= 1
animation_slot			 	= 1

inv_grid_width				= 2
inv_grid_height				= 1
inv_grid_x					= 30
inv_grid_y					= 16

kill_msg_x					= 161
kill_msg_y					= 153
kill_msg_width				= 37
kill_msg_height				= 24

ammo_limit		         	= 210
;ammo_current		     	= 90
ammo_elapsed		     	= 30

ph_mass						= 2


;-----Ballistics, Handling & Accuracy-----;
hit_power                = 0.488, 0.569, 0.683, 0.820
hit_impulse		         = 110
hit_type 				 = fire_wound

silencer_hit_power       	= 0.5
silencer_hit_impulse	 	= 1
silencer_fire_distance   	= 1
silencer_bullet_speed	 	= 240

fire_distance            	= 50
bullet_speed				= 330,420
rpm                      	= 800

use_aim_bullet			= true; Поддерживается ли первая суппер пуля

ammo_mag_size				= 18
ammo_class					= ammo_9x18_fmj, ammo_9x18_pmm
fire_modes					= 1, -1
	
tri_state_reload			= off

control_inertion_factor		= 1.00f

fire_dispersion_base		= 0.22
handling_factor				= 1.00
use_aim_bullet				= true
time_to_aim					= 0.50

PDM_disp_base 				= 1.0
PDM_disp_vel_factor 		= 1.2
PDM_disp_accel_factor 		= 1.3
PDM_crouch	 				= 0.9
PDM_crouch_no_acc 			= 0.8

cam_relax_speed        	 	= 6.2
cam_relax_speed_ai      	= 360
cam_dispersion         	 	= 0.2
cam_step_angle_horz			= 0.7
cam_dispersion_inc			= 0.06
cam_dispertion_frac			= 0.3
cam_max_angle				= 7.0
cam_max_angle_horz			= 10.0

fire_dispersion_condition_factor 	= 5
misfire_probability 				= 0.005
misfire_condition_k					= 0.15
condition_shot_dec 					= 0.00035


;-----Sights & Attachments-----;
;--Scope & Sight--
zoom_enabled				= true

scope_status				= 0
scope_name 					= wpn_addon_scope
scope_x 					= 42
scope_y 					= 3

scope_zoom_factor = 70;	    	= 90.0
;max_zoom_factor			= 5
;scope_texture				= wpn\wpn_crosshair_g36

;--Silencer--
silencer_status				= 0

silencer_name  				= wpn_addon_silencer
silencer_x 					= 72
silencer_y 					= -8

;--Grenade Launcher--
grenade_launcher_status		= 0
;grenade_vel				= 76
;grenade_class				= ammo_m209

grenade_launcher_name 		= wpn_addon_grenade_launcher_m203
grenade_launcher_x 			= 130
grenade_launcher_y 			= 31


;-----Sounds, Particles, Muzzleflash & Miscellaneous-----;

snd_draw					= weapons\draw
snd_holster					= weapons\holster
snd_shoot					= weapons\oc33\oc33_shot
snd_empty					= weapons\empty
snd_reload					= weapons\oc33\oc33_reload
snd_close					= weapons\holster
snd_silncer_shot			= weapons\oc33\oc33_shoot_sil

rpm_empty_click 	 		= 200

light_disabled				= false

light_color					= 0.6,0.5,0.3				; params for light during the fire
light_range					= 5							; radius
light_var_color				= 0.05						
light_var_range				= 0.5
light_time 					= 0.2

silencer_light_color		= 0.6,0.5,0.3
silencer_light_range		= 0.01
silencer_light_var_color	= 0.05
silencer_light_var_range	= 0.5
silencer_light_time 		= 0.2

flame_particles				= weapons\generic_weapon05
smoke_particles				= weapons\generic_shoot_00

silencer_smoke_particles 	= weapons\generic_shoot_00

shell_point		 			= 0,0.222,0.033
;shell_dir		 			= 0.0, 0.0, 0.4
shell_particles	 			= weapons\generic_shells

normal                   	= 0, 1, 0
position         	    	= -0.026,-0.172,-0.007
orientation              	= 0, 0, 0

direction                	= 0, 0, 1

fire_point               	= 0,0.219,0.168

weapon_remove_time			= 1000

strap_position         		= -0.16,-0.40,0.15
strap_orientation      		= -10,-5,10
strap_bone0					= bip01_spine2
strap_bone1					= bip01_spine1


hud                      	= wpn_oc33_hud
[wpn_oc33_hud]
shell_point          		= 0,0,-0.5
;shell_dir			 		= 0,0,-0.35

fire_point               	= 0,0,-0.35
fire_bone                	= muzzle
orientation              	= 0, 0, 0
position                	= 0.1, -0.04, -0.02
visual                   	= weapons\oc33\wpn_oc33_hud.ogf

anim_holster				= holster
anim_idle					= idle
anim_empty					= empty
anim_reload					= reload
anim_reload_empty			= reload
anim_draw					= draw
anim_draw_empty				= draw_empty
anim_shoot					= shoot
anim_shot_last				= shoot_last
anim_close					= idle
anim_idle_aim				= idle_aim
anim_idle_sprint			= idle_sprint

zoom_hide_crosshair			= true
zoom_rotate_time			= 0.25
zoom_offset					= -0.1, 0.04, 0.0
zoom_rotate_x				= 0.0
zoom_rotate_y				= 0.0
