[CS:S] WCS language & bot's race problem

All other Source.Python topics and issues.
Osker Lee
Junior Member
Posts: 6
Joined: Thu Jan 24, 2019 8:34 am

[CS:S] WCS language & bot's race problem

Postby Osker Lee » Thu Jan 24, 2019 9:02 am

My WCS version:
Warcraft Source 0.78 for Counterstrike Source & Global Offensive
http://warcraft-source.com/board/index. ... ic=17185.0

1. How to change the WCS Language? Is there a command can change the Language to ru,de or fr...?
By the way,I try to modify the trings.ini (addons\source-python\plugins\wcs\strings),but why it is invalid?

2. Why the Bots can't change their races? They only choose the Undead Scourge,not random races.How to fix it?
User avatar
Ayuto
Project Leader
Posts: 2013
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Re: [CS:S] WCS language & bot's race problem

Postby Ayuto » Thu Jan 24, 2019 4:48 pm

I'm not a fan of spreading the same question over multiple forums. So, let's keep it in a single one:
1. http://warcraft-source.com/board/index. ... .msg121881
2. http://warcraft-source.com/board/index. ... .msg121859

Osker Lee wrote:By the way,I try to modify the trings.ini (addons\source-python\plugins\wcs\strings),but why it is invalid?

We can't really help if we don't see your modifications.

Edit:
Found a another post of you... Please stop that.
https://forums.alliedmods.net/showthread.php?t=313432
User avatar
L'In20Cible
Project Leader
Posts: 1151
Joined: Sat Jul 14, 2012 9:29 pm
Location: Québec

Re: [CS:S] WCS language & bot's race problem

Postby L'In20Cible » Thu Jan 24, 2019 5:31 pm

Manifest wrote:The way the string system works is that:
- If the language your steam is using is set to Deutsch you'll see the messages in Deutsch.
- If the language your steam is using is set to English you'll see the messages in English.
- If the language your steam is using is set to Russian you'll see the messages in Russian.

and so forth, you yourself can't change the language just by editing the strings, if you want the language changed to one specific language then you'll have to replace all the strings with only that specific language e.g. removing what is on the English string and replace it with the sentence in Russian.

It is noteworthy that a lot of races do not even use strings, and in those you'll have to change the tell commands such as es_tell, es_centertell etc.


That is not entirely correct. You can change the default language specific to each files using the DEFAULT_LANGUAGE option:

Syntax: Select all

DEFAULT_LANGUAGE=ru

[some_string]
ru=some string in russian
en=some string in english
fr=etc


If the default language is not available for all strings, it will fails to load.

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 5 guests