284 lines
11 KiB
Plaintext
284 lines
11 KiB
Plaintext
|
;------------------------------------------------------------------------------------------------
|
||
|
[wpn_rpg7]:zero_immunities,weapon_probability,default_weapon_params,wpn_rpg7_sounds
|
||
|
kind = w_explosive
|
||
|
GroupControlSection = spawn_group
|
||
|
discovery_dependency =
|
||
|
$prefetch = 8
|
||
|
$spawn = "weapons\rpg-7"
|
||
|
scheduled = off
|
||
|
cform = skeleton
|
||
|
|
||
|
parent_section = wpn_rpg7
|
||
|
|
||
|
scopes = pgo7gs
|
||
|
|
||
|
class = WP_RPG7
|
||
|
slot = 2
|
||
|
animation_slot = 4
|
||
|
ef_main_weapon_type = 4
|
||
|
ef_weapon_type = 12
|
||
|
hand_dependence = 1
|
||
|
single_handed = 0
|
||
|
|
||
|
sprint_allowed = true
|
||
|
|
||
|
icons_texture = ui\ui_icon_bas
|
||
|
inv_grid_width = 5
|
||
|
inv_grid_height = 2
|
||
|
inv_grid_x = 72
|
||
|
inv_grid_y = 0
|
||
|
|
||
|
inv_name = st_wpn_rpg7
|
||
|
inv_name_short = st_wpn_rpg7
|
||
|
description = st_wpn_rpg7_descr
|
||
|
|
||
|
inv_weight = 6.3
|
||
|
cost = 29800
|
||
|
weapon_class = heavy_weapon
|
||
|
|
||
|
hud = wpn_rpg7_hud
|
||
|
visual = dynamics\weapons\wpn_rpg7\wpn_rpg7_world.ogf
|
||
|
position = -0.027, 0, 0.15
|
||
|
orientation = 0, 0, 0
|
||
|
fire_point = 0.0, 0.162, 0.35
|
||
|
strap_bone0 = bip01_spine2
|
||
|
strap_bone1 = bip01_spine1
|
||
|
strap_position = -0.28, -0.20, 0.25
|
||
|
strap_orientation = -15, -189, 110
|
||
|
ph_mass = 1
|
||
|
|
||
|
smoke_particles = amik\weapons\smoke_particles\smoke_particles_pump_01
|
||
|
|
||
|
light_color = 0.95, 0.95, 0.3
|
||
|
light_range = 20.0
|
||
|
light_time = 0.75
|
||
|
light_var_color = 0.05
|
||
|
light_var_range = 0.5
|
||
|
|
||
|
wallmark_section = explosion_marks
|
||
|
|
||
|
upgr_icon_x = 0
|
||
|
upgr_icon_y = 600
|
||
|
upgr_icon_width = 300
|
||
|
upgr_icon_height = 100
|
||
|
upgr_icon_path = ui\ui_actor_armor
|
||
|
|
||
|
rocket_class = wpn_rpg7_missile
|
||
|
ammo_class = ammo_og-7b, ammo_og-7b_bad, ammo_og-7b_verybad
|
||
|
ammo_current = 96
|
||
|
ammo_elapsed = 12
|
||
|
ammo_limit = 120
|
||
|
ammo_mag_size = 1
|
||
|
auto_spawn_ammo = false
|
||
|
|
||
|
scope_status = 0
|
||
|
scope_zoom_factor = 0
|
||
|
|
||
|
silencer_status = 0
|
||
|
|
||
|
grenade_launcher_status = 0
|
||
|
launch_speed = 121
|
||
|
|
||
|
hit_impulse = 150
|
||
|
hit_power = 3.00
|
||
|
hit_type = explosion
|
||
|
fire_distance = 1000
|
||
|
bullet_speed = 121
|
||
|
rpm = 200
|
||
|
|
||
|
fragment_speed = 50
|
||
|
explode_duration = 5
|
||
|
|
||
|
zoom_dof = 0.5, 1.0, 180
|
||
|
zoom_enabled = true
|
||
|
max_zoom_factor = 5
|
||
|
reload_dof = 0.0, 0.5, 5, 1.7
|
||
|
control_inertion_factor = 1.0f
|
||
|
crosshair_inertion = 10.3
|
||
|
fire_dispersion_base = 0.33
|
||
|
fire_dispersion_condition_factor = 0.001
|
||
|
|
||
|
misfire_probability = 0.005
|
||
|
misfire_start_condition = 0.7 ; 0.82
|
||
|
misfire_start_prob = 0.007
|
||
|
misfire_end_condition = 0.11
|
||
|
misfire_end_prob = 0.11
|
||
|
|
||
|
condition_queue_shot_dec = 0.0090
|
||
|
condition_shot_dec = 0.0090
|
||
|
|
||
|
cam_relax_speed = 2.0
|
||
|
cam_dispersion = 7.05
|
||
|
cam_max_angle = 50
|
||
|
cam_max_angle_horz = 50
|
||
|
cam_step_angle_horz = 0.5
|
||
|
|
||
|
PDM_disp_accel_factor = 2.95
|
||
|
PDM_disp_base = 1.25
|
||
|
PDM_disp_crouch = 1.0
|
||
|
PDM_disp_crouch_no_acc = 1.0
|
||
|
PDM_disp_vel_factor = 2.95
|
||
|
|
||
|
cam_relax_speed_ai = 360
|
||
|
holder_fov_modifier = 1.0
|
||
|
holder_range_modifier = 2.0
|
||
|
min_radius = 0
|
||
|
max_radius = 500
|
||
|
|
||
|
kill_msg_x = 0
|
||
|
kill_msg_y = 85
|
||
|
kill_msg_width = 73
|
||
|
kill_msg_height = 19
|
||
|
|
||
|
hud_fov = 0.78
|
||
|
;----------------------------------------------------------------------Sounds---------------------------------------------------------------------------
|
||
|
snd_reload = weapons\rpg7_yang_prince\rpg7_reload
|
||
|
;-----------------------------------------------------------------------HUD-----------------------------------------------------------------------------
|
||
|
[wpn_rpg7_hud]:hud_base
|
||
|
|
||
|
item_visual = dynamics\weapons\wpn_rpg7\wpn_rpg7_hud.ogf
|
||
|
|
||
|
attach_place_idx = 0
|
||
|
zoom_hide_crosshair = true
|
||
|
|
||
|
hands_position = -0.0105, -0.186, 0.2095
|
||
|
hands_orientation = 3.65, 1.05, -0.05
|
||
|
|
||
|
aim_hud_offset_pos = -0.1529, -0.0235, -0.16
|
||
|
aim_hud_offset_rot = -0.0165, 0.0635, 0
|
||
|
|
||
|
gl_hud_offset_pos = 0, 0, 0
|
||
|
gl_hud_offset_rot = 0, 0, 0
|
||
|
|
||
|
lean_hud_offset_pos = 0, 0, 0
|
||
|
lean_hud_offset_rot = 0, 0, 0
|
||
|
|
||
|
lowered_hud_offset_pos_16x9 = 0.1,-0.02,0
|
||
|
lowered_hud_offset_rot_16x9 = 0.1,-0.8,0.1
|
||
|
|
||
|
;-------
|
||
|
aim_hud_offset_pos_16x9 = -0.037500,0.000200,0.000000
|
||
|
aim_hud_offset_rot_16x9 = -0.007000,0.000500,-0.045500
|
||
|
|
||
|
hands_position_16x9 = 0.000000,-0.019600,0.000000
|
||
|
hands_orientation_16x9 = 0.000000,0.000000,0.000000
|
||
|
|
||
|
item_position = 0, 0, 0
|
||
|
item_orientation = 0, 0, 0
|
||
|
;-------
|
||
|
|
||
|
anm_bore = wpn_hand_rpg7_idle
|
||
|
anm_hide = wpn_hand_rpg7_out
|
||
|
anm_idle = wpn_hand_rpg7_idle, idle
|
||
|
anm_idle_aim = wpn_hand_rpg7_idle, idle, 0.001
|
||
|
anm_idle_aim_moving = wpn_hand_rpg7_walk
|
||
|
anm_idle_aim_moving_crouch = wpn_hand_rpg7_walk
|
||
|
anm_idle_moving = wpn_hand_rpg7_walk
|
||
|
anm_idle_sprint = wpn_hand_rpg7_run
|
||
|
anm_reload = wpn_hand_rpg7_reload, wpn_rpg7_reload
|
||
|
anm_shots = wpn_hand_rpg7_shot, wpn_rpg7_shot
|
||
|
anm_show = wpn_hand_rpg7_in
|
||
|
|
||
|
fire_bone = muzzle
|
||
|
fire_point = -0.02, 0.05, 0.23
|
||
|
|
||
|
freelook_z_offset_mul = 0.1
|
||
|
|
||
|
;-------------------------------------------------------------------------------------------------------------------------------------------------------
|
||
|
[wpn_rpg7_missile]:identity_immunities,default_weapon_params,weapon_probability,wpn_rpg7_sounds
|
||
|
GroupControlSection = spawn_group
|
||
|
discovery_dependency =
|
||
|
$prefetch = 32
|
||
|
cform = skeleton
|
||
|
|
||
|
class = G_RPG7
|
||
|
|
||
|
inv_grid_height = 1
|
||
|
inv_grid_width = 4
|
||
|
inv_grid_x = 15
|
||
|
inv_grid_y = 5
|
||
|
|
||
|
inv_name = "Og-7b"
|
||
|
inv_name_short = "Og-7b"
|
||
|
|
||
|
inv_weight = .2
|
||
|
cost = 200
|
||
|
|
||
|
visual = dynamics\weapons\wpn_ammo\ammo_og_7b.ogf ;dynamics\weapons\wpn_rpg7\wpn_rpg7_grenade_world.ogf
|
||
|
|
||
|
ph_mass = 5
|
||
|
jump_height = 0
|
||
|
|
||
|
up_throw_factor = 0.76
|
||
|
|
||
|
force_explode_time = 30000
|
||
|
|
||
|
engine_impulse = 300
|
||
|
engine_impulse_up = 133, 906
|
||
|
engine_present = true
|
||
|
engine_work_time = 3000
|
||
|
engine_particles = weapons\rpg_trail_00
|
||
|
|
||
|
lights_enabled = true
|
||
|
light_color = 1.9, 1.4, 0.5
|
||
|
light_range = 24.0
|
||
|
light_time = 1.28
|
||
|
trail_light_color = 0.6, 0.5, 0.3
|
||
|
trail_light_range = 15.0
|
||
|
|
||
|
wallmark_section = explosion_marks
|
||
|
wm_size = 0.1
|
||
|
|
||
|
hit_type_blast = explosion
|
||
|
hit_type_frag = fire_wound
|
||
|
|
||
|
blast = 4.3
|
||
|
blast_r = 7.2
|
||
|
blast_impulse = 205
|
||
|
blast_impulse_factor = 1
|
||
|
|
||
|
frag_hit = 0.09
|
||
|
frag_hit_impulse = 28
|
||
|
frags = 51
|
||
|
frags_r = 36
|
||
|
fragment_speed = 230
|
||
|
explode_duration = 0
|
||
|
explode_particles = explosions\explosion_04
|
||
|
|
||
|
kill_msg_x = 0
|
||
|
kill_msg_y = 85
|
||
|
kill_msg_width = 73
|
||
|
kill_msg_height = 19
|
||
|
;--------------------------------------------------------------------------Addons-----------------------------------------------------------------------
|
||
|
[wpn_rpg7_pgo7gs]:wpn_rpg7
|
||
|
1icon_layer = pgo7gs
|
||
|
1icon_layer_x = 125
|
||
|
1icon_layer_y = 6
|
||
|
|
||
|
visual = dynamics\weapons\wpn_rpg7\wpn_rpg7_pgo_world.ogf
|
||
|
|
||
|
inv_weight = 6.900
|
||
|
|
||
|
hud = wpn_rpg7_pgo7gs_hud
|
||
|
|
||
|
scope_status = 1
|
||
|
scope_dynamic_zoom = off
|
||
|
scope_texture = wpn_crosshair_rpg
|
||
|
scope_zoom_factor = 25
|
||
|
|
||
|
;zoom_rotate_time = 0.25
|
||
|
;scope_lense_fov = 6
|
||
|
|
||
|
[wpn_rpg7_pgo7gs_hud]:wpn_rpg7_hud
|
||
|
|
||
|
item_visual = dynamics\weapons\wpn_rpg7\wpn_rpg7_pgo_hud.ogf
|
||
|
|
||
|
aim_hud_offset_pos_16x9 = -0.037000,0.011100,-0.054100
|
||
|
aim_hud_offset_rot_16x9 = -0.007000,0.000500,-0.045500
|
||
|
|
||
|
hands_position_16x9 = 0.035500,-0.024900,0.000000
|
||
|
hands_orientation_16x9 = 0.000000,0.000000,0.000000
|
||
|
|
||
|
aim_hud_offset_alt_pos_16x9 = -0.072801,0.007200,-0.054100
|
||
|
aim_hud_offset_alt_rot_16x9 = -0.007000,0.000500,-0.045500
|
||
|
;---------------------------------------------------------------------------------------------------
|