Garry's Mod

Garry's Mod

Simplest Subtitles Framework
71 kommentarer
MidnightGamer 27. okt. kl. 5:53 
can you set "captioning" to subtitles and still have it work?
paintedlady925 13. sep. kl. 9:31 
Dude The Mod Dosent Work It Only Works On Garn47 Car
MrSlonik  [ophavsmand] 25. aug. kl. 5:03 
@testlin387 You can find template in the description, feel free to make them!
testlin387 25. aug. kl. 2:31 
how about "portal 2" subtitles text?
KOR_APUcard 18. aug. kl. 22: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 27. juli kl. 19:52 
Do subtitles work with entities?
Yakumo Koishi 7. juli kl. 22:20 
localization support?
Hidden 30. juni kl. 14: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 24. juni kl. 9:36 
how do we change the the text to english?
hanguyenquan 16. juni kl. 15:48 
can someone make a version for half life: resurgence?

(half life sounds are different from resurgence for some reason.)
Hidden 26. maj kl. 15:59 
Damn, too bad. Alright, thank you
MrSlonik  [ophavsmand] 26. maj kl. 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 25. maj kl. 9:32 
suggestion, could custom subtitles also be shown when using cc_emit? as some source mods do use it.
Hidden 24. maj kl. 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.
Ragsimier 24. maj kl. 2:08 
the crash has been fixed
Hidden 22. maj kl. 17:25 
And another question: I noticed that in HL2 there are some really long subtitled sounds. Last time I tried gui.AddCaption() with text copied out of one of these lines, the game crashed. Does this framework handle that?
Hidden 22. maj kl. 16:46 
Thank you.
Hey, do you know if it's possible at all to use the sentence system with ogg sound files? Or at least the next best thing?
MrSlonik  [ophavsmand] 22. maj kl. 16:15 
I already do language.GetPhrase for both "text" and "subject" values on pack load. You should be able to just put the localization key without # symbol.
Hidden 22. maj kl. 15:30 
Can I use the localization system to get subtitles in people's languages? Do I add a localization definition (like "#tool.weld.help") or do I use language.GetPhrase()?
Jariner 30. mar. kl. 3:41 
would be pretty nice if you would be able to replace already existing subtitles with custom ones, i've tried it, and it only made the unedited original and the custom text both appear.
Wood 3. mar. kl. 14:19 
how do i change language? its in portuguese
Höfner 18. jan. kl. 15:55 
Can this be uploaded to HL2 workshop or does it not work because of Lua?
geoffreyallen1007 27. dec. 2024 kl. 20:43 
resestance works but comebin dose nnot
MrSlonik  [ophavsmand] 12. dec. 2024 kl. 4:41 
I don't know where exactly these scenes play in your map, so I don't have a way to reproduce your problem right now.
Ragsimier 12. dec. 2024 kl. 1:13 
Well I am making scene files in faceposer and then playing them in map with map outputs, i tried both wavs and soundscripts, maybe im missing some step, ill try to find a solution today
MrSlonik  [ophavsmand] 11. dec. 2024 kl. 15:15 
Seems to work for me as I'm using PlayScene function on an NPC: https://imgur.com/a/Ut6oIpV
You should really consider using soundscripts though.
Ragsimier 11. dec. 2024 kl. 7:41 
doesnt seem to, i put the .wav filepath both in the scene file and specified it in the subtitles .lua (the .wav)
MrSlonik  [ophavsmand] 11. dec. 2024 kl. 7:30 
Does putting path to sound file not work?
Ragsimier 11. dec. 2024 kl. 7:14 
Support for .wavs played in scene files?
Jariner 23. okt. 2024 kl. 12:11 
would be cool if subtitles shown with cc_emit could also work with this, but its great enough.
❤IBRS❤ 6. okt. 2024 kl. 4:53 
yeah I thank that's the reason XD
MrSlonik  [ophavsmand] 6. okt. 2024 kl. 4:51 
I think I forgot to rename the calls after I renamed the function itself. Fixed.
❤IBRS❤ 6. okt. 2024 kl. 4:37 
Replacing 'AddSubtitleFromSound' with 'CallSimplestSubtitle' can solve this problem
❤IBRS❤ 6. okt. 2024 kl. 4:30 
study
MrSlonik  [ophavsmand] 6. okt. 2024 kl. 4:29 
Why did you unpack it?
❤IBRS❤ 6. okt. 2024 kl. 4:25 
] subtitles_test

[simplest_subtitle_framework_3311765429] addons/simplest_subtitle_framework_3311765429/lua/autorun/client/cl_simplest_subtitles.lua:90: attempt to call global 'AddSubtitleFromSound' (a nil value)
1. unknown - addons/simplest_subtitle_framework_3311765429/lua/autorun/client/cl_simplest_subtitles.lua:90
2. unknown - lua/includes/modules/concommand.lua:54

When I try to run the "subtitles_test" command, this error message appears.
Schizofreak 29. sep. 2024 kl. 5:11 
𝗧𝗵𝗶𝘀 𝗰𝗼𝗺𝗺𝗲𝗻𝘁 𝗶𝘀 𝗮𝘄𝗮𝗶𝘁𝗶𝗻𝗴 𝗮𝗻𝗮𝗹𝘆𝘀𝗶𝘀 𝗯𝘆 𝗼𝘂𝗿 𝗮𝘂𝘁𝗼𝗺𝗮𝘁𝗲𝗱 𝗰𝗼𝗻𝘁𝗲𝗻𝘁 𝗰𝗵𝗲𝗰𝗸 𝘀𝘆𝘀𝘁𝗲𝗺. 𝗜𝘁 𝘄𝗶𝗹𝗹 𝗯𝗲 𝘁𝗲𝗺𝗽𝗼𝗿𝗮𝗿𝗶𝗹𝘆 𝗵𝗶𝗱𝗱𝗲𝗻 𝘂𝗻𝘁𝗶𝗹 𝘄𝗲 𝘃𝗲𝗿𝗶𝗳𝘆 𝘁𝗵𝗮𝘁 𝗶𝘁 𝗱𝗼𝗲𝘀 𝗻𝗼𝘁 𝗰𝗼𝗻𝘁𝗮𝗶𝗻 𝗵𝗮𝗿𝗺𝗳𝘂𝗹 𝗰𝗼𝗻𝘁𝗲𝗻𝘁 (𝗲.𝗴. 𝗹𝗶𝗻𝗸𝘀 𝘁𝗼 𝘄𝗲𝗯𝘀𝗶𝘁𝗲𝘀 𝘁𝗵𝗮𝘁 𝗮𝘁𝘁𝗲𝗺𝗽𝘁 𝘁𝗼 𝘀𝘁𝗲𝗮𝗹 𝗶𝗻𝗳𝗼𝗿𝗺𝗮𝘁𝗶𝗼𝗻).
DR 28. sep. 2024 kl. 16:04 
does it work on nextbots?
DR 28. sep. 2024 kl. 16:03 
is very good
TheToucanman 31. aug. 2024 kl. 13:50 
also will there be subtitles for half life 2 and episodic sounds made using this?
TheToucanman 31. aug. 2024 kl. 10:31 
i threw in the tf2 subtitle pack into my addons folder and it somehow works
Relira 24. aug. 2024 kl. 9:18 
because GMOD players are always horny
<width=1>PackMan09 23. aug. 2024 kl. 23:32 
cool but why the hell is the supported addons collection just 18+ anime vox models
matt_ 23. aug. 2024 kl. 22:31 
IT USES THE HALF LIFE 2 SUBTITLES INSTEAD?? THANK YOU 🙏🙏🙏
Thad4002 23. aug. 2024 kl. 17:27 
how do i add my own subtitles?
Mat4014 23. aug. 2024 kl. 1:59 
Will it work with something like lambda players voicelines?
nooprahsaG 21. aug. 2024 kl. 13:16 
does it work with rlibrary? So it works?
22050hz amen break sample 21. aug. 2024 kl. 4:40 
bless you
ceejaytwoyoshi 20. aug. 2024 kl. 4:33 
is it just me or that this mod doesn't seem to work for me
like even when i turn on captions it still doesn't seem to work
dosh.ivon 19. aug. 2024 kl. 2:25 
does combines have subtitles?