Scrap Mechanic 廢品機(jī)械師 0.4.0 全服裝解鎖
解壓unlock文件至C:\Users\<用戶名>\AppData\Roaming\Axolot Games\Scrap Mechanic\User\User_<數(shù)字id>\即可
鏈接: https://pan.baidu.com/s/1HwIBXELTQy3iVsX2bY9rvg
提取碼: 3ecb
解壓密碼:?lunisolar

如果只是使用該存檔可以忽略以下內(nèi)容
關(guān)于解鎖過(guò)程的細(xì)節(jié):
游戲使用lua來(lái)控制部分代碼,使用json來(lái)保存數(shù)據(jù)
解鎖服飾使用的函數(shù)為
Scrap Mechanic\Survival\Scripts\game\interactables\Wardrobe.lua
function Wardrobe.sv_n_unbox( self, params, player )
但是我并沒(méi)有找到從其他lua引用,所以放棄了直接調(diào)用
所以我首先開(kāi)啟了控制臺(tái)
Scrap Mechanic\Survival\Scripts\game\SurvivalGame.lua
function SurvivalGame.client_onCreate( self )
修改 "if g_survivalDev then" 為 "if true then"
然后就可以用下面的命令了,我主要用來(lái)生成部件,然后再修改各個(gè)配方將消耗的物品統(tǒng)一修改成消耗部件
"ingredientList": [
{
"quantity": 1,
"itemId": "5530e6a0-4748-4926-b134-50ca9ecb9dcf"
}
]
修改的配方為
修理廠各種bot的配方 Scrap Mechanic\Survival\CraftingRecipes\dispenser.json
開(kāi)包所用棉花修改成部件 Scrap Mechanic\Survival\CraftingRecipes\dressbot.json
添加三種服裝包到craftbot的配方中?Scrap Mechanic\Survival\CraftingRecipes\craftbot.json
{
"itemId": "63695efd-0862-49f2-ace6-4d1758147fae",
"reward": { "tier": "Common" },
"quantity": 1,
"craftTime": 1,
"ingredientList": [
{
"quantity": 1,
"itemId": "5530e6a0-4748-4926-b134-50ca9ecb9dcf"
}
]
},
{
"itemId": "27a221b1-9809-4df1-901a-caafe119c9b6",
"reward": { "tier": "Rare" },
"quantity": 1,
"craftTime": 1,
"ingredientList": [
{
"quantity": 1,
"itemId": "5530e6a0-4748-4926-b134-50ca9ecb9dcf"
}
]
},
{
"itemId": "7ab0cac7-b055-4283-b0bc-f85dd4d0416b",
"reward": { "tier": "Epic" },
"quantity": 1,
"craftTime": 1,
"ingredientList": [
{
"quantity": 1,
"itemId": "5530e6a0-4748-4926-b134-50ca9ecb9dcf"
}
]
}
然后進(jìn)游戲直奔修理廠,用控制臺(tái)生成部件,制造craftbot和dressbot,然后在craftbot中生產(chǎn)3種服裝包各一個(gè),然后在dressbot消耗部件打開(kāi)服裝包直到不能再解鎖為止