View Single Post
Author Message
Peter Brev
Member
Join Date: Aug 2023
Old 04-27-2024 , 11:16   [HL2DM] Fixes and Server Enhancement
Reply With Quote #1


Preamble

If you are using one of those plugins and want to use xFix, you will need to remove them as they are included within xFix:

Bullet Fix
FoV
Frag Sprite Fix
T-Pose Fix
Shotgun Lag Compensation Fix
Physcannon Fix
Sprint Delay Fix
Player Model Fix
Connect Status
Per material footstep sounds
Timeleft on HUD
Missing Sounds Fix
SteamID Hijack Protection

Description

xFix is a plugin that was originally created by harper for XMS ( Extended Match System ) that combined multiple fixes, such as shotgun lag compensation, frag sprite and t-pose, while adding another large number of fixes. I have taken the liberty of taking this plugin and providing more fixes. Those fixes were progressively added throughout the months and released to a small circle of HL2DM enthusiasts, which is why its version is at 1.6.4. However, I believe that xFix needs to reach a wider audience, which is why I am releasing it here.

Fixes and additions
  • Bug fixes
    • Sprint delay by Chanz
    • Physcannon hold fix by Benni
    • Frag trail fix by Sidez
    • T-Pose fix by Toizy
    • Force respawn bypass fix
    • Broken spectators menu removed
    • Removal of a pointless duplicate third person view
    • Spectator noclip fixes
    • 1 HP HUD fix ( hides hud while as a spectator )
    • Crosshair removed in free look mode as a spectator
    • Sprinting as a spectator fix
    • Use key spam when dead fix
    • Schrödinger's Crouch fix
    • Scoring fixes
    • Server cvar spam fix
    • Prop angles fix
    • RPG weapon switch after a rocket was fired fix
    • AR2 weapon switch during an orb charge fix
    • Missing sounds fix
      • Crossbow bolt attach
      • All missing physcannon sounds
      • Whoosh sound for underhand grenade throws
    • Player model fix ( server-side, not the player's in-game options )
    • Prop's gravity on sv_gravity change fix
    • Chat fixes and enhancement
  • Additions & Enhancements
    • Fall damage
      • mp_falldamage <value>
        • -1 -> No fall damage
        • 0 -> Default 10 point fall damage behavior
        • 1 -> Default realistic fall damage
        • 2 and above -> Apply this fixed amount of fall damage
      • mp_falldamage_multiplier <value> -> When set, multiplies ( or divides if less than 1.0 ) the amount of fall damage.
    • FoV <value> -> Sets the desired field of view between 70 and 110 ( default min and max ).
    • Connect status -> Shows connecting, connected and disconnecting clients with better formatting.
    • Plugin messages -> Queries for cl_showpluginsmessages whenever a player connects and sends a message if that cvar is set to 0.
    • Per material footstep sounds
    • Timeleft on HUD
    • ...and more!

Available ConVars
  • sm_show_playermodel_msg_global Def. 1 -> Show or hide the message "Adjusting your player model to match your team." server-wide.
  • sm_playermodel_fix Def. 1 -> Enable/Disable player model fix.
  • sm_connect_status_enable Def. 1 -> Enable/Disable the new formatted connect status messages.
  • sm_chat_fix Def. 1 -> Enable/Disable chat fixes and enhancement.
  • sm_timeleft_hud_enable Def. 1 -> Display or hide time left on the HUD.
  • sm_timeleft_x Def. -1.0 -> Position the timer on the X axis (left/right).
  • sm_timeleft_y Def. 0.01 -> Position the timer on the Y axis (up/down).
  • sm_timeleft_r Def. 255 -> Red color intensity.
  • sm_timeleft_g Def. 220 -> Green color intensity.
  • sm_timeleft_b Def. 0 -> Blue color intensity.
  • sm_timeleft_i Def. 255 -> Alpha/Intensity
  • fov_minfov Def. 70 -> Min fov to allow.
  • fov_maxfov Def. 110 -> Max fov to allow.
  • fov_defaultfov Def. 90 -> Default fov to apply to players the first time they connect.
  • mp_falldamage Def. 0 -> Fall damage type. -1: No fall damage, 0: Default 10 point damage, 1: Realistic fall damage, 2 and above: Fixed fall damage to this amount.
  • mp_falldamage_multiplier Def. 1.0 -> if mp_falldamage is set to 2 or above, adjust the actual fall damage by multiplying it by this amount (a value set to 2.0 will multiply the fall damage by 2). Use a value less than 1.0 to divide (0.5 is half the fall damage).
  • sm_pluginmessages_check Def. 1 -> Show or hide the cl_showpluginsmessages help message.
  • sm_missing_sounds_fix Def. 1 -> Enable/Disable missing sounds fix server-wide.
  • sm_hl2_footsteps Def. 1 -> Enable/Disable hl2 footstep sounds server-wide.
  • sm_rpg_allow_wep_switch Def. 0 -> Whether players can switch guns after an active rocket has been fired.
  • sm_ar2_allow_wep_switch Def. 0 -> Whether players can switch guns while an active orb charge.
  • sm_fps_max_check Def. 1 -> Check a player's fps_max value.
  • sm_fps_min Def. 60 -> Kick clients whose fps_max value is below this value.
  • sm_fps_max Def. 1000 -> Kick clients whose fps_max value is above this value.

Public Commands
  • sm_plmdl_msg -> Show or hide the message "Adjusting your player model to match your team." [Setting is saved in a cookie].
  • sm_fov -> Set your FOV (min. 70 & max. 110) [Setting is saved in a cookie].
  • sm_footsteps -> Toggle between HL2 and default footstep sounds. [Setting is saved in a cookie].
  • sm_sndfix -> Toggle between having the missing sounds play or not. [Setting is saved in a cookie].
  • xfix -> Credits listing.

Installation

Download and extract the content of the ZIP folder into your server's mod folder e.g. C:\hl2mp

Dependencies

Vphysics is required for this plugin to work properly. A copy is provided in the ZIP folder. Also includes a fixed copy of the include file.

Plugin Contributors
  • Benni - Gravity Gun prop hold fix
  • Chanz - Sprint delay fix
  • Grey83 - Set local angles fix
  • Harper - Creator of xFix and fixed a myriad of HL2MP issues!
  • Peter Brev - Additional HL2MP fixes
  • Sidez - Grenade glow edict fix
  • Toizy - Jesus/T-Pose animation fix
  • V952 - Shotgun lag compensation fix
  • Xutaxkamay - Bullet fix

Updates

xFix will continue to receive updates if more fixes are provided.
Attached Files
File Type: zip xFix.zip (267.4 KB, 19 views)

Last edited by Peter Brev; 05-30-2024 at 04:08.
Peter Brev is offline