280 lines
12 KiB
TeX
280 lines
12 KiB
TeX
;------------------------------------------------------------------------------------------------
|
|
[wpn_ppsh_bas]:identity_immunities,weapon_probability,default_weapon_params;wpn_ppsh41_sounds
|
|
GroupControlSection = spawn_group
|
|
$npc = on
|
|
$prefetch = 8
|
|
$spawn = "weapons\ppsh41"
|
|
scheduled = off
|
|
cform = skeleton
|
|
|
|
class = WP_LR300
|
|
slot = 2
|
|
animation_slot = 8
|
|
ef_main_weapon_type = 2
|
|
ef_weapon_type = 6
|
|
hand_dependence = 1
|
|
single_handed = 0
|
|
|
|
default_to_ruck = false
|
|
sprint_allowed = true
|
|
|
|
parent_section = wpn_ppsh_bas
|
|
|
|
scopes = uptacppsh
|
|
|
|
inv_grid_width = 5
|
|
inv_grid_height = 2
|
|
inv_grid_x = 67
|
|
inv_grid_y = 12
|
|
|
|
icons_texture = ui\ui_icon_bas
|
|
|
|
inv_name = st_wpn_ppsh_bas
|
|
inv_name_short = st_wpn_ppsh_bas
|
|
description = st_wpn_ppsh_bas_descr
|
|
|
|
kind = w_rifle
|
|
inv_weight = 3.64
|
|
cost = 15840
|
|
repair_type = pistol
|
|
weapon_class = assault_rifle
|
|
|
|
hud = wpn_ppsh_bas_hud
|
|
visual = dynamics\weapons\wpn_ppsh_bas\wpn_ppsh_bas_world.ogf
|
|
position = -0.016, -0.015, -0.040
|
|
orientation = 0, 0, 0
|
|
fire_point = 0.0, 0.05, 0.570
|
|
fire_point2 = 0.0, 0.188, 0.392
|
|
strap_bone0 = bip01_spine2
|
|
strap_bone1 = bip01_spine1
|
|
strap_position = -0.2, -0.42, 0.05
|
|
strap_orientation = -10, -5, 10
|
|
ph_mass = 3
|
|
|
|
;flame_particles = weapons\generic_weapon03
|
|
;smoke_particles = weapons\generic_shoot_00
|
|
grenade_flame_particles = weapons\generic_weapon01
|
|
|
|
shell_point = 0.0, 0.188, 0.082
|
|
;shell_particles = weapons\generic_shells
|
|
;shell_particles = amik\weapons\data\9x18\9x18_2_r
|
|
|
|
light_disabled = false
|
|
light_color = 0.6, 0.5, 0.3
|
|
light_range = 5
|
|
light_time = 0.2
|
|
light_var_color = 0.05
|
|
light_var_range = 0.5
|
|
|
|
upgrades = up_gr_firstab_ppsh41, up_gr_seconab_ppsh41, up_gr_thirdab_ppsh41
|
|
installed_upgrades =
|
|
upgrade_scheme = upgrade_scheme_toz34
|
|
upgr_icon_x = 1750
|
|
upgr_icon_y = 1750
|
|
upgr_icon_width = 250
|
|
upgr_icon_height = 100
|
|
|
|
fire_modes = 1, -1
|
|
ammo_class = ammo_7.62x25_p, ammo_7.62x25_p_bad, ammo_7.62x25_p_verybad, ammo_7.62x25_ps, ammo_7.62x25_ps_bad, ammo_7.62x25_ps_verybad
|
|
ammo_elapsed = 71
|
|
ammo_mag_size = 71
|
|
startup_ammo = 90
|
|
|
|
scope_status = 0
|
|
;scope_name = wpn_addon_scope
|
|
;scope_x = 47
|
|
;scope_y = 0
|
|
scope_zoom_factor = 0
|
|
|
|
silencer_name = wpn_sil_9mm
|
|
silencer_status = 0
|
|
silencer_x = 175
|
|
silencer_y = -16
|
|
silencer_light_color = 0.6, 0.5, 0.3
|
|
silencer_light_range = 0.01
|
|
silencer_light_time = 0.2
|
|
silencer_light_var_color = 0.05
|
|
silencer_light_var_range = 0.5
|
|
|
|
grenade_class = ammo_vog-25, ammo_vog-25_bad, ammo_vog-25_verybad
|
|
grenade_launcher_name = wpn_addon_grenade_launcher
|
|
grenade_launcher_status = 0
|
|
grenade_launcher_x = 126
|
|
grenade_launcher_y = 24
|
|
launch_speed = 0
|
|
|
|
hit_impulse = 25
|
|
hit_power = 0.46, 0.46, 0.46, 0.46
|
|
hit_type = fire_wound
|
|
fire_distance = 500
|
|
bullet_speed = 480
|
|
rpm = 880
|
|
rpm_empty_click = 200
|
|
ap_modifier = 1.1
|
|
|
|
use_aim_bullet = false
|
|
time_to_aim = 0.0 ; 3.0
|
|
zoom_dof = 0.5, 1.0, 180
|
|
zoom_enabled = true
|
|
zoom_rotate_time = 0.33
|
|
reload_dof = 0.0, 0.5, 5, 2
|
|
control_inertion_factor = 1.0f
|
|
crosshair_inertion = 5.3
|
|
fire_dispersion_base = 0.65
|
|
fire_dispersion_condition_factor = 0.001
|
|
|
|
misfire_probability = 0.005
|
|
misfire_start_condition = 0.7 ; 0.7
|
|
misfire_start_prob = 0.005
|
|
misfire_end_condition = 0.2
|
|
misfire_end_prob = 0.02
|
|
|
|
condition_queue_shot_dec = 0.0006
|
|
condition_shot_dec = 0.0006
|
|
|
|
cam_return = 0
|
|
cam_relax_speed = 5
|
|
cam_dispersion = 0.72
|
|
cam_dispersion_frac = 1.0
|
|
cam_dispersion_inc = 0.0225
|
|
cam_max_angle = 39.0
|
|
cam_max_angle_horz = 39.0
|
|
cam_step_angle_horz = 1.8
|
|
zoom_cam_relax_speed = 10
|
|
zoom_cam_dispersion = 0.56
|
|
zoom_cam_dispersion_frac = 0.7
|
|
zoom_cam_dispersion_inc = 0.0135
|
|
zoom_cam_max_angle = 32.0
|
|
zoom_cam_max_angle_horz = 32.0
|
|
zoom_cam_step_angle_horz = 1.7
|
|
|
|
PDM_disp_accel_factor = 1.855
|
|
PDM_disp_base = 0.75
|
|
PDM_disp_crouch = 1.0
|
|
PDM_disp_crouch_no_acc = 1.0
|
|
PDM_disp_vel_factor = 1.855
|
|
|
|
cam_relax_speed_ai = 120.75
|
|
zoom_cam_relax_speed_ai = 120.75
|
|
holder_fov_modifier = 1.0
|
|
holder_range_modifier = 1.0
|
|
min_radius = 0
|
|
max_radius = 500
|
|
hit_probability_gd_novice = 1.00
|
|
hit_probability_gd_stalker = 1.00
|
|
hit_probability_gd_veteran = 1.00
|
|
hit_probability_gd_master = 1.00
|
|
|
|
kill_msg_x = 72
|
|
kill_msg_y = 82
|
|
kill_msg_width = 56
|
|
kill_msg_height = 23
|
|
|
|
hud_fov = 0.78
|
|
;-----------------------------------------------------------------Particles----------------------------------------------------------------------------
|
|
flame_particles = ghost_particles\weapons\generic_smoke_eft_sil
|
|
smoke_particles = ghost_particles\weapons\flame_eft_sks
|
|
silencer_smoke_particles = ghost_particles\weapons\generic_smoke_eft_sil
|
|
;-----------------------------------------------------------------SOUNDS-------------------------------------------------------------------------------
|
|
snd_bore = weapons\ppsh_blindside\ppsh41_bore
|
|
snd_draw = weapons\ppsh_blindside\ppsh41_holster
|
|
snd_holster = weapons\ppsh_blindside\ppsh41_holster
|
|
|
|
snd_empty = weapons\ppsh_blindside\ppsh41_empty
|
|
|
|
snd_reload = weapons\ppsh_blindside\ppsh41_reload
|
|
snd_reload_empty = weapons\ppsh_blindside\ppsh41_reload_empty
|
|
|
|
snd_reload_misfire = weapons\ppsh_blindside\ppsh41_unjam
|
|
|
|
snd_shoot = weapons\ppsh_blindside\ppsh41_shoot
|
|
snd_silncer_shot = weapons\aps\aps_shot_sil
|
|
|
|
snd_switch_mode = weapons\generic\switch_mode
|
|
;----------------------------------------------------------------------------HUD--------------------------------------------------------------------------------------------------------
|
|
[wpn_ppsh_bas_hud]:hud_base
|
|
|
|
item_visual = dynamics\weapons\wpn_ppsh_bas\wpn_ppsh_bas_hud.ogf
|
|
|
|
attach_place_idx = 0
|
|
zoom_hide_crosshair = true
|
|
|
|
;---------------------------------------------------------------------
|
|
item_position = 0, 0, 0
|
|
item_orientation = 0, 0, 0
|
|
|
|
hands_position_16x9 = 0.043900,-0.003100,-0.055300
|
|
hands_orientation_16x9 = -0.200000,-0.150000,-1.000000
|
|
|
|
aim_hud_offset_pos_16x9 = -0.096501,0.033700,-0.104898
|
|
aim_hud_offset_rot_16x9 = -0.008500,-0.003000,-0.010000
|
|
;---------------------------------------------------------------------
|
|
|
|
hands_position = 0, -0.006, 0.1
|
|
hands_orientation = 0, 0, -1
|
|
|
|
aim_hud_offset_pos = -0.0527, 0.0375, -0.2
|
|
aim_hud_offset_rot = 0, 0, -0.01
|
|
|
|
lowered_hud_offset_pos_16x9 = 0.1,0,0
|
|
lowered_hud_offset_rot_16x9 = 0.1,-0.8,0.1
|
|
|
|
anm_bore = blnd_ppsh_inspect_arms_b, idle
|
|
anm_hide = blnd_ppsh_holster_arms_b, idle
|
|
anm_idle = blnd_ppsh_idle_arms_b, idle
|
|
anm_idle_aim = blnd_ppsh_idle_ads_arms_b, idle, 0.9
|
|
anm_idle_aim_moving = blnd_ppsh_idle_ads_arms_b, idle, 0.9
|
|
anm_idle_aim_moving_crouch = blnd_ppsh_idle_ads_arms_b, idle, 0.9
|
|
anm_idle_moving = blnd_ppsh_walk_arms_b, idle, 0.87
|
|
anm_idle_sprint = blnd_ppsh_sprint_arms_b, idle, 1.2
|
|
anm_reload = blnd_ppsh_reload_arms_b, reload, 1.3
|
|
anm_reload_empty = blnd_ppsh_reload_empty_arms_b, reload_empty, 1.3
|
|
anm_reload_misfire = blnd_ppsh_unjam_arms_b, unjam
|
|
anm_shots = ppsh_shoot_b, ppsh_shoot
|
|
anm_show = blnd_ppsh_draw_arms_b, idle
|
|
|
|
fire_bone = muzzle
|
|
fire_point = 0, 0, 0
|
|
|
|
;--------------------------------------------------------------------------Addons--------------------------------------------------------------
|
|
[wpn_ppsh_bas_uptacppsh]:wpn_ppsh_bas
|
|
|
|
inv_weight = 3.900
|
|
|
|
hud = wpn_ppsh_bas_uptacppsh_hud
|
|
|
|
inv_name = st_wpn_ppsh_bas_uptacppsh
|
|
inv_name_short = st_wpn_ppsh_bas_uptacppsh
|
|
description = st_wpn_ppsh_bas_uptacppsh_descr
|
|
|
|
parent_section = wpn_ppsh_bas_uptacppsh
|
|
|
|
inv_grid_width = 5
|
|
inv_grid_height = 2
|
|
inv_grid_x = 67
|
|
inv_grid_y = 14
|
|
|
|
rpm = 920
|
|
|
|
fire_dispersion_base = 0.58
|
|
misfire_start_condition = 0.75
|
|
misfire_start_prob = 0.003
|
|
misfire_end_condition = 0.05
|
|
misfire_end_prob = 0.02
|
|
|
|
condition_queue_shot_dec = 0.00065
|
|
condition_shot_dec = 0.00065
|
|
|
|
visual = dynamics\weapons\wpn_ppsh_bas\wpn_ppsh_uptacppsh_world.ogf
|
|
|
|
[wpn_ppsh_bas_uptacppsh_hud]:wpn_ppsh_bas_hud
|
|
|
|
item_visual = dynamics\weapons\wpn_ppsh_bas\wpn_ppsh_uptacppsh_hud.ogf
|
|
|
|
aim_hud_offset_pos_16x9 = -0.095901,-0.001100,-0.104898
|
|
aim_hud_offset_rot_16x9 = -0.012500,0.007000,-0.010000
|
|
|
|
hands_position_16x9 = 0.044000,-0.016700,-0.055300
|
|
hands_orientation_16x9 = 0.350000,-0.150000,-1.000000
|
|
;---------------------------------------------------------------------------------
|