Garry's Mod
98 оценки
[TTT] Round End - Slow Motion
   
Награда
Добавяне към любими
В любими
Премахване от любими
Content Type: Addon
Addon Type: Effects
Addon Tags: Cartoon, Fun
Размер на файла
Публикуван на
Обновен на
598.984 KB
17 май 2016 в 12:16
8 юли 2020 в 15:21
10 бележки за промени ( преглед )

Абониране, за да се свали
[TTT] Round End - Slow Motion

В 1 колекция от Zaratusa
[TTT/2] Tool & Effect Collection
9 артикула
Описание
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 коментара
Serylt 23 окт. 2022 в 16:20 
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 авг. 2020 в 8:33 
can do the bind key too?
MadM 5 юли 2020 в 10:31 
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! [ http://goo.gl/qcx0y ]
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 юни 2020 в 16:31 
tested with TTT2 and it didnt work :(
FrostedWyrm 4 юни 2020 в 23:23 
Does this work with TTT2?
SovetskiDuck 2 авг. 2019 в 23:59 
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 март 2019 в 18:54 
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 февр. 2019 в 15:54 
[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 апр. 2017 в 2:33 
@Zaratusa I did that, but the mod stops working entirely then.
Zaratusa  [автор] 11 апр. 2017 в 10:32 
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: