Garry's Mod

Garry's Mod

25 ratings
[TTT2] Minigames [BASE]
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Fun, Realism
File Size
Posted
Updated
728.347 KB
Oct 24, 2020 @ 1:05pm
Nov 25, 2021 @ 7:21am
8 Change Notes ( view )

Subscribe to download
[TTT2] Minigames [BASE]

Description
The core of other TTT2 minigames and randomat events that provides the internal engine and functionality! Use this to trigger custom minigames / events, or customize the available convars to trigger with a certain percent or every x rounds.

You have to use TTT2 in order to use this addon. Additionally the use of ULX for TTT2 is recommended (fully integrated).

Discord: https://discord.gg/9njYXGY
Source: https://github.com/TTT-2/ttt2mg (report issues here)
Randomat (to add a buyable weapon that triggers minigames): https://steamcommunity.com/sharedfiles/filedetails/?id=2266894222

This core/engine runs on top of TTT2 and consists of the minigames handling like selection, activation, initialization etc. It is necessary to use this in order to play other TTT2 minigames add-ons or using any other TTT2 randomat events.

Minigames Pack#1: https://steamcommunity.com/sharedfiles/filedetails/?id=2267522748
Minigames Pack#2: https://steamcommunity.com/sharedfiles/filedetails/?id=2267953942
Minigames Pack#3: https://steamcommunity.com/sharedfiles/filedetails/?id=2267954071



Convars are variables that are introduced to allow server owners to customize the gameplay without changing the code. The convars introduced by this addon can be either set via the server.cfg file or in ULX.

An updated list of every convar is available at https://github.com/TTT-2/ttt2mg/#convars

--
Credits:
Alf21: creator of this addon
Mineotopia: designer of the workshop icon
14 Comments
Proct Mar 16 @ 8:47am 
Looks like the latest Gmod update throws lua errors
Tim | Mineotopia  [author] Aug 23, 2022 @ 8:34am 
@NIMFER Settings got moved to the F1 menu
NIMFER Jun 4, 2022 @ 7:06pm 
hey, I noticed that the ulx cmds category for TTT2 minigames shows up just fine but it doesn't get listed in ulx Addons tab.
♪ Gormi May 11, 2021 @ 11:04am 
Oh, I just looked in the wrong place. Thank you!
Tim | Mineotopia  [author] May 9, 2021 @ 4:30am 
I'm pretty sure there is a trigger in the admin section
♪ Gormi May 9, 2021 @ 4:23am 
Could you add a way to actively trigger an event in the ULX menu?
TobiM Jan 8, 2021 @ 10:20am 
Hey, thank you very much. It worked. Finally.
Tim | Mineotopia  [author] Jan 6, 2021 @ 11:52am 
you need ULX. This part of the code should probably not loaded at all without ULX, but for now try it with ulx installed!
TobiM Jan 6, 2021 @ 10:18am 
here is the error log I found on the server console (not sure).

[[TTT2] Minigames [BASE]] lua/minigames/engine/sh_convars.lua:58: attempt to index global 'ULib' (a nil value)
1. v - lua/minigames/engine/sh_convars.lua:58
2. Run - lua/includes/modules/hook.lua:84
3. OnLoaded - lua/includes/modules/minigames.lua:137
4. v - lua/minigames/engine/sh_hooks.lua:41
5. Run - lua/includes/modules/hook.lua:84
6. unknown - gamemodes/terrortown/gamemode/server/sv_main.lua:202

But somehow it leeds to a chain reaction, that other packs also don't work anymore.

Btw. Thank you really much for trying to help me. I appreciate it really.
Alf21  [author] Jan 6, 2021 @ 8:46am 
Hmm... could you provide a server-console and a client-console log?