Garry's Mod

Garry's Mod

373 个评价
TTT Advanced Disguiser
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 武器
文件大小
发表于
更新日期
191.404 KB
2016 年 1 月 28 日 下午 3:49
2017 年 4 月 11 日 上午 10:26
6 项改动说明 ( 查看 )

订阅以下载
TTT Advanced Disguiser

在 ✪ Killberty 的 1 个合集中
TTT Server
44 件物品
描述
This is the Advanced Disguiser for TTT.

Contents
  • Advanced Disguiser (Traitor)
    Steal player's identity.

ConVars
  • ttt_advdisguiser_disable_living_players (def. 0): Should the Advanced Disguiser be disabled for living players?
  • ttt_advdisguiser_disable_detectives (def. 0): Should the Advanced Disguiser be disabled on detectives?
  • ttt_advdisguiser_force_reveal_before_steal (def. 0): Should the Advanced Disguiser only be usable when you have your original identity?
  • ttt_advdisguiser_inloadout (def. 0): Should the Advanced Disguiser be in the loadout for Traitors?
  • ttt_advdisguiser_autoequip(def. 0): Should a stolen identity be auto-equipped?

Known Bugs
  • None
  • Found a bug? Let me know in the comments!

Coming Soon™
  • Nothing planned
  • Want a feature? Let me know in the comments!

Source
Original code is not by me. I just tweaked and extended the code to my liking.
Viewmodels are by me.

Donations
Buy me a beer:
PayPal[www.paypal.com]
Steam Items
13 条留言
(˶>ᆺ<˶)ᵐᵉᵒʷˎˊ˗ 2023 年 11 月 27 日 上午 4:32 
seems to work by using
function SetPlayermodelSelectorForce(value)
RunConsoleCommand("sv_playermodel_selector_force", value)
end

and dynamically disabling and enabling it when we pickup and remove the weapon
running a console command feels like it's definitely overcomplicating the issue but it seems to work so i dont care
(˶>ᆺ<˶)ᵐᵉᵒʷˎˊ˗ 2023 年 11 月 27 日 上午 3:45 
Tygron is ♥♥♥♥♥♥♥ crazy ♥♥♥♥♥♥♥♥♥ i have not been able to figure out why that wasnt working for ages ♥♥♥♥♥♥♥♥♥ im free
Ziutek 2023 年 8 月 29 日 上午 7:53 
can you make it for sandbox?
アのメの刀よ尺 2022 年 3 月 30 日 上午 10:23 
Is the marking system suppose to work like that when I take someone else's identity?
If you mark the person with it on as kill.
the actual person is marked too.
Tygron 2021 年 3 月 27 日 下午 4:18 
So it sorta works. I use the Enhanced PlayerModel Selector mod ID: 504945881
When the enforce playermodel is selected your model will not change but your name of course will. When it isn't toggled it works as expected. Unfortunately having it off defaults your player model in game to the default one as well.


Not sure if there's much that can be done about it, just wanted to point that out.

Also with the 2045444087 version of Custom Roles for TTT, some UI elements have disappeared since installing this. Not entirely sure this is what caused that however, i'll get back to you on that.
Abu 2021 年 2 月 25 日 上午 8:43 
Where is it in the (Q) spawn menu?
✪ Killberty  [作者] 2019 年 9 月 7 日 上午 6:49 
It should, but i am not sure.
Niara 2019 年 8 月 27 日 下午 12:35 
This addon steals the skin too?
✪ Killberty  [作者] 2017 年 2 月 6 日 下午 12:55 
Disguising and undisguising should show in the built-in DamageLog.
アのメの刀よ尺 2017 年 2 月 5 日 上午 6:14 
Yeah I agree with damagelogs.