Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
bca89cb
Added Caption Viewer DevUI documentation
Laveig Apr 25, 2026
5d2f81b
Removed duplicate DevUI pages
Laveig Apr 25, 2026
2c496ba
Update launchoptions.md
Laveig Apr 25, 2026
d1111b8
Merge branch 'main' of https://github.com/Laveig/Wiki
Laveig May 4, 2026
ecfbf81
Added Caption System documentation
Laveig May 4, 2026
b51bf01
Merge branch 'main' of https://github.com/Laveig/Wiki
Laveig Aug 10, 2026
4608050
Minor changes
Laveig Aug 10, 2026
c7f81d0
Huge changes (see desc)
Laveig Aug 13, 2026
a104e52
Expanded cookes, minor fixes
Laveig Aug 14, 2026
6e0f335
Cookies & captions
Laveig Aug 14, 2026
92a32c9
Merge branch 'main' of https://github.com/Laveig/Wiki
Laveig Aug 14, 2026
7387f2a
Update .gitignore
Laveig Aug 14, 2026
1eb1764
Update .gitignore
Laveig Aug 14, 2026
bc8f08f
Final cookies update & PCC fix
Laveig Aug 14, 2026
9b3976f
Remomed duplicate images
Laveig Aug 14, 2026
24dd8d0
Merge branch 'main' of https://github.com/Laveig/Wiki
Laveig Aug 20, 2026
d654b1b
Minor spelling mistakes
Laveig Aug 20, 2026
4179e53
Merge branch 'StrataSource:main' into main
Laveig Aug 21, 2026
6271643
Merge branch 'StrataSource:main' into main
Laveig Aug 21, 2026
5635cea
Merge branch 'StrataSource:main' into main
Laveig Aug 21, 2026
12cfcbc
Added requested changes
Laveig Aug 21, 2026
44c3374
Minor spelling mistake
Laveig Aug 21, 2026
b803e0c
Update debug.md
Laveig Aug 21, 2026
fadea9e
Merge branch 'StrataSource:main' into main
Laveig Aug 21, 2026
04b6c4d
Added requested changes
Laveig Aug 21, 2026
3a9d57f
Minor spelling mistake
Laveig Aug 21, 2026
4d8806f
Update debug.md
Laveig Aug 21, 2026
71641ba
Merge branch 'main' of https://github.com/Laveig/Wiki
Laveig Aug 22, 2026
4d2d531
Added more requested changes
Laveig Aug 22, 2026
830e2bd
Merge branch 'StrataSource:main' into main
OrsellGit Aug 22, 2026
5306e34
Added requested changes
Laveig Aug 21, 2026
6fbe3ec
Minor spelling mistake
Laveig Aug 21, 2026
248184d
Update debug.md
Laveig Aug 21, 2026
c3dfb24
Merge branch 'main' of https://github.com/Laveig/Wiki
Laveig Aug 22, 2026
b9790c2
Added more requested changes
Laveig Aug 22, 2026
c048b9f
Merge branch 'main' of https://github.com/Laveig/Wiki
Laveig Sep 3, 2026
edceb7a
Merge branch 'main' of https://github.com/Laveig/Wiki
Laveig Sep 8, 2026
d61bb6d
Updated The Captions Documentation
Laveig Sep 8, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions docs/modding/captions/cmds.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ features:

There are plenty of options in the settings menu to configure the captions.

* `Closed Captions` enables closed captions.
* `Subtitles` determines whether the SFX effects are shown in captions. If set to On, only dialogues will appear.
* `Mode` determines which subtitles to show, if any. When `Disabled` is selected, subtitles will not be displayed. `Subtitles` shows all the subtitles, `Closed Captions` shows only dialogues (subtitles not marked as VFX)
* `Font` is the font that the caption system uses.
* `Lexend` as the default P2CE / Strata source font;
* `Univers` from Portal 2;
Expand All @@ -31,7 +30,8 @@ Additionally, there are the following console commands:
| --- | --- |
| `cc_panorama` | Enable usage of Panorama Closed Captions over Legacy VGUI
| `cc_lang` | Sets the language for the captions. Does not require map restarts - the next caption token will be displayed with a new language.
| `cc_captions_debug` | smth
| `cc_allow_txt_captions` | Allows text captions.
| `cc_captions_debug` | Enables additional output strings in the console.
| `cc_captiontrace` | Shows missing closecaptions (0 = no, 1 = devconsole, 2 = show in hud)
| `cc_emit` | Shows a specified caption and plays its sound
| `cc_emit_raw` | Same as `cc_emit` but raw text can be inserted
Expand All @@ -41,6 +41,9 @@ Additionally, there are the following console commands:
| `cc_norepeat` | In multiplayer, don't repeat captions more often than this many seconds
| `cc_panorama_log` | Enables Panorama CC verbose logging
| `cc_panorama_reload` | Reloads caption definitions for Panorama subtitles only
| `cc_panorama_bg_opacity` | Determines Panorama CC background color
| `cc_panorama_entry_margin` | Sets the text margin.
| `cc_prefer_dat_captions` | Allows using .dat captions instead of the new ones.
| `cc_sentencecaptionnorepeat` | How often a sentence can repeat.
| `cc_sfx_linger_time` | Close caption linger time for items marked as SFX
| `cc_showmissing` | Shows missing closecaption entries.
Expand Down
Binary file modified docs/modding/captions/images/settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 6 additions & 2 deletions docs/modding/captions/porting.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ features:

## Porting captions

The new caption system does not read the old caption files. Instead, it requires a new caption file with a custom structure - `subtitles_*language*.kv3`.
The new caption system introduces the new caption structure, which can be found in `resource/subtitles_*language*.kv3`.

![KV3 caption file](images/kv3_file.png)

Expand All @@ -20,4 +20,8 @@ If the script fails (i.e. syntax error in the original captions), it will show t

![Converter drag-n-drop support](images/converter.png)

Then copy the converted caption file to `resources`. Done!
Then copy the converted caption file to `resources`.

### .dat support

There is a convar that allows switching between the new caption files and the old .dat ones - `cc_prefer_dat_captions`. If set to 1, .dat files will override .kv3 files.
2 changes: 1 addition & 1 deletion site