yzzn2009 发表于 2013-7-9 01:20

pigfriend003 发表于 2013-7-8 18:49 static/image/common/back.gif
《主角跑得更快》这个改了主角速度没有变化啊,是不是17版不能改?
我是用MOD的方法挂载的。 ...

17版可修改,你先在游戏目录\data\scripts中修改tuning.lua文件试试,如果成功了,再做成MOD挂载。也不排除你装的其他MOD中也修改了tuning.lua,导致修改无效

xinzhao123 发表于 2013-7-9 03:27

其实我觉得宜宁这个帖子可以长期置顶...

祗緗簡單妳﹏ 发表于 2013-7-9 21:51

亲,帮帮忙把探测权杖100%给去掉呗,就是可以随机传送那个权杖,谢谢啦

yzzn2009 发表于 2013-7-10 02:15

祗緗簡單妳﹏ 发表于 2013-7-9 21:51 static/image/common/back.gif
亲,帮帮忙把探测权杖100%给去掉呗,就是可以随机传送那个权杖,谢谢啦

    让魔杖无限使用,用记事本打开游戏目录\data\scripts\prefabs\staff.lua文件,将以下内容:
      inst.components.finiteuses:Use(1)
    inst.components.finiteuses:Use(1)
    inst:AddComponent("finiteuses")
    inst.components.finiteuses:SetOnFinished( onfinished )
    inst.components.finiteuses:SetMaxUses(TUNING.FIRESTAFF_USES)
    inst.components.finiteuses:SetUses(TUNING.FIRESTAFF_USES)
    inst.components.finiteuses:SetMaxUses(TUNING.ICESTAFF_USES)
    inst.components.finiteuses:SetUses(TUNING.ICESTAFF_USES)
    inst.components.finiteuses:SetMaxUses(TUNING.TELESTAFF_USES)
    inst.components.finiteuses:SetUses(TUNING.TELESTAFF_USES)
    修改为:
      --inst.components.finiteuses:Use(1)
    --inst.components.finiteuses:Use(1)
    --inst:AddComponent("finiteuses")
    --inst.components.finiteuses:SetOnFinished( onfinished )
    --inst.components.finiteuses:SetMaxUses(TUNING.FIRESTAFF_USES)
    --inst.components.finiteuses:SetUses(TUNING.FIRESTAFF_USES)
    --inst.components.finiteuses:SetMaxUses(TUNING.ICESTAFF_USES)
    --inst.components.finiteuses:SetUses(TUNING.ICESTAFF_USES)
    --inst.components.finiteuses:SetMaxUses(TUNING.TELESTAFF_USES)
    --inst.components.finiteuses:SetUses(TUNING.TELESTAFF_USES)
    即可让魔杖无限使用,实测要无限使用必须全部修改,不能单独修改探测魔杖

祗緗簡單妳﹏ 发表于 2013-7-10 09:25

yzzn2009 发表于 2013-7-10 02:15 static/image/common/back.gif
让魔杖无限使用,用记事本打开游戏目录\data\scripts\prefabs\staff.lua文件,将以下内容:
         ...

OK,修改成功了

ET 发表于 2013-7-10 13:17

尼玛,我照着改了,改完之后发现不想玩了

云彩贩子 发表于 2013-7-10 14:21

楼主,我想把石头火坑改成不熄灭的,请问怎么改?

yzzn2009 发表于 2013-7-10 16:30

云彩贩子 发表于 2013-7-10 14:21 static/image/common/back.gif
楼主,我想把石头火坑改成不熄灭的,请问怎么改?

我为你做了更新

二十一.石头营火永不灭(保留最小长明火)

    用记事本打开游戏目录\data\scripts\prefabs\firepit.lua文件,将if section == 0 then修改为if section < 0 then即可

alex0610 发表于 2013-7-10 18:31


感谢指导

云彩贩子 发表于 2013-7-10 19:20

yzzn2009 发表于 2013-7-10 16:30 static/image/common/back.gif
我为你做了更新

二十一.石头营火永不灭(保留最小长明火)


谢谢楼主~

幻·曦 发表于 2013-7-10 21:21

很好,感谢,就是回复人好少啊……

bbdd2200 发表于 2013-7-11 02:12

樓主大大太厲害了~佛心來的!!這樣比用mod還安全多了

起个bb名 发表于 2013-7-11 10:28

绝对有用的帖子!!

耀眼の晴空 发表于 2013-7-11 13:19

能让重新种植的浆果不再需要施肥吗?

a50689328 发表于 2013-7-11 23:02

弱弱问句17版护符耐久和紫法杖耐久有办法像无限工具那样么?
试了几个方法不是报错就是无效,最好的结果就是消耗变成1%

yzzn2009 发表于 2013-7-12 00:03

a50689328 发表于 2013-7-11 23:02 static/image/common/back.gif
弱弱问句17版护符耐久和紫法杖耐久有办法像无限工具那样么?
试了几个方法不是报错就是无效,最好的结果就 ...

    让魔杖无限使用,用记事本打开游戏目录\data\scripts\prefabs\staff.lua文件,将以下内容:
      inst.components.finiteuses:Use(1)
    inst.components.finiteuses:Use(1)
    inst:AddComponent("finiteuses")
    inst.components.finiteuses:SetOnFinished( onfinished )
    inst.components.finiteuses:SetMaxUses(TUNING.FIRESTAFF_USES)
    inst.components.finiteuses:SetUses(TUNING.FIRESTAFF_USES)
    inst.components.finiteuses:SetMaxUses(TUNING.ICESTAFF_USES)
    inst.components.finiteuses:SetUses(TUNING.ICESTAFF_USES)
    inst.components.finiteuses:SetMaxUses(TUNING.TELESTAFF_USES)
    inst.components.finiteuses:SetUses(TUNING.TELESTAFF_USES)
    修改为:
      --inst.components.finiteuses:Use(1)
    --inst.components.finiteuses:Use(1)
    --inst:AddComponent("finiteuses")
    --inst.components.finiteuses:SetOnFinished( onfinished )
    --inst.components.finiteuses:SetMaxUses(TUNING.FIRESTAFF_USES)
    --inst.components.finiteuses:SetUses(TUNING.FIRESTAFF_USES)
    --inst.components.finiteuses:SetMaxUses(TUNING.ICESTAFF_USES)
    --inst.components.finiteuses:SetUses(TUNING.ICESTAFF_USES)
    --inst.components.finiteuses:SetMaxUses(TUNING.TELESTAFF_USES)
    --inst.components.finiteuses:SetUses(TUNING.TELESTAFF_USES)
    即可让魔杖无限使用



    让护身符无限使用:用记事本打开游戏目录\data\scripts\prefabs\amulet.lua文件,将下列内容(共14句):

      inst.components.finiteuses:Use(1)

      inst:AddComponent("finiteuses")
      inst.components.finiteuses:SetOnFinished( onfinished )
      inst.components.finiteuses:SetMaxUses(TUNING.REDAMULET_USES)
      inst.components.finiteuses:SetUses(TUNING.REDAMULET_USES)

            inst.components.fueled:DoDelta(-(inst.components.fueled.maxfuel * 0.03))

      inst:AddComponent("fueled")
      inst.components.fueled.fueltype = "MAGIC"
      inst.components.fueled:InitializeFuelLevel(TUNING.BLUEAMULET_FUEL)
      inst.components.fueled:SetDepletedFn(onfinished)

      inst:AddComponent("fueled")
      inst.components.fueled.fueltype = "MAGIC"
      inst.components.fueled:InitializeFuelLevel(TUNING.PURPLEAMULET_FUEL)
      inst.components.fueled:SetDepletedFn(onfinished)
修改为:
      --inst.components.finiteuses:Use(1)

      --inst:AddComponent("finiteuses")
      --inst.components.finiteuses:SetOnFinished( onfinished )
      --inst.components.finiteuses:SetMaxUses(TUNING.REDAMULET_USES)
      --inst.components.finiteuses:SetUses(TUNING.REDAMULET_USES)

            --inst.components.fueled:DoDelta(-(inst.components.fueled.maxfuel * 0.03))

      --inst:AddComponent("fueled")
      --inst.components.fueled.fueltype = "MAGIC"
      --inst.components.fueled:InitializeFuelLevel(TUNING.BLUEAMULET_FUEL)
      --inst.components.fueled:SetDepletedFn(onfinished)

      --inst:AddComponent("fueled")
      --inst.components.fueled.fueltype = "MAGIC"
      --inst.components.fueled:InitializeFuelLevel(TUNING.PURPLEAMULET_FUEL)
      --inst.components.fueled:SetDepletedFn(onfinished)
就是在这14句前都加上--即可让护身符无限使用

yzzn2009 发表于 2013-7-12 01:04

耀眼の晴空 发表于 2013-7-11 13:19 static/image/common/back.gif
能让重新种植的浆果不再需要施肥吗?

    种浆果不用施肥,用记事本打开游戏目录\data\scripts\prefabs\berrybush.lua文件,将以下内容:

        inst.components.pickable:MakeBarren()
                inst.components.pickable.makebarrenfn = makebarrenfn
                inst.components.pickable.makefullfn = makefullfn
                  inst.components.pickable.ontransplantfn = ontransplantfn
                  inst.components.pickable.max_cycles = TUNING.BERRYBUSH_CYCLES + math.random(2)
                  inst.components.pickable.cycles_left = inst.components.pickable.max_cycles
    修改为:
        inst.components.pickable:MakeEmpty()
                --inst.components.pickable.makebarrenfn = makebarrenfn
                --inst.components.pickable.makefullfn = makefullfn
                  --inst.components.pickable.ontransplantfn = ontransplantfn
                  --inst.components.pickable.max_cycles = TUNING.BERRYBUSH_CYCLES + math.random(2)
                  --inst.components.pickable.cycles_left = inst.components.pickable.max_cycles
    即可种浆果不用施肥

qq1216861625 发表于 2013-7-12 03:17

我去 真凶残

祗緗簡單妳﹏ 发表于 2013-7-12 09:16

麻烦告诉下老奶奶的魔法书是哪个文件?

lioushideai 发表于 2013-7-12 17:06

yzzn2009 发表于 2013-5-27 19:42 static/image/common/back.gif
研究了一会儿,有一个折中的办法比较简单:用记事本打开游戏目录\dont_starve\data\scripts\components\a ...

为什么我是百分之0

abc1074 发表于 2013-7-13 22:01

能做个更换主角的嘛

炎之幻想 发表于 2013-7-14 00:29

业界良心啊~这回终于不用被冻死了……

abc1074 发表于 2013-7-14 11:14

yzzn2009 发表于 2013-7-12 01:04 static/image/common/back.gif
种浆果不用施肥,用记事本打开游戏目录\data\scripts\prefabs\berrybush.lua文件,将以下内容:

        in ...

火鸡过去偷吃浆果时有错误

huandonqin 发表于 2013-7-14 16:30

感谢分享

℡雪花丶那个飘 发表于 2013-7-15 14:47

求南瓜灯不灭掉的修改方法{:3_104:}

℡雪花丶那个飘 发表于 2013-7-15 16:25

本帖最后由 ℡雪花丶那个飘 于 2013-7-15 16:37 编辑

谢谢楼主了呵,花时间弄了这么多!

yzzn2009 发表于 2013-7-16 12:31

abc1074 发表于 2013-7-14 11:14 static/image/common/back.gif
火鸡过去偷吃浆果时有错误

    谢谢指出,修正一下。种浆果不用施肥,用记事本打开游戏目录\data\scripts\prefabs\berrybush.lua文件,将以下内容:

      inst.components.pickable:MakeBarren()
                inst.components.pickable.makebarrenfn = makebarrenfn
                inst.components.pickable.makefullfn = makefullfn
                  inst.components.pickable.ontransplantfn = ontransplantfn
    修改为:
      inst.components.pickable:MakeEmpty()
                --inst.components.pickable.makebarrenfn = makebarrenfn
                --inst.components.pickable.makefullfn = makefullfn
                  --inst.components.pickable.ontransplantfn = ontransplantfn
    即可种浆果不用施肥

yzzn2009 发表于 2013-7-16 12:40

祗緗簡單妳﹏ 发表于 2013-7-12 09:16 static/image/common/back.gif
麻烦告诉下老奶奶的魔法书是哪个文件?

制作魔法书是在老奶奶的人物文件中加入了一段制作配方,位置在游戏目录\data\scripts\prefabs\wickerbottom.lua文件内的下列内容:


        local booktab = {str = STRINGS.TABS.BOOKS, sort=999, icon = "tab_book.tex"}
        inst.components.builder:AddRecipeTab(booktab)

        Recipe("book_birds", {Ingredient("papyrus", 2), Ingredient("bird_egg", 2)}, booktab, 0)
        Recipe("book_gardening", {Ingredient("papyrus", 2), Ingredient("seeds", 1), Ingredient("poop", 1)}, booktab, 1)
        Recipe("book_sleep", {Ingredient("papyrus", 2), Ingredient("nightmarefuel", 2)}, booktab, 2)
        Recipe("book_brimstone", {Ingredient("papyrus", 2), Ingredient("redgem", 1)}, booktab, 3)
        Recipe("book_tentacles", {Ingredient("papyrus", 2), Ingredient("tentaclespots", 1)}, booktab, 4),

修改魔法书的功能在游戏目录\data\scripts\prefabs\books.lua文件中修改

jy78600 发表于 2013-7-16 13:09

这个确实比MOD灵活很多啊,也可以解决MOD冲突,顶了

℡雪花丶那个飘 发表于 2013-7-16 13:19

麻烦楼主找一下南瓜灯不灭掉的修改方法,谢谢了!{:3_110:}
页: 1 2 3 4 5 [6] 7 8 9 10 11 12 13 14 15
查看完整版本: 易宁:饥荒游戏实用修改技巧(非MOD模式,请自行备份)支持海难版——6月6日更新:简化修船工具制作材料(只用木板和绳子)