Divergent/mods/Western Goods/gamedata/configs/items/weapons/m_rangefinder.ltx

191 lines
10 KiB
TeX

;;====================================================================================================================;;
;; ;;
;; Original Author(s) : NLTP_ASHES ;;
;; Edited : N/A ;;
;; Date : 11/02/2024 ;;
;; License : Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) ;;
;; ;;
;; Config file used add a laser rangefinder item. ;;
;; ;;
;;====================================================================================================================;;
[wg_rangefinder]:identity_immunities,weapon_probability,default_weapon_params,wpn_binoc_sounds
GroupControlSection = spawn_group
discovery_dependency =
$npc = on
$prefetch = 8
$spawn = "weapons\binocular"
scheduled = off
cform = skeleton
class = WP_BINOC
visual = dynamics\western_goods_tech\wg_rangefinder_green.ogf
hud = wg_rangefinder_hud
kind = i_device
icons_texture = ui\icons\ui_icon_western_goods_tech
inv_grid_width = 1
inv_grid_height = 1
inv_grid_x = 8
inv_grid_y = 2
inv_weight = 0.215
inv_name = st_wg_rangefinder
inv_name_short = st_wg_rangefinder_s
description = st_wg_rangefinder_descr
cost = 6850
upgrades = ; no upgrades
installed_upgrades = ; no installed upgrades
upgrade_scheme = ; no upgrade scheme
upgr_icon_x = 0
upgr_icon_y = 0
upgr_icon_width = 150
upgr_icon_height = 100
upgr_icon_path = ui\misc\ui_western_goods_upgrades.dds
custom_ui_pos = 0.0002, 0.026, -0.03
custom_ui_rot = 180,0,180
custom_ui_func = western_goods_ui_rangefinder.get_ui
custom_ui_bone = link
slot = 4
animation_slot = 13
ef_main_weapon_type = 5
ef_weapon_type = 0
hand_dependence = 1
single_handed = 0
anim_item = false
default_to_ruck = true
sprint_allowed = true
show_ammo = false
show_condition = false
highlight_equipped = true
normal = 0, 1, 0
position = -0.08, 0.05, 0.05
orientation = 0, -90, 70
direction = 0, 0, 1
fire_point = 0.0, 0.133, 0.161
ph_mass = 3
attach_bone_name = bip01_r_hand
attach_position_offset = 0.080000, 0.021273, 0.100000
attach_angle_offset = 3.080506, -1.493053, -1.202040
auto_attach = false
holder_fov_modifier = 1.0
holder_range_modifier = 1.0
vis_frame_color = 0.0, 0.0, 0.0, 0.0
vis_frame_speed = 0
vision_present = true
flame_particles = weapons\generic_weapon05
smoke_particles = weapons\generic_shoot_00
light_color = 0.6, 0.5, 0.3
light_range = 3.0
light_time = 0.2
light_var_color = 0.05
light_var_range = 0.5
ammo_class = ammo_binoc
ammo_current = 0
ammo_elapsed = 0
ammo_limit = 0
ammo_mag_size = 0
scope_status = 0
silencer_status = 0
grenade_launcher_status = 0
scope_hud_fov = 0.2
scope_zoom_factor = 0
scope_dynamic_zoom = false
hit_impulse = 0
hit_power = 0
hit_type = fire_wound
fire_distance = 0
bullet_speed = 0
rpm = 0
rpm_empty_click = 0
zoom_enabled = true
reload_dof = 0.0, 0.5, 5, 1.7
control_inertion_factor = 1.28
fire_dispersion_base = 1
fire_dispersion_condition_factor = 0
misfire_start_condition = 0
misfire_start_prob = 0.003
misfire_end_condition = 0
misfire_end_prob = 0.02
condition_queue_shot_dec = 0
condition_shot_dec = 0
cam_return = 0
cam_relax_speed = 7
cam_dispersion = 1.9
cam_dispersion_frac = 1.1
cam_dispersion_inc = 1.9
cam_max_angle = 10.0
cam_max_angle_horz = 10.0
cam_step_angle_horz = 1.2
PDM_disp_accel_factor = 1.1
PDM_disp_base = 0.5
PDM_disp_crouch = 1.0
PDM_disp_crouch_no_acc = 1.0
PDM_disp_vel_factor = 1.1
disp_crouch_factor = 0
disp_jump_factor = 0
disp_vel_factor = 0
cam_relax_speed_ai = 360
min_radius = 0
max_radius = 500
snd_zoomin = western_goods_tech\rangefinder_btn.ogg
snd_zoomout = western_goods_tech\rangefinder_btn.ogg
snd_close = weapons\generic_close.ogg
snd_on_take = other
catch_snd = none
found_snd = none
can_be_lowered = false
[wg_rangefinder_hud]:hud_base
item_visual = dynamics\western_goods_tech\wg_rangefinder_green_hud.ogf
attach_place_idx = 0
zoom_hide_crosshair = true
item_position = 0.0166, -0.00523, 0.01
item_orientation = 0, 0, -50
aim_hud_offset_pos = -0.076977, 0.021183, -0.06
aim_hud_offset_pos_16x9 = -0.076977, 0.021183, -0.06
aim_hud_offset_rot = -0.008599, -0.104174, -0.66
aim_hud_offset_rot_16x9 = -0.008599, -0.104174, -0.66
hands_position = 0.020589, 0.053214, 0.046443
hands_position_16x9 = 0.020589, 0.053214, 0.046443
hands_orientation = 0, 0, 1.5
hands_orientation_16x9 = 0, 0, 1.5
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
anm_hide = wg_rangefinder_holster, idle
anm_idle = wg_rangefinder_idle, idle
anm_idle_aim = wg_rangefinder_aim, idle
anm_idle_moving = wg_rangefinder_walk, idle
anm_idle_moving_crouch = wg_rangefinder_walk, idle, 0.75
anm_idle_sprint = wg_rangefinder_sprint, idle, 1.2
anm_show = wg_rangefinder_draw, idle
freelook_z_offset_mul = 0.75