Garry's Mod

Garry's Mod

98 个评价
[TTT] Round End - Slow Motion
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 特效
插件标签: 卡通, 快乐
文件大小
发表于
更新日期
598.984 KB
2016 年 5 月 17 日 下午 12:16
2020 年 7 月 8 日 下午 3:21
10 项改动说明 ( 查看 )

订阅以下载
[TTT] Round End - Slow Motion

在 Zaratusa 的 1 个合集中
[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 2022 年 10 月 23 日 下午 4: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 2020 年 8 月 31 日 上午 8:33 
can do the bind key too?
MadM 2020 年 7 月 5 日 上午 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 2020 年 6 月 24 日 下午 4:31 
tested with TTT2 and it didnt work :(
FrostedWyrm 2020 年 6 月 4 日 下午 11:23 
Does this work with TTT2?
SovetskiDuck 2019 年 8 月 2 日 下午 11: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 2019 年 3 月 3 日 下午 6: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 2019 年 2 月 24 日 下午 3: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 2017 年 4 月 16 日 上午 2:33 
@Zaratusa I did that, but the mod stops working entirely then.
Zaratusa  [作者] 2017 年 4 月 11 日 上午 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: