m910234 发表于 2014-3-29 15:49

關於「地下輸送帶與地下管道」正確修改距離方法

本帖最后由 m910234 于 2014-3-29 16:04 编辑

地下管道
請用記事本打開遊戲目錄底下 \data\base\prototypes\entity\demo-entities.lua 檔案
搜尋 max_underground_distance 字串
將後面的數值10,改成你要的數值
(注意!最大值只可到255,數值超過255,遊戲會崩潰!)




地下輸送帶
請用記事本打開遊戲目錄底下 \data\base\prototypes\entity\entities.lua 檔案
一般地下輸送帶
請搜尋 max_distance
將後面的數值5,改成你要的數值
(注意!最大值只可到255,數值超過255,輸送距離會失效!)


高速地下傳送帶
請搜尋 fast-transport-belt-to-ground
    type = "transport-belt-to-ground",
    name = "fast-transport-belt-to-ground",
    icon = "__base__/graphics/icons/fast-transport-belt-to-ground.png",
    flags = {"placeable-neutral", "player-creation", "fast-replaceable-no-build-while-moving"},
    minable = {hardness = 0.2, mining_time = 0.5, result = "fast-transport-belt-to-ground"},
    max_health = 60,
    corpse = "small-remnants",
    underground_sprite =原始文件裡少了行字串
請添加字串 max_distance = 255, 至以下位置
    type = "transport-belt-to-ground",
    name = "fast-transport-belt-to-ground",
    icon = "__base__/graphics/icons/fast-transport-belt-to-ground.png",
    flags = {"placeable-neutral", "player-creation", "fast-replaceable-no-build-while-moving"},
    minable = {hardness = 0.2, mining_time = 0.5, result = "fast-transport-belt-to-ground"},
    max_health = 60,
    corpse = "small-remnants",
    max_distance = 255,
    underground_sprite =

超高速地下輸送帶
請搜尋 express-transport-belt-to-ground
方法同上面一樣,自行添加字串 max_distance = 255,


附上修改好的檔案,請將檔案放到遊戲目錄底下 \data\base\prototypes\entity\ 裡面

diyu09 发表于 2014-3-29 15:59

给力 ! 赞一个!!

yangjialin88 发表于 2014-3-30 06:13

好东西 哈哈 可以做成MOD就更好了
页: [1]
查看完整版本: 關於「地下輸送帶與地下管道」正確修改距離方法