Raised This Month: $32 Target: $400
 8% 

[CS:GO] No Agents Models [10-Jun-2021]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Plugin ID:
6828
Plugin Version:
3.0
Plugin Category:
General Purpose
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Force to use default players models for people that have a agent model
    Old 11-28-2019 , 10:37   [CS:GO] No Agents Models [10-Jun-2021]
    Reply With Quote #1

    Description:

    Force to use default players models for people that have a agent model.


    Cvars:
    Put in server.cfg or use some map configs plugin for change default models per map.
    Code:
    sm_noagents_ctmodel "models/player/custom_player/legacy/ctm_sas_varianta.mdl" // Set the default ct models for apply to people that have a agent skin
    sm_noagents_ttmodel "models/player/custom_player/legacy/tm_phoenix_varianta.mdl" // Set the default tt models for apply to people that have a agent skin
    sm_noagents_timer "1.2" // Timer on spawn for apply filter of no agents

    Download:

    Main repository
    Direct download
    Code changes
    __________________
    Veteran Coder -> Activity channel
    Coding on CS2 and taking paid and free jobs.

    Contact: Steam, Telegram or discord ( franug ).

    You like my work? +Rep in my steam profile comments or donate.


    Last edited by Franc1sco; 06-10-2021 at 12:25.
    Franc1sco is offline
    Send a message via MSN to Franc1sco
    r3v
    Senior Member
    Join Date: Feb 2016
    Location: Lithuania, Vilnius
    Old 11-28-2019 , 11:21   Re: [CS:GO] No Agents Models
    Reply With Quote #2

    Immunity for admins? (B Flag)
    r3v is offline
    Ejziponken
    AlliedModders Donor
    Join Date: Apr 2008
    Old 11-28-2019 , 15:57   Re: [CS:GO] No Agents Models
    Reply With Quote #3

    Is there a better way of doing this? This is taking a performance hit on the server? Looping?
    Ejziponken is offline
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 11-28-2019 , 16:47   Re: [CS:GO] No Agents Models
    Reply With Quote #4

    Quote:
    Originally Posted by Ejziponken View Post
    Is there a better way of doing this? This is taking a performance hit on the server? Looping?
    If you can think on a better method, let me know
    __________________
    Veteran Coder -> Activity channel
    Coding on CS2 and taking paid and free jobs.

    Contact: Steam, Telegram or discord ( franug ).

    You like my work? +Rep in my steam profile comments or donate.

    Franc1sco is offline
    Send a message via MSN to Franc1sco
    ItsCEED
    Member
    Join Date: Jun 2016
    Old 11-29-2019 , 09:38   Re: [CS:GO] No Agents Models
    Reply With Quote #5

    Can you just hook an even for round start and force the chances on a round start instead of looping through everything constantly?
    ItsCEED is offline
    Send a message via Skype™ to ItsCEED
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 11-29-2019 , 10:30   Re: [CS:GO] No Agents Models
    Reply With Quote #6

    I uploaded a version without dhooks, more optimized and with cvars, need testing.
    __________________
    Veteran Coder -> Activity channel
    Coding on CS2 and taking paid and free jobs.

    Contact: Steam, Telegram or discord ( franug ).

    You like my work? +Rep in my steam profile comments or donate.

    Franc1sco is offline
    Send a message via MSN to Franc1sco
    Lubricant Jam
    AlliedModders Donor
    Join Date: Oct 2016
    Location: United Kingdom
    Old 11-30-2019 , 18:10   Re: [CS:GO] No Agents Models
    Reply With Quote #7

    This looks a tad odd on maps with specific player models. It's still just a mixture of player skins.
    __________________
    Lubricant Jam is offline
    m22b
    Senior Member
    Join Date: Jul 2013
    Old 12-09-2019 , 08:28   Re: [CS:GO] No Agents Models
    Reply With Quote #8

    Quote:
    Originally Posted by Franc1sco View Post
    I uploaded a version without dhooks, more optimized and with cvars, need testing.
    i tested it in my server (last .sp without dhook)
    And all works.
    Thx .
    m22b is offline
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 12-09-2019 , 17:37   Re: [CS:GO] No Agents Models
    Reply With Quote #9

    Quote:
    Originally Posted by Lubricant Jam View Post
    This looks a tad odd on maps with specific player models. It's still just a mixture of player skins.
    In the new version you can use a map configs plugin for change the cvars of default models per map.

    Quote:
    Originally Posted by m22b View Post
    i tested it in my server (last .sp without dhook)
    And all works.
    Thx .
    Ok, first post updated.


    -New version without dhooks, more optimized and with cvars.
    __________________
    Veteran Coder -> Activity channel
    Coding on CS2 and taking paid and free jobs.

    Contact: Steam, Telegram or discord ( franug ).

    You like my work? +Rep in my steam profile comments or donate.


    Last edited by Franc1sco; 12-09-2019 at 17:40.
    Franc1sco is offline
    Send a message via MSN to Franc1sco
    Ejziponken
    AlliedModders Donor
    Join Date: Apr 2008
    Old 12-09-2019 , 18:21   Re: [CS:GO] No Agents Models [09-Dec-2019]
    Reply With Quote #10

    sm_noagents_timer "1.2", is that a good time for DM? Or should it be lowered?
    Ejziponken is offline
    Reply


    Thread Tools
    Display Modes

    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 22:34.


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