Engine | |
---|---|
GoldSrc_blob (3248~4554) | √ |
GoldSrc_legacy (4554~6153) | √ |
GoldSrc_new (8684 ~) | √ |
SvEngine (8832 ~) | √ |
GoldSrc_HL25 (>= 9884) | √ |
You can force the engine and VGUI2 to use language settings from Steam or from launch parameters.
Check Launch Parameters
You can:
-
Display subtitles when sound is played
-
Display subtitles when sentence is played
-
Display subtitles when client receives HudText message
-
Display subtitles when client receives SendAudio message
The subtitles are defined in \Sven Co-op\svencoop\captionmod\dictionary.csv
, which can be opened with Microsoft Excel or any other open-sourced CSV editors.
You can translate HUDText message into other language dynamically (regex supported)
There is a example file demostrates how to translate static HUD TextMessage to schinese
, the file is at \Sven Co-op\svencoop_schinese\maps\restriction02_dictionary.csv
.
There is a example file demostrates how to translate dynamic HUD TextMessage to schinese
using regex, the file is at \Sven Co-op\svencoop\captionmod\dictionary_schinese.txt
called #SVENCOOP_PLAYERINFO
.
-
Client's HudText are overhauled with multi-byte character support. (Sven Co-op and Half-Life)
-
VGUI1 TextImage's are overhauled with multi-byte character support.
- You can see multi-byte characters rendered correctly on VGUI1 scoreboard. (Sven Co-op and Half-Life)
- Client's HUDMenu are overhauled with multi-byte character support. (Sven Co-op only)
- You can see multi-byte characters rendered correctly on HudMenu.
Set cvar cap_newchat
to 1 to enable the new VGUI2-based chat dialog.
The default chat text color can be customized in \Sven Co-op\svencoop\captionmod\ChatScheme.res
-> Colors
-> TanLight
All VGUI2 elements will be proportional (scaling up base on your game resolution)
The HiDpi Support is enabled by defalut if your system's dpi scaling > 100% and you are running on a non-HL25th engine
When HiDpi Support is enabled, the following paths will be added to the FileSystem's search paths with "SKIN" tag. VGUI2 control settings will be loaded from those sources.
(GameDirectory)\(ModDirectory)_dpi(DpiScalingPercentage)
e.g. \Sven Co-op\svencoop_dpi150
or \Half-Life\valve_dpi200
(GameDirectory)\(ModDirectory)_hidpi
e.g. \Sven Co-op\svencoop_hidpi
or \Half-Life\valve_hidpi
cap_hudmessage
: To enable or disable CaptionMod's HUD TextMessage translation.
cap_netmessage
: To enable or disable CaptionMod's __NETMESSAGE__
HUD TextMessage translation.
cap_max_distance
: Ignore sound or sentences (which are supposed to play subtitles) whose speaker is too far away from this distance.
cap_min_avol
: Ignore sound or sentences (which are supposed to play subtitles) which plays with volume smaller than this value.
cap_debug
: To output debug message of the Subtitle System and HudMessage Translation System. You can set cap_debug
to 1 to check wether an dictionary entry is found or not in the Subtitle System.
cap_newchat
: To enable or disable Source2007 style VGUI2 chat dialog.
cap_lang
: Indicate current game lanuage. Any changes to this cvar acutally do nothing. Provide the capability of getting client's current game language by sending network message "svc_sendcvarvalue" or "svc_sendcvarvalue2" or reading userinfo "cap_lang" from server.
cap_enabled
: Set to 1 to display subtitles (if available).
cap_subtitle_prefix
: Set to 1 to display speaker's name before subtitle lines.
cap_subtitle_waitplay
: Set to 1 to wait for all previous lines from being displayed before playing next line.
cap_subtitle_antispam
: Set to 1 to prevent the subtitle from spamming.
cap_subtitle_fadein
: Fade-in duration for new subtitle lines.
cap_subtitle_fadeout
: Fade-out duration for retired subtitle lines.
cap_subtitle_holdtime
: Default hold duration for subtitle lines.
cap_subtitle_stimescale
: Scaling factor for "StartTime".
cap_subtitle_htimescale
: Scaling factor for "HoldTime".
-steamlang
: use Steam language as engine and vgui2 language, ignore game language setting in Steam's game config panel. for Sven Co-op, it always uses Steam language as engine and vgui2 language no matter if -steamlang is added or not.
-forcelang [language]
: force engine and vgui2 to use [language] as engine and vgui2 language, ignore game language setting in Steam's game config panel.
-high_dpi
: Enable HiDpi Support
-no_high_dpi
: Disable HiDpi Support