Garry's Mod

Garry's Mod

31 个评价
[TTT2] Enhanced PlayerModel Selector Fix/Compatibility
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 服务器内容
插件标签: 快乐, 角色扮演
文件大小
发表于
更新日期
2.669 KB
2021 年 11 月 10 日 下午 9:09
2024 年 9 月 3 日 下午 5:10
2 项改动说明 ( 查看 )

订阅以下载
[TTT2] Enhanced PlayerModel Selector Fix/Compatibility

描述
Allows players to choose their own playermodels, while also allowing TTT2 to forcibly change these players' playermodels when necessary.

Problems with using EPMS and TTT2 at the same time:

1. With the EPMS Server Setting "Enable playermodel enforcement" enabled, TTT2 cannot change player's models. An example of this would be when a player is revived by a Necromancer (role), the revived player should change their model to a zombie. This does not occur with the setting enabled.

2. With the EPMS Server Setting "Enable playermodel enforcement" disabled, TTT2 can change player's models, but will reset playermodels to the default "Phoenix" model at the start of preround / end of rounds. This is frustrating, as player's would have to reapply their playermodel every round.

3. There have also been some reports of the addon preventing players from joining due to an infinite loop error.

How the fix works:

With the "Enable playermodel enforcement" disabled, this addon does 2 things to solve issues. Playermodels being applied at the start of preround / end of rounds by TTT2 are disabled. This causes some model issues with bots, but they will receive the default model when the first round starts. The addon also automatically reapplies player's selected models at the start of preround / end of rounds. These two changes allow for custom playermodels that players can choose for themselves while allowing TTT2 to change models when needed.

Note:
1. "Enable playermodel enforcement" server setting in the EPMS menu must be disabled.
2. Players can still choose to change their playermodel during the game at any point
7 条留言
Mr. Napkins 3 月 16 日 上午 10:26 
I've tried a lot of parameter changes starting with the ones you defined. It doesn't seem to want to reapply the player models and never switches out of Phoenix unless its manually updated or TTT2 changes it for a role. I don't have any console errors, and the mod is enabled on both the server and the client. Not a big deal in the long run, I just can't get it to work.
Maboy 2022 年 6 月 11 日 下午 2:00 
Got the same error as blackmagicfine
dhkatz 2022 年 4 月 12 日 下午 8:43 
I added what I believe to be a better fix in my TTT/2 fixes addon. It fixes the issue with bots.
blackmagicfine 2022 年 2 月 11 日 下午 7:11 
I encountered an issue on this. Aside from bots having playermodel issues, when I was alone on the server, a friend couldn't join. They got the error:
"Disconnect: Too many requests. Please check your script for infinite loops."

Taking out this addon fixed the issue. Very strange issue.
hawky_ 2021 年 11 月 29 日 下午 8:24 
nvm it does
hawky_ 2021 年 11 月 26 日 上午 12:25 
hawky_ 2021 年 11 月 26 日 上午 12:23 
does this work with the feusig edit? (the one that allows you to change playermodel hands)