Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
added (and documented) changes to gamedata files
  • Loading branch information
etapomom committed Dec 9, 2024
commit ed7fb0a75ed8baf2239eebadb392dc996a8f62ff
24 changes: 24 additions & 0 deletions gamedata/configs/text/eng/ui_mm_modded_exes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,13 @@
<text>Particle update rate (1 - 30hz, 0.5 - 60hz, etc) (particle_update_mod)</text>
</string>

<string id="ui_mm_modded_exes_render_short_tracers">
<text>Cap and render tracers to their minimum length (render_short_tracers)</text>
</string>
<string id="ui_mm_modded_exes_allow_silencer_hide_tracer">
<text>Allow silencers to hide tracers (allow_silencer_hide_tracer)</text>
</string>

<string id="ui_mm_modded_exes_pda_map_zoom_in_to_mouse">
<text>PDA Map Zoom In Relative To Mouse (pda_map_zoom_in_to_mouse)</text>
</string>
Expand Down Expand Up @@ -146,6 +153,23 @@
<string id="ui_mm_modded_exes_keyboard_buffer_size">
<text>Keyboard Input Buffer Size (keyboard_buffer_size)</text>
</string>

<string id="ui_mm_modded_exes_allow_outfit_control_inertion_factor">
<text>Enable outfits affecting mouse sensitivity (allow_outfit_control_inertion_factor)</text>
</string>
<string id="ui_mm_modded_exes_allow_weapon_control_inertion_factor">
<text>Enable weapons affecting mouse sensitivity (allow_weapon_control_inertion_factor)</text>
</string>
<string id="ui_mm_modded_exes_fix_avelocity_spread">
<text>Fix moving the camera not affecting accuracy (fix_avelocity_spread)</text>
</string>
<string id="ui_mm_modded_exes_apply_pdm_to_ads">
<text>Apply PDM (handling) values when ADS (apply_pdm_to_ads)</text>
</string>
<string id="ui_mm_modded_exes_smooth_ads_transition">
<text>Smoothly apply the ADS accuracy bonus (smooth_ads_transition)</text>
</string>

<!-- HDR10 -->
<string id="ui_mm_modded_exes_hdr10_enabled">
<text>Enable HDR10 (Requires Restart) (r4_hdr10_on)</text>
Expand Down
24 changes: 24 additions & 0 deletions gamedata/configs/text/rus/ui_mm_modded_exes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,13 @@
<text>������� ��������� (1 - 30��, 0.5 - 60�� � �.�.) (particle_update_mod)</text>
</string>

<string id="ui_mm_modded_exes_render_short_tracers">
<text>���������� � ��������� �������� �� �� ����������� ����� (render_short_tracers)</text>
</string>
<string id="ui_mm_modded_exes_allow_silencer_hide_tracer">
<text>��������� ���������� �������� ������������ �������� (allow_silencer_hide_tracer)</text>
</string>

<string id="ui_mm_modded_exes_pda_map_zoom_in_to_mouse">
<text>��� �� ����� ������������ ������� (pda_map_zoom_in_to_mouse)</text>
</string>
Expand Down Expand Up @@ -146,6 +153,23 @@
<string id="ui_mm_modded_exes_keyboard_buffer_size">
<text>����� ����� ��� ���������� (keyboard_buffer_size)</text>
</string>

<string id="ui_mm_modded_exes_allow_outfit_control_inertion_factor">
<text>�������� ������, �������� �� ���������������� ���� (allow_outfit_control_inertion_factor)</text>
</string>
<string id="ui_mm_modded_exes_allow_weapon_control_inertion_factor">
<text>�������� ������, �������� �� ���������������� ���� (allow_weapon_control_inertion_factor)</text>
</string>
<string id="ui_mm_modded_exes_fix_avelocity_spread">
<text>��������� ����������� ������, �� �������� �� �������� (fix_avelocity_spread)</text>
</string>
<string id="ui_mm_modded_exes_apply_pdm_to_ads">
<text>���������� �������� PDM (���������) ��� ���������� ������� (apply_pdm_to_ads)</text>
</string>
<string id="ui_mm_modded_exes_smooth_ads_transition">
<text>������ ���������� ����� �� �������� ������� (smooth_ads_transition)</text>
</string>

<!-- HDR10 -->
<string id="ui_mm_modded_exes_hdr10_enabled">
<text>�������� HDR10 (��������� ������������) (r4_hdr10_on)</text>
Expand Down
15 changes: 8 additions & 7 deletions gamedata/scripts/ltx_help_ex.script
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,20 @@
base_hud_offset_pos_16x9 - Editable variables that allow weapon position adjustements that don't require aim tweaks
base_hud_offset_rot - Editable variables that allow weapon position adjustements that don't require aim tweaks
base_hud_offset_rot_16x9 - Editable variables that allow weapon position adjustements that don't require aim tweaks
silenced_tracers - Option to disable silencers hiding the tracer on a per weapon basis

Grenades
frags_ap - Explosive shrapnel (frags) customization
frags_air_resistance - Explosive shrapnel (frags) customization
frags_tracer - Explosive shrapnel (frags) customization
frags_4to1_tracer - Explosive shrapnel (frags) customization
frags_magnetic_beam_shot - Explosive shrapnel (frags) customization
frags_tracer_color_ID - Explosive shrapnel (frags) customization
frags_ap - AP power for shrapnel
frags_air_resistance - Air resistance for shrapnel
frags_tracer - Tracer flag for shrapnel
frags_4to1_tracer - 4 to 1 tracer flag for shrapnel
frags_magnetic_beam_shot - Magnetic beam flag for shrapnel
frags_tracer_color_ID - Tracer color ID for shrapnel
ammo_grenade_vel - Specify velocity of underbarrel grenade launcher ammo
explode_effector_sect_name - customizable explode_effector per grenade section

Ammo
tracer_silenced - Silencers can hide bullet tracers
tracer_silenced - Silencers can hide bullet tracers on a per ammo type basis
tracer_length_k - Tracer length modifier

Detectors
Expand Down
13 changes: 12 additions & 1 deletion gamedata/scripts/lua_help_ex.script
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,11 @@

allow_outfit_control_inertion_factor
allow_weapon_control_inertion_factor // Weapon and outfit control_inertion_factor can affect mouse sens
render_short_tracers // Tracers will be capped to their minimum length instead of not rendering
render_short_tracers // Tracers will be capped to their minimum length instead of not rendering
fix_avelocity_spread // Fixes moving the camera around not worsening accuracy
apply_pdm_to_ads // Enables PDM (handling) values to be applied properly during ADS
smooth_ads_transition // Smoothly applies the ADS accuracy bonus instead of only being applied when fully ADS
allow_silencer_hide_tracer // Controls wether or not silencers can hide tracers at all

viewport_near [0.0, 1.0] // Adjust the camera near value

Expand Down Expand Up @@ -201,6 +205,7 @@
// power = 1,
// impulse = 1,
// sender = AC_ID,
// senderweapon = db.actor:active_item():id(), // Defaults to what's set for sender if not specified
// hit_type = 1,
// max_dist = 100,
// ammo_sect = "ammo_5.56x45_fmj",
Expand Down Expand Up @@ -313,6 +318,8 @@
function update_weight()
function get_total_weight_force_update()
function get_talking_npc()
function set_actor_position(vector pos, bool bskip_collision_correct, bool bkeep_speed)
function set_movement_speed(vector)

// Stalker NPCs
function get_enable_anomalies_pathfinding()
Expand Down Expand Up @@ -460,6 +467,10 @@
}
table get_scope_ui()
function set_scope_ui(string)

// Get and set the zoom_rotate_time (time in seconds to fully ADS) field for a given weapon
function GetZoomRotateTime()
function SetZoomRotateTime(float)
}

enum rq_target { (sum them up to target multiple types)
Expand Down
49 changes: 49 additions & 0 deletions gamedata/scripts/ui_options_modded_exes.script
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,20 @@ function init_opt_base()
step = 0.01,
cmd = "particle_update_mod",
},
{
id = "render_short_tracers",
type = "check",
val = 1,
def = true,
cmd = "render_short_tracers",
}
{
id = "allow_silencer_hide_tracer",
type = "check",
val = 1,
def = true,
cmd = "allow_silencer_hide_tracer",
},

{ id = "divider", type = "line" },

Expand Down Expand Up @@ -370,6 +384,41 @@ function init_opt_base()
content = {function() return {{"1", "ON"}, {"0", "OFF"}} end},
cmd = "telekinetic_objects_include_corpses",
},
{
id = "allow_outfit_control_inertion_factor",
type = "check",
val = 1,
def = false,
cmd = "allow_outfit_control_inertion_factor",
},
{
id = "allow_weapon_control_inertion_factor",
type = "check",
val = 1,
def = false,
cmd = "allow_weapon_control_inertion_factor",
},
{
id = "fix_avelocity_spread",
type = "check",
val = 1,
def = false,
cmd = "fix_avelocity_spread",
},
{
id = "apply_pdm_to_ads",
type = "check",
val = 1,
def = false,
cmd = "apply_pdm_to_ads",
},
{
id = "smooth_ads_transition",
type = "check",
val = 1,
def = false,
cmd = "smooth_ads_transition",
},

{ id = "divider", type = "line" },

Expand Down