Playerlocale (Slash Command): Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Slash command==
 
{{SlashCommandArticle|command=playerlocale|options=number|note=Changes the locale of a player.}}
{{bindcommand|playerlocale|number}}
:Changes the locale of a player.
 
<span style="color:red">NON-FUNCTIONAL</span>
 
* '''Number''' is the desired Locale Id


{| class=wikitable style="border-style: solid black; border-width: 2px;border-color: black"
{| class=wikitable style="border-style: solid black; border-width: 2px;border-color: black"
|-
|-
|<span style="color:red">Working, but there is much about this command which is still unknown.</span>  
|<span style="color:red">Active, but only the English locale works.</span>  
|}
|}




'''Table of Locales:'''
'''Table of Locale IDs:'''
*English "en"
: 0 - English "en"
*Test "test"
: 1 - Test "test"
*ChineseTraditional "zh"
: 2 - ChineseTraditional "zh"
*Korean "ko"
: 3 - Korean "ko"
*Japanese "ja"
: 4 - Japanese "ja"
*German "de"
: 5 - German "de"
*French "fr"
: 6 - French "fr"
*Spanish "es"
: 7 - Spanish "es"
 


'''Notes:'''
'''Notes:'''
The locale sets the language and other locale defaults.
The locale sets the language and other locale defaults.


The default locale of the game is English, and Index 0 is used as the default locale. {{slashcommand|playerlocale}} takes an integer as an argument, and locales have been indexed and assigned a number. I have not yet been able to find the indexed list, however, and am also not certain that the indexed list of integers is not randomized (randomization would made this command mostly useless).  
The default locale of the game is English, and Index 0 is used as the default locale. {{slashcommand|playerlocale}} takes an integer as an argument, and locales have been indexed and assigned a number.  


The command will accept 0 as an argument. However, it appears any argument other than 0 returns "Invalid locale".  
The command will accept 0 as an argument. However, it appears any argument other than 0 returns "Invalid locale".  


It's possible that the devs have disabled any locale other than English in order to reduce needed resources and support. Mere conjecture, however.
It's possible that the devs have disabled any locale other than English in order to reduce needed resources and support. Mere conjecture, however.
==Example==
/playerlocale 0

Latest revision as of 21:43, 28 December 2022

playerlocale number

Changes the locale of a player.

NON-FUNCTIONAL

  • Number is the desired Locale Id
Active, but only the English locale works.


Table of Locale IDs:

0 - English "en"
1 - Test "test"
2 - ChineseTraditional "zh"
3 - Korean "ko"
4 - Japanese "ja"
5 - German "de"
6 - French "fr"
7 - Spanish "es"


Notes: The locale sets the language and other locale defaults.

The default locale of the game is English, and Index 0 is used as the default locale. /playerlocale takes an integer as an argument, and locales have been indexed and assigned a number.

The command will accept 0 as an argument. However, it appears any argument other than 0 returns "Invalid locale".

It's possible that the devs have disabled any locale other than English in order to reduce needed resources and support. Mere conjecture, however.


Example

/playerlocale 0