Garry's Mod

Garry's Mod

394 次評價
Simplest Subtitles Framework
   
獎勵
加入最愛
已加入最愛
移除最愛
Content Type: Addon
Addon Type: Effects
檔案大小
發佈於
更新時間
5.553 KB
2024 年 8 月 18 日 上午 10:23
2024 年 10 月 6 日 上午 4:50
4 項更新註記 (檢視)

訂閱以下載
Simplest Subtitles Framework

在 MrSlonik 的 1 個收藏中
Simplest Subtitles
14 個項目
描述
The simplest take on custom subtitles.

Features:
- Uses Half-Life 2's Closed Captions system
- Toggle on/off in Options -> Audio -> Captioning
- Supports both clientside and serverside sounds (like HUD sounds or HL1 NPCs)
- Subtitles can be added to soundscripts (in the "snd" field) and sentences
- Subtitles can be chained (another line shows after one expires, put name in the "chain" field)
- Backwards compatible with all SSF packs

This mod does not provide any subtitles by itself, you might want to install some:
- Half-Life 1 subtitles pack
- HL2 Combine Overwatch subtitles pack
- HL2 Resistance subtitles pack
- Look for more packs in the official collection (which is also shown above the description)
- Or create your own! Here's the template: https://pastebin.com/Yd2pMDf9
70 則留言
KOR_APUcard 8 月 18 日 下午 10:34 
Why this is replaces HL2 default sound effects to other weird sounds? I didn't expect this will changes combine door locked sound to cellphone ringing sound.
c87nn 7 月 27 日 下午 7:52 
Do subtitles work with entities?
Yakumo Koishi 7 月 7 日 下午 10:20 
localization support?
Hidden 6 月 30 日 下午 2:24 
I have another suggestion, and I hope this one is doable: When you don't supply the "duration" variable, have it be the duration of the sound. I tried to add that in the caption definitions lua file, like on your template, but for some reason the function SoundDuration returns 60. I guess it's due to the sound durations not being available while the map is loading.
kilanandre 6 月 24 日 上午 9:36 
how do we change the the text to english?
hanguyenquan 6 月 16 日 下午 3:48 
can someone make a version for half life: resurgence?

(half life sounds are different from resurgence for some reason.)
Hidden 5 月 26 日 下午 3:59 
Damn, too bad. Alright, thank you
MrSlonik  [作者] 5 月 26 日 下午 12:33 
@Hidden There's no way to check if a sound is still playing. The hooks I use only pass the soundscript and sound path, not something I can use to check that.
Jariner 5 月 25 日 上午 9:32 
suggestion, could custom subtitles also be shown when using cc_emit? as some source mods do use it.
Hidden 5 月 24 日 上午 11:24 
Nice! By the way, I have a suggestion: If the sound that started a subtitle chain is no longer playing, don't play the rest of the chain.