安装 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(越南语)
Українська(乌克兰语)
报告翻译问题










Xavorion is a huge overhaul, its incompatible with most other mods. This isnt something i can fix.
Ok, no problem, since it only affects T51 it doesn't seem serious to me, thanks for answering and reviewing it.
Had a look in to Turretgenerator.lua, I seem to have overlooked a function which does affect the range for mining/salvage turrets. Fixing it would likely cause incompatibilities with other mods though.
I tested it in-game shortly before making my comment and it gave expected values, although I didn't test all the way up to T51, are you using any other mods which touch turrets? It may be better if you DM me here or on the modding discord to help figure out the problem.
weapon.reach = math.floor(225 + ((tech / 50) * 225) + (((rarity.value + 1) / 7) * 350))
Calculating with the example I have:
Tech 51 -> Dual Prospector -> Exotic
225 + ((51 / 50) * 225) + (((6 + 1) / 7) * 350) = 801 -> 8.01Km
In game it shows 26.11Km (The turret has no range affixes added)
Something in the calculation is wrong.
Default reach is 3x higher (225), but it can additionally scale from tech and rarity.
With tech 1, and rarity -1 (grey), the result is 229. Tech 50 would take that up to 450. You seem to be evaluating the formula incorrectly?
If you want to test in Excel, use this:
=FLOOR.MATH(baseReach + ((tech/50)*techBonus) + (((rarity+1) / 6) * rarityBonus))
The reach in-game isn't a real km, so 459 shows as 4.59km. You can test this yourself by hardcoding to a value like 500, it'll show 5km.
There is one issue I forgot to update though: The /6 should be /7 as there are 7 rarities. I've just corrected that.
I have tried the mod, and I have seen that mining and scavenging turrets of between 15 and 21 kilometers are generated, when you indicate that they should be only 3 times more.
When reviewing the script you indicate in comments that the maximum should be 8 kilometers for mining and 16 for Raw.
In the formula (225 + ((tech / 50) * 225) + (((rarity.value + 1) / 6) * 350)) even if it is a level 1 technological and rarity 1 turret the result is 346, by the rule of three that I have done that already exceeds 331.9 which would be the equivalent of 8 kilometers.
I think the correct formula would be (225 + ((tech / 50) * 225) + (((rarity.value + 1) / 6) * 35)) or something similar.
Is it a bug or have you decided to leave it like that?