Raised This Month: $51 Target: $400
 12% 

[HL2DM] - Player Model Fix


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Peter Brev
Member
Join Date: Aug 2023
Plugin ID:
8548
Plugin Version:
1.0.2
Plugin Category:
Gameplay
Plugin Game:
Half-Life 2 Deathmatch
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    This plugin fixes an issue where cl_playermodel does not get updated whenever players switch from one team to another.
    Old 09-24-2023 , 13:48   [HL2DM] - Player Model Fix
    Reply With Quote #1

    Player Model Fix for Half-Life 2: Deathmatch

    Description

    This plugin fixes an issue where cl_playermodel does not get updated whenever players switch from one team to another. Added bonus, team changes are now shown with colors. It also fixes the "Player has joined team Unassigned" with something that makes more sense if mp_teamplay is set to 0.

    Please note that this does not fix the broken options from the menu. This is client side and a plugin will not be able to fix this. It is recommended to use this client side fix in addition to this plugin for the best possible experience.

    ConVars

    sm_playermodel_version - Plugin version
    sm_playermodel_fix 0/1 - Enable/Disable fix
    sm_show_playermodel_msg_global 0/1 - Whether to show message that player model was adjusted based on team (this is server wide)

    Public Commands

    sm_show_playermodel_msg <0|1> - Whether players want to see the "Adjusting your cl_playermodel setting to match your team." message.

    Additional information

    Plugin uses Updater by GoD-Tony. It is not required to have it for this plugin to run, but you will not have to manually update files.

    Known issues

    None that I know of. If you experience issues, let me know what happened and steps to reproduce if possible. Any screenshots/demos are welcome additions.

    To do

    Nothing.

    Screenshots

    With teamplay on:
    Spoiler


    With teamplay off:
    Spoiler
    Attached Files
    File Type: zip [HL2MP] Playermodel Fix.zip (13.1 KB, 242 views)

    Last edited by Peter Brev; 11-23-2023 at 08:43.
    Peter Brev is offline
    Peter Brev
    Member
    Join Date: Aug 2023
    Old 09-25-2023 , 04:11   Re: [HL2DM] - Player Model Fix
    Reply With Quote #2

    Pushed a hot fix (1.0.1).
    • Cvar name changed -> sm_playermodel_fix_version
    • Cvar name changed -> sm_show_playermodel_msg
    • Public command name changed -> sm_show_playermodel_msg
    • Fixed sm_show_playermodel_msg if condition

    Updated cfg file to reflect new commands.

    Last edited by Peter Brev; 09-26-2023 at 06:25.
    Peter Brev is offline
    Peter Brev
    Member
    Join Date: Aug 2023
    Old 09-30-2023 , 06:40   Re: [HL2DM] - Player Model Fix
    Reply With Quote #3

    Pushed a hot fix (1.0.2)
    • Fixed an issue where a warning would pop up about sm_show_playermodel_msg being used as a ConVar and as a public command. New ConVar is sm_show_playermodel_msg_global
    • Added a check for using sm_show_playermodel_msg in the server console.
    Peter Brev is offline
    Reply



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 13:39.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode