Garry's Mod

Garry's Mod

97 ratings
[TTT] Round End - Slow Motion
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Cartoon, Fun
File Size
Posted
Updated
598.984 KB
17 May, 2016 @ 12:16pm
8 Jul, 2020 @ 3:21pm
10 Change Notes ( view )

Subscribe to download
[TTT] Round End - Slow Motion

In 1 collection by Zaratusa
[TTT/2] Tool & Effect Collection
9 items
Description
NOTICE: This Addon only works for the "Trouble in Terrorist Town"-Gamemode.

Features
Adds a slow motion at the end of the round, but you don't loose Karma for killing people in the slow motion, like in others addons. Just a asthetic feature for TTT servers.

Sounds for start and end of the slow motion are included!



ConVars
# How long should the slow motion be? # Note: This doesn't directly translate into seconds, because it's affected by the slow motion ttt_sm_duration [0..n] (default: 1) # The sound file, that should be played at the start of the slow motion. ttt_sm_startsound (default: "entities/slow_motion/slow_motion_start.wav") # The sound file, that should be played at the end of the slow motion. ttt_sm_endsound (default: "entities/slow_motion/slow_motion_end.wav")

Server Infos
Add it to your server by following this guide: Workshop for Dedicated Servers[wiki.facepunch.com]

Note: You may encounter the following console message, which can be ignored: "Refusing to load ttt_ending_slow_motion because it is missing Type and Base keys!"

Source
The whole source code can be found on GitHub[github.com], feel free to contribute. The effects where taken from this addon. I agree to remove this item if the Author or Valve wishes to.

Thanks for reading, enjoy and have fun!
16 Comments
Serylt 23 Oct, 2022 @ 4:20pm 
Still does not work with TTT2.

[[TTT] Round End - Slow Motion] gamemodes/terrortown/entities/entities/ttt_ending_slow_motion.lua:17: bad argument #1 to 'WriteInt' (number expected, got string)
1. WriteInt - [C]:-1
2. fn - gamemodes/terrortown/entities/entities/ttt_ending_slow_motion.lua:17
3. Run - lua/ulib/shared/hook.lua:109
4. EndRound - gamemodes/terrortown/gamemode/server/sv_main.lua:1339
5. unknown - gamemodes/terrortown/gamemode/server/sv_main.lua:779

Timer Failed! [winchecker][@gamemodes/terrortown/gamemode/server/sv_main.lua (line 847)]
MichaelYTGaming 31 Aug, 2020 @ 8:33am 
can do the bind key too?
MadM 5 Jul, 2020 @ 10:31am 
I get this lua error after every round:

[[TTT] Round End - Slow Motion] gamemodes/terrortown/entities/entities/ttt_ending_slow_motion.lua:16: Calling net.Start with unpooled message name! []
1. Start - [C]:-1
2. fn - gamemodes/terrortown/entities/entities/ttt_ending_slow_motion.lua:16
3. Call - lua/ulib/shared/hook.lua:109
4. EndRound - gamemodes/terrortown/gamemode/server/sv_main.lua:1323
5. unknown - gamemodes/terrortown/gamemode/server/sv_main.lua:668

Timer Failed! [winchecker][@gamemodes/terrortown/gamemode/server/sv_main.lua (line 734)]

MadM 24 Jun, 2020 @ 4:31pm 
tested with TTT2 and it didnt work :(
FrostedWyrm 4 Jun, 2020 @ 11:23pm 
Does this work with TTT2?
SovetskiDuck 2 Aug, 2019 @ 11:59pm 
Refusing to load ttt_ending_slow_motion because it is missing Type and Base keys error in console, how do I find the type and base keys?
TOExHEAD 3 Mar, 2019 @ 6:54pm 
Where do I put sound files in my dedicated server for the ttt_sm_startsound and ttt_sm_endsound and do I put these commands in my server.cfg
Southpaw 24 Feb, 2019 @ 3:54pm 
[Southpaw|2|STEAM_0:1:104921903] Lua Error:
Refusing to load ttt_ending_slow_motion because it is missing Type and Base keys!
-=PYPA=- Sgnolbo 16 Apr, 2017 @ 2:33am 
@Zaratusa I did that, but the mod stops working entirely then.
Zaratusa  [author] 11 Apr, 2017 @ 10:32am 
Here is the link to the GMod Wiki: http://wiki.garrysmod.com/page/Global/DrawToyTown
The only thing you can do is to remove the function call from the script :steamsad: