yzzn2009 发表于 2013-10-11 02:02

994274298 发表于 2013-10-10 21:52 static/image/common/back.gif
更新22版后就是DLC(本人不太了解 是升级补丁类的东西吗(⊙_⊙)? )想问以后就只是DLC                  ...

官方说的是这样,22版是最终版,以后更新是以DLC形式,估计这也是为什么21版取消刷地洞的原因,想在DLC里加新地图吧

yzzn2009 发表于 2013-10-11 02:06

肖痞子 发表于 2013-10-10 20:56 static/image/common/back.gif
大神,想搬家不容易啊,那您能不能有空的时候帮我看下啊

我和lvyan2005一起做过一个便携式家具的mod,你可以看看是不是你想要的http://bbs.3dmgame.com/thread-3959447-1-1.html

SPNT 发表于 2013-10-11 12:52

yzzn2009 发表于 2013-10-11 01:53 static/image/common/back.gif
增加装备栏必须画图,光修改不够,而且已经有不少增加装备栏的mod了

mod和加大格子不能通用啊。。。

yzzn2009 发表于 2013-10-11 12:59

SPNT 发表于 2013-10-11 12:52 static/image/common/back.gif
mod和加大格子不能通用啊。。。

在不画图的情况下,只能用下面的方法

一二四.护身符装备在帽子格(省出身体格穿盔甲或带背包)

    用记事本打开游戏目录\data\scripts\prefabs\amulet.lua文件,将inst.components.equippable.equipslot = EQUIPSLOTS.BODY替换为inst.components.equippable.equipslot = EQUIPSLOTS.HEAD

    即可在佩戴护身符的同时,穿盔甲或带背包


打死、烤肉酱 发表于 2013-10-11 17:46

有没有洞穴可填充就是把石头移到洞穴·的地方时显示给予,给予后也可让洞穴消失,还有远古石种洞穴上面的石头(前提是石头打开后是洞穴,如果不是就直接种洞穴吧)还有上回的兔人吃便便我给忘了再发一遍吧:P

文萱草 发表于 2013-10-11 17:50

这个不错啦,我也自己动手改改好了,,不会是SF吧

yzzn2009 发表于 2013-10-11 19:38

打死、烤肉酱 发表于 2013-10-11 17:46 static/image/common/back.gif
有没有洞穴可填充就是把石头移到洞穴·的地方时显示给予,给予后也可让洞穴消失,还有远古石种洞穴上面的石 ...

石头不能与洞口做交换,只能用铲子挖掉洞口。因为洞口与建地图有关,我不确定是否安全,用之前一定要备份存档和原文件



一.用铲子挖掉洞穴入口

    用记事本打开游戏目录\data\scripts\prefabs\cave_entrance.lua文件,将inst:RemoveComponent("workable")替换为以下内容:

local function dig_up(inst, chopper)
      inst:Remove()
end

                inst:AddComponent("workable")
            inst.components.workable:SetWorkAction(ACTIONS.DIG)
            inst.components.workable:SetOnFinishCallback(dig_up)
            inst.components.workable:SetWorkLeft(1)




二.用燧石种洞穴入口

    用记事本打开游戏目录\data\scripts\prefabs\flint.lua文件,在inst:AddComponent("inspectable")的下一行插入以下内容:

local function OnDeploy (inst, pt)
    local cave_entrance = SpawnPrefab("cave_entrance")
    if cave_entrance then
      cave_entrance:PushEvent("growfromgoldnugget")
                cave_entrance.Transform:SetPosition(pt.x, pt.y, pt.z)
      inst.components.stackable:Get():Remove()
    end
end

    inst:AddComponent("deployable")
    inst.components.deployable.ondeploy = OnDeploy




三.兔人吃便便(猪人也会吃,但吃了会再拉一坨)

    用记事本打开游戏目录\data\scripts\prefabs\poop.lua文件,在inst:AddComponent("inspectable")的下一行插入以下内容:

                inst:AddComponent("edible")
                inst.components.edible.foodtype = "VEGGIE"

רҵ 发表于 2013-10-11 20:18

大大,可不可以把老太太的触手书改成3屏冰冻?

gdqyouge 发表于 2013-10-11 22:58

终于找到神贴啊!!

渊小乖 发表于 2013-10-11 23:16

无聊来顶下

thm154188 发表于 2013-10-11 23:30

樓主~`我在洞穴1起了個傳送陣安上了3個紫石~~做了個傳送棍子~~

在洞穴2 用棍子一傳送 遊戲就卡住了~不會彈GAME~就是卡住在人物舉高棍子的那個畫面那~這是什麼BUG??

yzzn2009 发表于 2013-10-12 01:32

רҵ 发表于 2013-10-11 20:18 static/image/common/back.gif
大大,可不可以把老太太的触手书改成3屏冰冻?
你说的3屏冰冻是指3个屏幕大小的范围都冻住吗?如果是,需要深度改写,不太安全,不如用修改技巧中已有的"蓝色魔杖升级版",将冷冻范围扩大

一七四.蓝色魔杖升级版(一打冻住一大片)

    用记事本打开游戏目录\data\scripts\prefabs\staff.lua文件,将下列内容:

local function onattack_blue(inst, attacker, target)

    if attacker and attacker.components.sanity then
      attacker.components.sanity:DoDelta(-TUNING.SANITY_SUPERTINY)
    end

    if target.components.freezable then
      target.components.freezable:AddColdness(1)
      target.components.freezable:SpawnShatterFX()
    end

    替换为:

local function onattack_blue(inst, attacker, target)

    local range = 15
    local pos = Vector3(target.Transform:GetWorldPosition())
    local ents = TheSim:FindEntities(pos.x,pos.y,pos.z, range)
    for k,v in pairs(ents) do
      if v.components.freezable then
         v.components.freezable:AddColdness(10)
         v.components.freezable:SpawnShatterFX()
      end
    end

    即可让蓝色魔杖冻住一大片敌人,将其中15调整为更大数字,就可以加大冻住敌人的范围

yzzn2009 发表于 2013-10-12 01:38

thm154188 发表于 2013-10-11 23:30 static/image/common/back.gif
樓主~`我在洞穴1起了個傳送陣安上了3個紫石~~做了個傳送棍子~~

在洞穴2 用棍子一傳送 遊戲就卡住了~不會 ...

游戏不允许在地下传送,更不用说跨地层传送了。可以用修改技巧的“在地下也能使用紫色魔杖传送到传送核心”实现地下同层传送

一七一.在地下也能使用紫色魔杖传送到传送核心

    用记事本打开游戏目录\data\scripts\prefabs\staff.lua文件,将下列内容:

    if ground.topology.level_type == "cave" then
      TheCamera:Shake("FULL", 0.3, 0.02, .5, 40)
      ground.components.quaker:MiniQuake(3, 5, 1.5, teleportee)   
      return
    end

    替换为:

    --if ground.topology.level_type == "cave" then
      --TheCamera:Shake("FULL", 0.3, 0.02, .5, 40)
      --ground.components.quaker:MiniQuake(3, 5, 1.5, teleportee)   
      --return
    --end

    即可在地下也能使用紫色魔杖传送到传送核心,但只会传送到地下建的传送核心,而不会传送到地上

thm154188 发表于 2013-10-12 05:07

yzzn2009 发表于 2013-10-12 01:38 static/image/common/back.gif
游戏不允许在地下传送,更不用说跨地层传送了。可以用修改技巧的“在地下也能使用紫色魔杖传送到传送核心 ...

哦原來是遊戲設定啊~~那自己多跑一會吧 也不用多少時間~`

我的人物在地1建了個基地.......30天時就完成了~以後也沒多建過建築物什麼的 也沒在地上亂扔東西~70天左右開始 一跑到我的基地中心就很卡~跑到邊緣地帶就不卡~~也不知道是啥事.......

Godssont 发表于 2013-10-12 07:35

顶阿!!!!!!!!

靚仔 发表于 2013-10-12 11:47

给个recipes。lua

2416202910 发表于 2013-10-12 12:42

九十六.用硝石种麦斯威尔灯(靠近自动点燃、远离自动灭)

    1.用记事本打开游戏目录\data\scripts\prefabs\nitre.lua文件,在inst:AddComponent("inspectable")的下一行插入以下内容:

local function OnDeploy (inst, pt)
    local maxwelllight = SpawnPrefab("maxwelllight")
    if maxwelllight then
      maxwelllight:PushEvent("growfromnitre")
                maxwelllight.Transform:SetPosition(pt.x, pt.y, pt.z)
      inst.components.stackable:Get():Remove()
    end
end

    inst:AddComponent("deployable")
    inst.components.deployable.ondeploy = OnDeploy


    2.用记事本打开游戏目录\data\scripts\prefabs\maxwelllight.lua文件,在的下一行插入以下内容:

local function onhammered(inst, worker)
    SpawnPrefab("collapse_small").Transform:SetPosition(inst.Transform:GetWorldPosition())
    SpawnPrefab("nitre").Transform:SetPosition(inst.Transform:GetWorldPosition())
    inst:Remove()
end

    inst:AddComponent("playerprox")
    inst.components.playerprox:SetDist(17, 27 )
    inst.components.playerprox:SetOnPlayerNear(function() if not inst.components.burnable:IsBurning() then inst.components.burnable:Ignite() end end)
    inst.components.playerprox:SetOnPlayerFar(extinguish)
    inst:AddComponent("workable")
    inst.components.workable:SetWorkAction(ACTIONS.HAMMER)
    inst.components.workable:SetWorkLeft(1)
    inst.components.workable:SetOnFinishCallback(onhammered)

    用硝石种麦斯威尔灯,靠近自动点燃、远离自动灭,不想要时用锤子砸毁即可


那个什么在啊?在哪,加第2个的自己看下啦大神

2416202910 发表于 2013-10-12 12:42

在的下一行插入以下内容

在哪呢,快复我

yzzn2009 发表于 2013-10-12 13:26

2416202910 发表于 2013-10-12 12:42 static/image/common/back.gif
九十六.用硝石种麦斯威尔灯(靠近自动点燃、远离自动灭)

    1.用记事本打开游戏目录\data\scripts\prefa ...感谢提醒,已经更正了


九十六.用硝石种麦斯威尔灯(靠近自动点燃、远离自动灭)

    1.用记事本打开游戏目录\data\scripts\prefabs\nitre.lua文件,在inst:AddComponent("inspectable")的下一行插入以下内容:

local function OnDeploy (inst, pt)
    local maxwelllight = SpawnPrefab("maxwelllight")
    if maxwelllight then
      maxwelllight:PushEvent("growfromnitre")
                maxwelllight.Transform:SetPosition(pt.x, pt.y, pt.z)
      inst.components.stackable:Get():Remove()
    end
end

    inst:AddComponent("deployable")
    inst.components.deployable.ondeploy = OnDeploy


    2.用记事本打开游戏目录\data\scripts\prefabs\maxwelllight.lua文件,在inst:AddComponent("inspectable")的下一行插入以下内容:

local function onhammered(inst, worker)
    SpawnPrefab("collapse_small").Transform:SetPosition(inst.Transform:GetWorldPosition())
    SpawnPrefab("nitre").Transform:SetPosition(inst.Transform:GetWorldPosition())
    inst:Remove()
end

    inst:AddComponent("playerprox")
    inst.components.playerprox:SetDist(17, 27 )
    inst.components.playerprox:SetOnPlayerNear(function() if not inst.components.burnable:IsBurning() then inst.components.burnable:Ignite() end end)
    inst.components.playerprox:SetOnPlayerFar(extinguish)
    inst:AddComponent("workable")
    inst.components.workable:SetWorkAction(ACTIONS.HAMMER)
    inst.components.workable:SetWorkLeft(1)
    inst.components.workable:SetOnFinishCallback(onhammered)

    用硝石种麦斯威尔灯,靠近自动点燃、远离自动灭,不想要时用锤子砸毁即可

yzzn2009 发表于 2013-10-12 13:28

thm154188 发表于 2013-10-12 05:07 static/image/common/back.gif
哦原來是遊戲設定啊~~那自己多跑一會吧 也不用多少時間~`

我的人物在地1建了個基地.......30天時就完 ...

把种植物分散开种,太紧密导致都在一屏里,对内存要求很高

yzzn2009 发表于 2013-10-12 13:29

靚仔 发表于 2013-10-12 11:47 static/image/common/back.gif
给个recipes。lua

这是21版原始文件

2416202910 发表于 2013-10-12 13:33

不用感谢了吧(我好像说的太过火了)。

小涛丶 发表于 2013-10-12 13:51

能不能把用硝石种麦斯威尔灯改成用岩石种

yzzn2009 发表于 2013-10-12 15:05

小涛丶 发表于 2013-10-12 13:51 static/image/common/back.gif
能不能把用硝石种麦斯威尔灯改成用岩石种

用岩石种麦斯威尔灯

    用记事本打开游戏目录\data\scripts\prefabs\inv_rocks.lua文件,在inst:AddComponent("inspectable")的下一行插入以下内容:

local function OnDeploy (inst, pt)
    local maxwelllight = SpawnPrefab("maxwelllight")
    if maxwelllight then
      maxwelllight:PushEvent("growfromnitre")
                maxwelllight.Transform:SetPosition(pt.x, pt.y, pt.z)
      inst.components.stackable:Get():Remove()
    end
end

    inst:AddComponent("deployable")
    inst.components.deployable.ondeploy = OnDeploy

速度火锅 发表于 2013-10-12 15:19

崇拜楼主

ytk01 发表于 2013-10-12 15:28

哥不用修改游戏好多年~改了没乐趣

994274298 发表于 2013-10-12 15:52

DLC....要钱吗:(

994274298 发表于 2013-10-12 15:53

最近饥荒变无聊了啊          楼主有没有好的主意啊:o

1304755606 发表于 2013-10-12 18:16

怎么让自养高脚鸟每秒回血和增加移动速度   

thm154188 发表于 2013-10-12 18:16

yzzn2009 发表于 2013-10-12 13:28 static/image/common/back.gif
把种植物分散开种,太紧密导致都在一屏里,对内存要求很高

我30天時就種好了~~以後就沒種過~~而且種好後幾十天都不卡~就後來突然就卡起來~~

而且...我的PC內存也是非常大的~~玩遊戲我的機器無壓力的~~
页: 54 55 56 57 58 59 60 61 62 63 [64] 65 66 67 68 69 70 71 72 73
查看完整版本: 易宁:饥荒游戏实用修改技巧(非MOD模式,请自行备份)支持海难版——6月6日更新:简化修船工具制作材料(只用木板和绳子)