安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题








public bool playerSideLeft = true;
........WorldMirror.cs // updates the boolean value for which side the player was on.
worldManageSystem.CurrentWorldIndex = index;
if (x <= 60)
{
........worldManageSystem.playerSideLeft = true;
........worldManageSystem.NextWorldIndex = index - 1;
........worldManageSystem.ChangeWorld();
}
else if ((Main.ActiveWorldFileData.WorldSizeX - x) <= 60)
{
........worldManageSystem.playerSideLeft = false;
........worldManageSystem.NextWorldIndex = index + 1;
........worldManageSystem.ChangeWorld();
}
........MultiWorld.cs // checks the side the player was on in oder to set position instead of comparing NextWorldIndex to 0 and or CurrentWorldIndex.
if (System.playerSideLeft == true)
{
........player.position.X = (float)((Main.maxTilesX - 50) * 16 + 8 - player.width / 2);
........while (!CanSpawn(Main.maxTilesX - 50, i)) { i++; }
........player.position.Y = (float)(i * 16 - player.height);
}
else
{
........player.position.X = (float)(50 * 16 + 8 - player.width / 2);
........while (!CanSpawn(50, i)) { i++; }
........player.position.Y = (float)(i * 16 - player.height);
}
if (Radius > 0)
{
........int rem = Radius;
........int pos1 = 0;
........int pos2 = 0;
........while (rem > 0)
........{
................pos1++;
................rem--;
................if (rem > 0)
................{
........................pos2--;
........................rem--;
................}
........}
........if (NextWorldIndex > pos1)
........{
................NextWorldIndex = pos2;
........}
........else if (NextWorldIndex < pos2)
........{
................NextWorldIndex = pos1;
........}
}
but i will add it like this
Use "number of maps" it better.
because 0 is center and 1 side radius for circle is weird
it is system for control all mod world generate and can config in world create menu.
can config world generate group. default group is global.
this system will random mod before generate world for enable generate only that mod and mod in the group it belongs to and mod in global group.
it update after next update because next update is UI update.
i will review and merge if it ok.