Garry's Mod

Garry's Mod

88 ratings
[TTT] Among Us Randomat
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Server content
Addon Tags: Comic, Fun
File Size
Posted
Updated
8.202 KB
18 Sep, 2020 @ 7:46am
21 Sep, 2020 @ 5:45am
3 Change Notes ( view )

Subscribe to download
[TTT] Among Us Randomat

Description
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://steamhost.cn/steamcommunity_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)
Popular Discussions View All (2)
8
25 Oct, 2020 @ 3:53am
Issues/bugs
Joelzz
8
29 Jan, 2021 @ 4:49am
Suggestions
Joelzz
16 Comments
Joelzz  [author] 28 Jan, 2021 @ 10:57pm 
@The Stig sure man, no problem
The Stig 26 Jan, 2021 @ 9:38pm 
@[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 20 Nov, 2020 @ 10:41am 
Nuu! i'm black change cat to me! :(
D1.yt 1 Nov, 2020 @ 11:14am 
Can you please add this for TTT2MG Minigames Base?
A Guy 15 Oct, 2020 @ 1:37pm 
ok thx
Joelzz  [author] 15 Oct, 2020 @ 4:05am 
it works with any map :)
A Guy 13 Oct, 2020 @ 5:30pm 
wait can you use any among us map or do you need a certin map for this to work?
Hladenz  [author] 29 Sep, 2020 @ 4:06am 
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 28 Sep, 2020 @ 6:40pm 
I just hope that you will make a version for TTT2 :)
Noli 28 Sep, 2020 @ 6:10pm 
it suck