饑荒這款遊戲很是火爆,他獨特的畫麵風格和遊戲模式吸引了一大批玩家。下麵是《饑荒》萌狗箱加大的方法,希望對大家有所幫助。
如圖
修改方法
打開文件夾data\scripts\prefabs\chester.lua
搜索
for y = 2, 0, -1 do
for x = 0, 2 do
table (slotpos, Vector3(80*x-80*2+80,80*y-80*2+80,0))
改成
for y = 4, 0, -1 do
for x = 0, 4 do
table.(slotpos, Vector3(71*x-80*2-518, 70*y-80*2+60,0))
table.(slotpos, Vector3(71*x-80*2-140, 70*y-80*2+60,0))
table.(slotpos, Vector3(71*x-80*2+235, 70*y-80*2+60,0))
保存就OK了
小優化,此畫麵HUD=9
改為
for y = 3, 0, -1 do
for x = 0, 4 do
table.(slotpos, Vector3(71*x-80*2-518, 70*y-80*2+0,0))
table.(slotpos, Vector3(71*x-80*2-140, 70*y-80*2+0,0))
table.(slotpos, Vector3(71*x-80*2+235, 70*y-80*2+0,0))
table.(slotpos, Vector3(68*x-80*2+603, 70*y-80*2+0,0))