Garry's Mod

Garry's Mod

29 个评价
Misc TTT tweaks and fixes
2
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 特效
插件标签: 漫画, 快乐
文件大小
发表于
更新日期
33.021 KB
2022 年 4 月 20 日 上午 7:15
2023 年 7 月 1 日 下午 11:15
7 项改动说明 ( 查看 )

订阅以下载
Misc TTT tweaks and fixes

在 wget 的 1 个合集中
ESB TTT addons
13 件物品
描述
This is basically a collection of scripts I made that are too small and simple to be uploaded as individual addons.

All of these can be toggled with console variables so you can choose to enable only the ones you want. All convars are archived so your settings will be persistent across restarts.

Deathcam options
Clients can choose to disable the first-person deathcam to use a third-person view of their corpse instead.
client cvar: ttt_deathcam_firstperson 1

Clients can choose to disable being forcibly teleported to "spectator spawns" after their deathcam.
This stops the annoying thing where you'll be watching the action happening around where you died but then your view is suddenly cut to miles away outside the map.
client cvar: ttt_deathcam_gotospecspawn 0

You can choose to have spectator spawns be used for players that have just joined the game as a spectator.
server cvar: ttt_specspawnjoin 1

Buy with double-click
Lets you quickly buy equipment items from the traitor or detective shop by double-clicking their icon.
server cvar: ttt_doubleclickbuy 1

Counter-strike playermodel colours
Sets playermodel colours to the colours they use in css instead of random colours.
This means that the Phoenix's shirt will be blue, the Guerilla's bandana will be red, and the Leet's jacket will be olive.
server cvar: ttt_cstrike_colors 1

Any playermodel can wear detective hats
This allows any playermodel to spawn with the detective hat instead of only the Phoenix and Arctic models.
server cvar: ttt_detective_hats_allmodels 1

Overtime confirmation
When confirming a death in haste mode, this reveals the bonus overtime added by the death.
This means that innocents will know the true round timer if they have confirmed every death.
server cvar: ttt_haste_confirmationbonus 1

Round end slow motion
This is my rewrite of this addon but I've made it more optimised.
Karma is unaffected during the slowmo period while still triggering the slowmo as soon as the last traitor or innocent dies.
server cvar: ttt_roundend_slowmo 1

Kill on leave
Kill players when they disconnect so that they leave a corpse behind and drop their stuff
server cvar: ttt_killonleave 1

Less floppy kills
Applies some velocity from the killing blow onto a player's ragdoll on death, so that the ragdoll would visibly recoil from the hit instead of just limply flopping to the ground.
This is my quick rewrite of this addon[redd.it] that tries to accomplish the same thing with a different approach. You can use that addon instead if you prefer the original.
server cvar: ttt_newragvel 1

This is compatible with Fedhoria and, in fact, improves how it works.

Bodies collide with breakable glass
This lets player corpses shatter windows instead just passing through them.
server cvar: ttt_realistic_defenestration 1

Serverside npc ragdolls
This allows npc corpses to be carried with the magneto-stick.
The cvar value is how many serverside npc ragdolls can exist simultaneously. I don't recommend going over 8, it can hurt server performance.
server cvar: ttt_npc_server_ragdolls 0

Persistent sprays
Player sprays will be retained between rounds and when you disconnect and reconnect. You will also see sprays from before you joined the server.
server cvar: sv_persistent_sprays 1

Serverside blood impacts
This stops the irritating thing where you see blood effects on your target without dealing any damage.
This significantly cuts down on hitreg complaints without actually doing anything with hitreg.
server cvar: sv_serverside_bloodimpacts 1

Alternatively, you can use my Clientside Hitreg addon instead to actually change how hitreg works.
Though, you may still use both clientside hitreg and serverside blood impacts simultaneously, if you really want to.

Pop-in fix
Rudimentary fix for the "pop-in" seen when you peek corners with high ping.
server cvar: sv_pop_in_fix 0

Invisible players fix
This basically just automatically uses the "record a;stop" solution when invisible players are detected on round start.
server cvar: ttt_invisplayer_fix 0

Clients can choose to override the server's value.
client cvar: ttt_invisplayer_fix_cl -1
-1 = use server's value
0 = always disabled
1 = always enabled

Map config files
You can put cfg and lua files in garrysmod/cfg/mapcfgs which will be run if their filename matches the current map's name.
This is for making your own changes to a map, for example if you want to disable t testers or t traps or t rooms or something that really hurts framerates in a certain map.
Here's are some examples: https://gist.github.com/wgetJane/83064d0ac013e4b64aca2e9a87a47944
server cvar: sv_runmapcfgs 0

my addons:
my maps:
30 条留言
gnog 9 月 21 日 上午 1:26 
WARNING! Carry on reading! Or you will die, even if you only looked at the word warning! Once there was a little girl called Clarissa, she was ten-years-old and she lived in a mental hospital, because she killed her mom and her dad. She got so bad she went to kill all the staff in the hospital so the More- government decided that best idea was to get rid of her so they set up a special room to kill her, as humane as possible but it went wrong the machine they were using went wrong. And she sat there in agony for hours until she died. Now every week on the day of her death she returns to the person that reads this letter, on a monday night at 12:00a.m. She creeps into your room and kills you slowly, by cutting you and watching you bleed to death. Now send this to ten other profiles on this one site, and she will haunt someone else who doesn't. This isn't fake. apparently, if u copy and paste this to ten comments in the next ten minutes u will have the best of your life.
remanedur 5 月 24 日 下午 11:32 
saw it was reported earlier, but i can confirm the slowmo breaks TTT2's round end screen and prevents rounds from being able to finish
wget  [作者] 4 月 6 日 上午 3:10 
@牛栏山辉夜
what version of "Custom Roles for TTT" are you using? it is my understanding that that issue has been fixed already
Hikawa Kaguya 4 月 6 日 上午 2:14 
Hello author! I need to give you feedback on an issue where the ttt_rounden_stlowmo feature affects the victory conditions and trigger activation functions of clone and jester in "Custom Roles for TTT". I am not sure if my description is easy to understand (I am using a translator), and I hope you can fix it
wget  [作者] 2024 年 11 月 25 日 上午 4:49 
@GermanPlasma
a ttt2 update most likely, i'll look into it
GermanPlasma 2024 年 11 月 24 日 上午 11:55 
I am using TTT2 but also quite a few other mods. However, it was working pretty normal a year or so ago with the same constellation of mods, so maybe a gmod update made something bad on my end?
wget  [作者] 2024 年 11 月 20 日 上午 1:55 
@GermanPlasma
worked on my server last time i checked, but i'll check again
are you using something like ttt2 or crttt?
GermanPlasma 2024 年 11 月 19 日 下午 6:46 
Yeah slow motion sadly doesn't work.
wget  [作者] 2024 年 4 月 22 日 下午 7:48 
@nola
the cvars are archived so they should persist (as long as you close the server properly)