星界邊境 簡單MOD漢化教程 怎麽漢化MOD
星界邊境 簡單MOD漢化教程 怎麽漢化MOD
這裡以Vending Machines V1.09(自動售貨機)這個mod為例
首先原始是這樣的
比如我想漢化VendingMachine(Techmods)
先找到這個項目的檔案所在路徑,比如VendingMachines\objects\generic\VendingMachineTechmods\VendingMachineTechmods.object
打開是這樣的,紅字部分是上圖中的物品名稱和描述部分
{
"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"
}
]
}
starbound中文使用的是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",
保存好後漢化就成功了,進遊戲效果如下
點擊進入3DMGAME《星界邊境》遊戲論壇專區