From 507383783c2b5066325618becfbe6a56f1a3d219 Mon Sep 17 00:00:00 2001 From: PeenScreeker Date: Tue, 15 Mar 2022 19:57:10 -0400 Subject: [PATCH 1/2] feat: defrag hud convars Added convars for user-configurable strafe hud elements revised color defaults revised defaults and added colors for coloring snap zones based on speed gain potential feat: added minimum speed for accel and snap zones fix: min speed format fixed previously swapped max and default values --- .../convars/2022-03-15-mom_df_hud_accel_dz_color.md | 11 +++++++++++ _posts/convars/2022-03-15-mom_df_hud_accel_enable.md | 12 ++++++++++++ .../2022-03-15-mom_df_hud_accel_fast_color.md | 11 +++++++++++ _posts/convars/2022-03-15-mom_df_hud_accel_height.md | 12 ++++++++++++ .../2022-03-15-mom_df_hud_accel_mode_mirror.md | 12 ++++++++++++ .../2022-03-15-mom_df_hud_accel_mode_scale.md | 12 ++++++++++++ _posts/convars/2022-03-15-mom_df_hud_accel_offset.md | 12 ++++++++++++ .../2022-03-15-mom_df_hud_accel_slow_color.md | 11 +++++++++++ .../2022-03-15-mom_df_hud_accel_turn_color.md | 11 +++++++++++ _posts/convars/2022-03-15-mom_df_hud_projection.md | 12 ++++++++++++ _posts/convars/2022-03-15-mom_df_hud_snap_color.md | 11 +++++++++++ _posts/convars/2022-03-15-mom_df_hud_snap_enable.md | 12 ++++++++++++ _posts/convars/2022-03-15-mom_df_hud_snap_height.md | 12 ++++++++++++ .../2022-03-15-mom_df_hud_snap_hl_alt_color.md | 11 +++++++++++ .../convars/2022-03-15-mom_df_hud_snap_hl_color.md | 11 +++++++++++ .../convars/2022-03-15-mom_df_hud_snap_mode_color.md | 12 ++++++++++++ .../2022-03-15-mom_df_hud_snap_mode_height.md | 12 ++++++++++++ _posts/convars/2022-03-15-mom_df_hud_snap_mode_hl.md | 12 ++++++++++++ _posts/convars/2022-03-15-mom_df_hud_snap_offset.md | 12 ++++++++++++ .../convars/2022-03-15-mom_df_hud_velocity_color.md | 11 +++++++++++ .../convars/2022-03-15-mom_df_hud_velocity_enable.md | 12 ++++++++++++ .../convars/2022-03-15-mom_df_hud_velocity_size.md | 12 ++++++++++++ .../2022-03-15-mom_df_hud_windicator_color.md | 11 +++++++++++ .../2022-03-15-mom_df_hud_windicator_enable.md | 12 ++++++++++++ .../convars/2022-03-15-mom_df_hud_windicator_size.md | 12 ++++++++++++ .../convars/2022-03-18-mom_df_hud_snap_fast_color.md | 11 +++++++++++ .../convars/2022-03-18-mom_df_hud_snap_slow_color.md | 11 +++++++++++ .../convars/2022-03-20-mom_df_hud_accel_min_speed.md | 12 ++++++++++++ .../convars/2022-03-20-mom_df_hud_snap_min_speed.md | 12 ++++++++++++ 29 files changed, 337 insertions(+) create mode 100644 _posts/convars/2022-03-15-mom_df_hud_accel_dz_color.md create mode 100644 _posts/convars/2022-03-15-mom_df_hud_accel_enable.md create mode 100644 _posts/convars/2022-03-15-mom_df_hud_accel_fast_color.md create mode 100644 _posts/convars/2022-03-15-mom_df_hud_accel_height.md create mode 100644 _posts/convars/2022-03-15-mom_df_hud_accel_mode_mirror.md create mode 100644 _posts/convars/2022-03-15-mom_df_hud_accel_mode_scale.md create mode 100644 _posts/convars/2022-03-15-mom_df_hud_accel_offset.md create mode 100644 _posts/convars/2022-03-15-mom_df_hud_accel_slow_color.md create mode 100644 _posts/convars/2022-03-15-mom_df_hud_accel_turn_color.md create mode 100644 _posts/convars/2022-03-15-mom_df_hud_projection.md create mode 100644 _posts/convars/2022-03-15-mom_df_hud_snap_color.md create mode 100644 _posts/convars/2022-03-15-mom_df_hud_snap_enable.md create mode 100644 _posts/convars/2022-03-15-mom_df_hud_snap_height.md create mode 100644 _posts/convars/2022-03-15-mom_df_hud_snap_hl_alt_color.md create mode 100644 _posts/convars/2022-03-15-mom_df_hud_snap_hl_color.md create mode 100644 _posts/convars/2022-03-15-mom_df_hud_snap_mode_color.md create mode 100644 _posts/convars/2022-03-15-mom_df_hud_snap_mode_height.md create mode 100644 _posts/convars/2022-03-15-mom_df_hud_snap_mode_hl.md create mode 100644 _posts/convars/2022-03-15-mom_df_hud_snap_offset.md create mode 100644 _posts/convars/2022-03-15-mom_df_hud_velocity_color.md create mode 100644 _posts/convars/2022-03-15-mom_df_hud_velocity_enable.md create mode 100644 _posts/convars/2022-03-15-mom_df_hud_velocity_size.md create mode 100644 _posts/convars/2022-03-15-mom_df_hud_windicator_color.md create mode 100644 _posts/convars/2022-03-15-mom_df_hud_windicator_enable.md create mode 100644 _posts/convars/2022-03-15-mom_df_hud_windicator_size.md create mode 100644 _posts/convars/2022-03-18-mom_df_hud_snap_fast_color.md create mode 100644 _posts/convars/2022-03-18-mom_df_hud_snap_slow_color.md create mode 100644 _posts/convars/2022-03-20-mom_df_hud_accel_min_speed.md create mode 100644 _posts/convars/2022-03-20-mom_df_hud_snap_min_speed.md diff --git a/_posts/convars/2022-03-15-mom_df_hud_accel_dz_color.md b/_posts/convars/2022-03-15-mom_df_hud_accel_dz_color.md new file mode 100644 index 00000000..765f10af --- /dev/null +++ b/_posts/convars/2022-03-15-mom_df_hud_accel_dz_color.md @@ -0,0 +1,11 @@ +--- +title: mom_df_hud_accel_dz_color +category: var +tags: + - hud + - defrag + - color +default_value: 120 120 120 0 +--- + +No-accel zone color in RGBA format. diff --git a/_posts/convars/2022-03-15-mom_df_hud_accel_enable.md b/_posts/convars/2022-03-15-mom_df_hud_accel_enable.md new file mode 100644 index 00000000..2eee4ca6 --- /dev/null +++ b/_posts/convars/2022-03-15-mom_df_hud_accel_enable.md @@ -0,0 +1,12 @@ +--- +title: mom_df_hud_accel_enable +category: var +tags: + - hud + - defrag +minimum_value: 0 +maximum_value: 1 +default_value: 1 +--- + +Provides an on-screen indicator to the angle to aim your cursor to gain speed with current velocity and movement inputs. Based entirely on CampingGaz's CgazHUD for Defrag, for more info on its use, check the Defrag learn section. diff --git a/_posts/convars/2022-03-15-mom_df_hud_accel_fast_color.md b/_posts/convars/2022-03-15-mom_df_hud_accel_fast_color.md new file mode 100644 index 00000000..cd829702 --- /dev/null +++ b/_posts/convars/2022-03-15-mom_df_hud_accel_fast_color.md @@ -0,0 +1,11 @@ +--- +title: mom_df_hud_accel_fast_color +category: var +tags: + - hud + - defrag + - color +default_value: 20 150 210 150 +--- + +Full-accel zone color in RGBA format. diff --git a/_posts/convars/2022-03-15-mom_df_hud_accel_height.md b/_posts/convars/2022-03-15-mom_df_hud_accel_height.md new file mode 100644 index 00000000..d5d9b1ab --- /dev/null +++ b/_posts/convars/2022-03-15-mom_df_hud_accel_height.md @@ -0,0 +1,12 @@ +--- +title: mom_df_hud_accel_height +category: var +tags: + - hud + - defrag +minimum_value: 0 +maximum_value: 50 +default_value: 20 +--- + +Height of accel zones in pixels (@1080p). diff --git a/_posts/convars/2022-03-15-mom_df_hud_accel_mode_mirror.md b/_posts/convars/2022-03-15-mom_df_hud_accel_mode_mirror.md new file mode 100644 index 00000000..f49aedb0 --- /dev/null +++ b/_posts/convars/2022-03-15-mom_df_hud_accel_mode_mirror.md @@ -0,0 +1,12 @@ +--- +title: mom_df_hud_accel_mode_mirror +category: var +tags: + - hud + - defrag +minimum_value: 0 +maximum_value: 1 +default_value: 0 +--- + +Display accel zones for mirrored inputs. diff --git a/_posts/convars/2022-03-15-mom_df_hud_accel_mode_scale.md b/_posts/convars/2022-03-15-mom_df_hud_accel_mode_scale.md new file mode 100644 index 00000000..6dc459a1 --- /dev/null +++ b/_posts/convars/2022-03-15-mom_df_hud_accel_mode_scale.md @@ -0,0 +1,12 @@ +--- +title: mom_df_hud_accel_mode_scale +category: var +tags: + - hud + - defrag +minimum_value: 0 +maximum_value: 1 +default_value: 0 +--- + +Scale accel zones by current movement input scale. diff --git a/_posts/convars/2022-03-15-mom_df_hud_accel_offset.md b/_posts/convars/2022-03-15-mom_df_hud_accel_offset.md new file mode 100644 index 00000000..e0918446 --- /dev/null +++ b/_posts/convars/2022-03-15-mom_df_hud_accel_offset.md @@ -0,0 +1,12 @@ +--- +title: mom_df_hud_accel_offset +category: var +tags: + - hud + - defrag +minimum_value: -200 +maximum_value: 200 +default_value: 10 +--- + +Vertical offset from center screen in pixels (@1080p). diff --git a/_posts/convars/2022-03-15-mom_df_hud_accel_slow_color.md b/_posts/convars/2022-03-15-mom_df_hud_accel_slow_color.md new file mode 100644 index 00000000..9a705b61 --- /dev/null +++ b/_posts/convars/2022-03-15-mom_df_hud_accel_slow_color.md @@ -0,0 +1,11 @@ +--- +title: mom_df_hud_accel_slow_color +category: var +tags: + - hud + - defrag + - color +default_value: 240 240 240 180 +--- + +Partial-accel zone color in RGBA format. diff --git a/_posts/convars/2022-03-15-mom_df_hud_accel_turn_color.md b/_posts/convars/2022-03-15-mom_df_hud_accel_turn_color.md new file mode 100644 index 00000000..7eaa6da0 --- /dev/null +++ b/_posts/convars/2022-03-15-mom_df_hud_accel_turn_color.md @@ -0,0 +1,11 @@ +--- +title: mom_df_hud_accel_turn_color +category: var +tags: + - hud + - defrag + - color +default_value: 240 110 110 180 +--- + +Turn zone color in RGBA format. diff --git a/_posts/convars/2022-03-15-mom_df_hud_projection.md b/_posts/convars/2022-03-15-mom_df_hud_projection.md new file mode 100644 index 00000000..e43c851e --- /dev/null +++ b/_posts/convars/2022-03-15-mom_df_hud_projection.md @@ -0,0 +1,12 @@ +--- +title: mom_df_hud_projection +category: var +tags: + - hud + - defrag +minimum_value: 0 +maximum_value: 2 +default_value: 0 +--- + +Projection mode for strafe hud. 0 = Perspective, 1 = Arc length, 2 = Panoramic diff --git a/_posts/convars/2022-03-15-mom_df_hud_snap_color.md b/_posts/convars/2022-03-15-mom_df_hud_snap_color.md new file mode 100644 index 00000000..6eada081 --- /dev/null +++ b/_posts/convars/2022-03-15-mom_df_hud_snap_color.md @@ -0,0 +1,11 @@ +--- +title: mom_df_hud_snap_color +category: var +tags: + - hud + - defrag + - color +default_value: 210 210 210 150 +--- + +Colored snap zone color in RGBA format. diff --git a/_posts/convars/2022-03-15-mom_df_hud_snap_enable.md b/_posts/convars/2022-03-15-mom_df_hud_snap_enable.md new file mode 100644 index 00000000..f0bf90b1 --- /dev/null +++ b/_posts/convars/2022-03-15-mom_df_hud_snap_enable.md @@ -0,0 +1,12 @@ +--- +title: mom_df_hud_snap_enable +category: var +tags: + - hud + - defrag +minimum_value: 0 +maximum_value: 1 +default_value: 0 +--- + +Display snap zones where velocity rounding impacts speed gain. diff --git a/_posts/convars/2022-03-15-mom_df_hud_snap_height.md b/_posts/convars/2022-03-15-mom_df_hud_snap_height.md new file mode 100644 index 00000000..e30b51b2 --- /dev/null +++ b/_posts/convars/2022-03-15-mom_df_hud_snap_height.md @@ -0,0 +1,12 @@ +--- +title: mom_df_hud_snap_height +category: var +tags: + - hud + - defrag +minimum_value: 1 +maximum_value: 50 +default_value: 10 +--- + +Height of snap zones in pixels (@1080p). diff --git a/_posts/convars/2022-03-15-mom_df_hud_snap_hl_alt_color.md b/_posts/convars/2022-03-15-mom_df_hud_snap_hl_alt_color.md new file mode 100644 index 00000000..f1544199 --- /dev/null +++ b/_posts/convars/2022-03-15-mom_df_hud_snap_hl_alt_color.md @@ -0,0 +1,11 @@ +--- +title: mom_df_hud_snap_hl_alt_color +category: var +tags: + - hud + - defrag + - color +default_value: 240 240 240 40 +--- + +Uncolored snap zone highlight color in RGBA format. diff --git a/_posts/convars/2022-03-15-mom_df_hud_snap_hl_color.md b/_posts/convars/2022-03-15-mom_df_hud_snap_hl_color.md new file mode 100644 index 00000000..cefe0ad3 --- /dev/null +++ b/_posts/convars/2022-03-15-mom_df_hud_snap_hl_color.md @@ -0,0 +1,11 @@ +--- +title: mom_df_hud_snap_hl_color +category: var +tags: + - hud + - defrag + - color +default_value: 240 240 240 180 +--- + +Colored snap zone highlight color in RGBA format. diff --git a/_posts/convars/2022-03-15-mom_df_hud_snap_mode_color.md b/_posts/convars/2022-03-15-mom_df_hud_snap_mode_color.md new file mode 100644 index 00000000..9f48c73a --- /dev/null +++ b/_posts/convars/2022-03-15-mom_df_hud_snap_mode_color.md @@ -0,0 +1,12 @@ +--- +title: mom_df_hud_snap_mode_color +category: var +tags: + - hud + - defrag +minimum_value: 0 +maximum_value: 2 +default_value: 0 +--- + +Color snap zones by speed gain potential. 0 = off, 1 = colored by potential gain, 2 = fade color by actual speed gain diff --git a/_posts/convars/2022-03-15-mom_df_hud_snap_mode_height.md b/_posts/convars/2022-03-15-mom_df_hud_snap_mode_height.md new file mode 100644 index 00000000..f88f4165 --- /dev/null +++ b/_posts/convars/2022-03-15-mom_df_hud_snap_mode_height.md @@ -0,0 +1,12 @@ +--- +title: mom_df_hud_snap_mode_height +category: var +tags: + - hud + - defrag +minimum_value: 0 +maximum_value: 1 +default_value: 0 +--- + +Size snap zones by speed gain potential. diff --git a/_posts/convars/2022-03-15-mom_df_hud_snap_mode_hl.md b/_posts/convars/2022-03-15-mom_df_hud_snap_mode_hl.md new file mode 100644 index 00000000..9e05e770 --- /dev/null +++ b/_posts/convars/2022-03-15-mom_df_hud_snap_mode_hl.md @@ -0,0 +1,12 @@ +--- +title: mom_df_hud_snap_mode_hl +category: var +tags: + - hud + - defrag +minimum_value: 0 +maximum_value: 1 +default_value: 0 +--- + +Highlight active snap zone. diff --git a/_posts/convars/2022-03-15-mom_df_hud_snap_offset.md b/_posts/convars/2022-03-15-mom_df_hud_snap_offset.md new file mode 100644 index 00000000..e8a5cbe1 --- /dev/null +++ b/_posts/convars/2022-03-15-mom_df_hud_snap_offset.md @@ -0,0 +1,12 @@ +--- +title: mom_df_hud_snap_offset +category: var +tags: + - hud + - defrag +minimum_value: -200 +maximum_value: 200 +default_value: 0 +--- + +Vertical offset from top of accel zone in pixels (@1080p). diff --git a/_posts/convars/2022-03-15-mom_df_hud_velocity_color.md b/_posts/convars/2022-03-15-mom_df_hud_velocity_color.md new file mode 100644 index 00000000..508ac25a --- /dev/null +++ b/_posts/convars/2022-03-15-mom_df_hud_velocity_color.md @@ -0,0 +1,11 @@ +--- +title: mom_df_hud_velocity_color +category: var +tags: + - hud + - defrag + - color +default_value: 240 240 240 180 +--- + +Velocity arrow color in RGBA format. diff --git a/_posts/convars/2022-03-15-mom_df_hud_velocity_enable.md b/_posts/convars/2022-03-15-mom_df_hud_velocity_enable.md new file mode 100644 index 00000000..a2fbeb61 --- /dev/null +++ b/_posts/convars/2022-03-15-mom_df_hud_velocity_enable.md @@ -0,0 +1,12 @@ +--- +title: mom_df_hud_velocity_enable +category: var +tags: + - hud + - defrag +minimum_value: 0 +maximum_value: 1 +default_value: 0 +--- + +Display velocity direction arrow. diff --git a/_posts/convars/2022-03-15-mom_df_hud_velocity_size.md b/_posts/convars/2022-03-15-mom_df_hud_velocity_size.md new file mode 100644 index 00000000..c773622c --- /dev/null +++ b/_posts/convars/2022-03-15-mom_df_hud_velocity_size.md @@ -0,0 +1,12 @@ +--- +title: mom_df_hud_velocity_size +category: var +tags: + - hud + - defrag +minimum_value: 0 +maximum_value: 25 +default_value: 8 +--- + +Velocity arrow half-height in pixels (@1080p). diff --git a/_posts/convars/2022-03-15-mom_df_hud_windicator_color.md b/_posts/convars/2022-03-15-mom_df_hud_windicator_color.md new file mode 100644 index 00000000..f324ad2d --- /dev/null +++ b/_posts/convars/2022-03-15-mom_df_hud_windicator_color.md @@ -0,0 +1,11 @@ +--- +title: mom_df_hud_windicator_color +category: var +tags: + - hud + - defrag + - color +default_value: 240 240 0 180 +--- + +Windicator arrow color in RGBA format. diff --git a/_posts/convars/2022-03-15-mom_df_hud_windicator_enable.md b/_posts/convars/2022-03-15-mom_df_hud_windicator_enable.md new file mode 100644 index 00000000..32dd0537 --- /dev/null +++ b/_posts/convars/2022-03-15-mom_df_hud_windicator_enable.md @@ -0,0 +1,12 @@ +--- +title: mom_df_hud_windicator_enable +category: var +tags: + - hud + - defrag +minimum_value: 0 +maximum_value: 1 +default_value: 0 +--- + +Display w-turn indicator (windicator) arrow. diff --git a/_posts/convars/2022-03-15-mom_df_hud_windicator_size.md b/_posts/convars/2022-03-15-mom_df_hud_windicator_size.md new file mode 100644 index 00000000..26504483 --- /dev/null +++ b/_posts/convars/2022-03-15-mom_df_hud_windicator_size.md @@ -0,0 +1,12 @@ +--- +title: mom_df_hud_windicator_size +category: var +tags: + - hud + - defrag +minimum_value: 0 +maximum_value: 25 +default_value: 6 +--- + +Windicator arrow half-height in pixels (@1080p). diff --git a/_posts/convars/2022-03-18-mom_df_hud_snap_fast_color.md b/_posts/convars/2022-03-18-mom_df_hud_snap_fast_color.md new file mode 100644 index 00000000..d837f87a --- /dev/null +++ b/_posts/convars/2022-03-18-mom_df_hud_snap_fast_color.md @@ -0,0 +1,11 @@ +--- +title: mom_df_hud_snap_fast_color +category: var +tags: + - hud + - defrag + - color +default_value: 110 240 110 150 +--- + +Snap zone color used as maximum for color-by-gain mode in RGBA format. diff --git a/_posts/convars/2022-03-18-mom_df_hud_snap_slow_color.md b/_posts/convars/2022-03-18-mom_df_hud_snap_slow_color.md new file mode 100644 index 00000000..34e3a1b2 --- /dev/null +++ b/_posts/convars/2022-03-18-mom_df_hud_snap_slow_color.md @@ -0,0 +1,11 @@ +--- +title: mom_df_hud_snap_slow_color +category: var +tags: + - hud + - defrag + - color +default_value: 240 110 110 150 +--- + +Snap zone color used as minimum for color-by-gain mode in RGBA format. diff --git a/_posts/convars/2022-03-20-mom_df_hud_accel_min_speed.md b/_posts/convars/2022-03-20-mom_df_hud_accel_min_speed.md new file mode 100644 index 00000000..321a55e7 --- /dev/null +++ b/_posts/convars/2022-03-20-mom_df_hud_accel_min_speed.md @@ -0,0 +1,12 @@ +--- +title: mom_df_hud_accel_min_speed +category: var +tags: + - hud + - defrag +minimum_value: 1 +maximum_value: 1000 +default_value: 1 +--- + +Minimum speed required to draw accel zones. diff --git a/_posts/convars/2022-03-20-mom_df_hud_snap_min_speed.md b/_posts/convars/2022-03-20-mom_df_hud_snap_min_speed.md new file mode 100644 index 00000000..a6fb350e --- /dev/null +++ b/_posts/convars/2022-03-20-mom_df_hud_snap_min_speed.md @@ -0,0 +1,12 @@ +--- +title: mom_df_hud_snap_min_speed +category: var +tags: + - hud + - defrag +minimum_value: 0 +maximum_value: 1000 +default_value: 0 +--- + +Minimum speed required to draw snap zones. From e8f0eac2f90bd0592af9fd359efe8ab6b3cde552 Mon Sep 17 00:00:00 2001 From: PeenScreeker Date: Wed, 23 Mar 2022 12:52:16 -0400 Subject: [PATCH 2/2] feat: hud_fov --- _posts/convars/2022-03-20-mom_df_hud_fov.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 _posts/convars/2022-03-20-mom_df_hud_fov.md diff --git a/_posts/convars/2022-03-20-mom_df_hud_fov.md b/_posts/convars/2022-03-20-mom_df_hud_fov.md new file mode 100644 index 00000000..833419a8 --- /dev/null +++ b/_posts/convars/2022-03-20-mom_df_hud_fov.md @@ -0,0 +1,12 @@ +--- +title: mom_df_hud_fov +category: var +tags: + - hud + - defrag +minimum_value: 50 +maximum_value: 130 +default_value: 0 +--- + +Field of view used to calculate strafe hud projection. Setting 0 uses viewport field of view. (should be limited to a max of 179 via text input, just like fov_desired)