Garry's Mod

Garry's Mod

98 vurderinger
[TTT] Round End - Slow Motion
   
Utmerkelse
Favoritt
Favoritter
Fjern som favoritt
Innholdstype: Tillegg
Tilleggstype: Effekter
Tilleggsetiketter: Tegnefilm, Moro
Filstørrelse
Lagt ut
Oppdatert
598.984 KB
17. mai 2016 kl. 12.16
8. juli 2020 kl. 15.21
10 endringslogger ( vis )

Abonner for å laste ned
[TTT] Round End - Slow Motion

I 1 samling av Zaratusa
[TTT/2] Tool & Effect Collection
9 gjenstander
Beskrivelse
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 kommentarer
Serylt 23. okt. 2022 kl. 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. aug. 2020 kl. 8.33 
can do the bind key too?
MadM 5. juli 2020 kl. 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. juni 2020 kl. 16.31 
tested with TTT2 and it didnt work :(
FrostedWyrm 4. juni 2020 kl. 23.23 
Does this work with TTT2?
SovetskiDuck 2. aug. 2019 kl. 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. mars 2019 kl. 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. feb. 2019 kl. 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. apr. 2017 kl. 2.33 
@Zaratusa I did that, but the mod stops working entirely then.
Zaratusa  [skaper] 11. apr. 2017 kl. 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: