Garry's Mod

Garry's Mod

88 个评价
[TTT] Among Us Randomat
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 服务器内容
插件标签: 漫画, 快乐
文件大小
发表于
更新日期
8.202 KB
2020 年 9 月 18 日 上午 7:46
2020 年 9 月 21 日 上午 5:45
3 项改动说明 ( 查看 )

订阅以下载
[TTT] Among Us Randomat

描述
Important Note

  • There is a chance that this Randomat wont work properly when just subscribed to (i.e. the HUD for the vote wont appear when a body is searched.
  • If this happens:

  • Go to you garrysmod addons folder and decompile bot this addon and the randomat 2.0 addon using gmad.exe.
  • Move the newau.lua file from this addon to ttt_randomat_2.0_1406495040\lua\randomat2\events
  • Move the cl_newau.lua file from this addon to ttt_randomat_2.0_1406495040\lua\randomat2\cl_events
  • Any issues should now be fixed

    If you find any bugs/issues with this addon please let me know in the issues/bugs discussion :)

    How It Works

  • This is an extra event for https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1406495040
  • When the Randomat is used there is a chance that this event will be activated.
  • The event basically turns the round into a game of Among Us, where everyone is given the Among Us skin, everyone is deafened, the innocents are stripped of weapons and the traitors are given a knife every 30 seconds (to mimic the kill cool down time of the actual game)
  • When an innocent has been killed and another player identifies the body, a vote will start. After 30 seconds the player with the most votes will be slain or "ejected."
  • After the player has been ejected the vote ends and the round continues as it was until a body is found.
  • The innocents can only win by voting out all the traitors.

    Requirements

    You must have the two required addons subscribed to in order for it to work as it includes the skin and the original Randomat 2.0 for it to work.

    ULX Menu support

    If you have the Randomat ULX menu addon you can add the Among us Randomat to it. To do this you need to:

  • Decompile the Randomat ULX menu addon using gmad.exe
  • in your Garrysmod addons folder go to garrysmod/addons/randomat_2.0_ulx_menu_1627728002/lua/ulx/xgui/randomat.lua
  • Copy and paste this into the lua script where it would come alphabetically:

    --[amongus]--------------------------------------------------

    events["AmongUs"] = {}
    events["AmongUs"].name = "AmongUs"

    events["AmongUs"].sdr = {}
    slider = events["AmongUs"].sdr
    slider[1] = {}
    slider[1].cmd = "timer"
    slider[1].dsc = "Time to vote (def. 45)"
    slider[1].min = 10
    slider[1].max = 90

    slider[2] = {}
    slider[2].cmd = "totalpct"
    slider[2].dsc = "% of players needed to vote for pass (def. 50)"
    slider[2].min = 0
    slider[2].max = 100

    events["AmongUs"].chk = {}
    check = events["AmongUs"].chk
    check[1] = {}
    check[1].cmd = "freeze"
    check[1].dsc = "Should Players be frozen while voting"

  • Save the lua file and now it should be possible to activate the event through the ULX menu

    Main Developer

    Special thanks to Hladenz who is the main developer of this mod who i work along side with. He wrote the code for this mod so all credit goes to him as he has done an amazing job!

    Possible future updates (feel free to discuss in the suggestions topic)

    -Looking into adding the among us sound track being played throughout the round instead of silence
    -Looking in to remove all dead bodies after a vote
    -Looking into a better voting GUI (more similar to the actual game one)
热门讨论 查看全部(2)
8
2020 年 10 月 25 日 上午 3:53
Issues/bugs
Joelzz
8
2021 年 1 月 29 日 上午 4:49
Suggestions
Joelzz
16 条留言
Joelzz  [作者] 2021 年 1 月 28 日 下午 10:57 
@The Stig sure man, no problem
The Stig 2021 年 1 月 26 日 下午 9:38 
@[LS] Mr J Hey, is it OK if I include a modified version of this in my randomat mod with added improvements, fixed bugs etc.? Of course I'll give you credit.
A i n a 2020 年 11 月 20 日 上午 10:41 
Nuu! i'm black change cat to me! :(
D1.yt 2020 年 11 月 1 日 上午 11:14 
Can you please add this for TTT2MG Minigames Base?
A Guy 2020 年 10 月 15 日 下午 1:37 
ok thx
Joelzz  [作者] 2020 年 10 月 15 日 上午 4:05 
it works with any map :)
A Guy 2020 年 10 月 13 日 下午 5:30 
wait can you use any among us map or do you need a certin map for this to work?
Hladenz  [作者] 2020 年 9 月 29 日 上午 4:06 
sumprerc if it dosent work please make a comment in issues/bugs with any errors you are having. Also please make sure that you have all the depencies
Ph|Apple Norris 2020 年 9 月 28 日 下午 6:40 
I just hope that you will make a version for TTT2 :)
Cap'n Squidbeard the terror 2020 年 9 月 28 日 下午 6:10 
it suck