AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:GO] No Agents Models [10-Jun-2021] (https://forums.alliedmods.net/showthread.php?t=319954)

Franc1sco 11-28-2019 10:37

[CS:GO] No Agents Models [10-Jun-2021]
 
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

r3v 11-28-2019 11:21

Re: [CS:GO] No Agents Models
 
Immunity for admins? (B Flag)

Ejziponken 11-28-2019 15:57

Re: [CS:GO] No Agents Models
 
Is there a better way of doing this? This is taking a performance hit on the server? Looping? :D

Franc1sco 11-28-2019 16:47

Re: [CS:GO] No Agents Models
 
Quote:

Originally Posted by Ejziponken (Post 2674852)
Is there a better way of doing this? This is taking a performance hit on the server? Looping? :D

If you can think on a better method, let me know :grrr:

ItsCEED 11-29-2019 09:38

Re: [CS:GO] No Agents Models
 
Can you just hook an even for round start and force the chances on a round start instead of looping through everything constantly?

Franc1sco 11-29-2019 10:30

Re: [CS:GO] No Agents Models
 
I uploaded a version without dhooks, more optimized and with cvars, need testing.

Lubricant Jam 11-30-2019 18:10

Re: [CS:GO] No Agents Models
 
This looks a tad odd on maps with specific player models. It's still just a mixture of player skins.

m22b 12-09-2019 08:28

Re: [CS:GO] No Agents Models
 
Quote:

Originally Posted by Franc1sco (Post 2674916)
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 :).

Franc1sco 12-09-2019 17:37

Re: [CS:GO] No Agents Models
 
Quote:

Originally Posted by Lubricant Jam (Post 2675153)
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 (Post 2676312)
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.

Ejziponken 12-09-2019 18:21

Re: [CS:GO] No Agents Models [09-Dec-2019]
 
sm_noagents_timer "1.2", is that a good time for DM? Or should it be lowered?


All times are GMT -4. The time now is 11:55.

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