星界边境中有越来越多的东西需要汉化,我们却要等待汉化组的汉化补丁,今天我来教教大家星界边境怎么汉化,是一个可以自己动手汉化的教程,如果玩家们有兴趣的话,那就跟去一起来看看星界边境简易MOD汉化教程图文解析。
我们是以Vending Machines V1.09(自动售货机)作为一个例子,下面就是没有汉化的mod。
如果我们想要汉化这个东西,首先要找到这个项目的文件所在路径,比如:
VendingMachines\objects\generic\VendingMachineTechmods\VendingMachineTechmc
打开之后就是下面这个样子的,这就是上图中物品名称和描述的部分。
{
"objectName" : "VendingMachineTechmods",
"rarity" : "rare",
"objectType" : "interactable",
"interactAction" : "OpenCraftingInterface",
"interactData" : {
"config" : "/interface/windowconfig/VendingMachineTechmods.config",
"filter" : [ "VendingMachineTechmods" ]
},
"printable" : true,
"description" : "A Vending Machine which allows me to buy Tech Mods with Pixels.",
"shortdescription" : "Vending Machine(TechMods)",
"race" : "generic",
"category" : "crafting",
"price" : "1000",
"apexDescription" : "A Vending Machine which allows me to buy Tech Mods with Pixels.",
"avianDescription" : "A Vending Machine which allows me to buy Tech Mods with Pixels.",
"floranDescription" : "A Vending Machine which allows me to buy Tech Mods with Pixels.",
"glitchDescription" : "A Vending Machine which allows me to buy Tech Mods with Pixels.",
"humanDescription" : "A Vending Machine which allows me to buy Tech Mods with Pixels.",
"hylotlDescription" : "A Vending Machine which allows me to buy Tech Mods with Pixels.",
"inventoryIcon" : "VendingMachineTechmodsicon.png",
"orientations" : [
{
"leftImage" : "VendingMachineTechmodsleft.png:default",
"rightImage" : "VendingMachineTechmodsright.png:default",
"imagePosition" : [-8, 0],
"frames" : 1,
"animationCycle" : 0.5,
"spaceScan" : 0.1,
"anchors" : [ "bottom" ],
"collision" : "platform"
}
]
}
由于星界边境中使用的中文是Unicode编码的,所我们在汉化的时候要进行编码转化,在网上就可以搜到这样的工具。
下面我们就可以把转化好的代码替换下面这个地方,就像下面这个样子。
"printable" : true,
"description" : "\u4e00\u4e2a\u80fd\u591f\u7528\u50cf\u7d20\u8d2d\u4e70\u5404\u79cd\u79d1\u6280\u7684\u81ea\u52a8\u552e\u8d27\u673a.",
"shortdescription" : "\u81ea\u52a8\u552e\u8d27\u673a\uff08\u79d1\u6280\uff09",
"race" : "generic",
"category" : "crafting",
"price" : "1000",
保存之后,这样就是汉化成功了,游戏的效果就是下面的。
如果还想了解更多星界边境相关游戏资讯和攻略,请关注小皮单机游戏。