饥荒 全人物解锁及主角自动回血等实用修改教程

《饥荒》这款生存游戏,很多玩家都想觉得游戏有些难,就想修改一些内容,比如解锁全人物,主角自动回血,主角不会饿之类的,下面小编为大家奉上最全的修改教程,内容简单易懂,希望各位玩家喜欢。目录

饥荒 全人物解锁及主角自动回血等实用修改教程

三二零.猪守卫不主动攻击主角

  用记事本打开游戏目录\data\DLC0001\scripts\prefabs\pigman.lua文件,

  1.将return guy:HasTag("character") and not guy:HasTag("guard")替换为return guy:HasTag("character") and not guy:HasTag("guard") and not guy:HasTag("player")

  2.删除下列内容:

  if not GetClock():IsDay() and home and home.components.burnable and home.components.burnable:IsBurning() then

  local lightThief = FindEntity(home, home.components.burnable:GetLargestLightRadius(), function(guy)

  return guy:HasTag("player")

  and guy.LightWatcher:IsInLight()

  and not (defenseTarget.components.trader and defenseTarget.components.trader:IsTryingToTradeWithMe(guy) )

  and not (inst.components.trader and inst.components.trader:IsTryingToTradeWithMe(guy) )

  end)

  if lightThief then

  return lightThief

  end

  end

  即可让猪守卫不主动攻击主角

相关内容请关注:饥荒专区

作者:易宁     责任编辑:Shy夏夏

本文是否解决了您的问题

APP精彩推荐打开游民APP查看更多

  • 《生化9》玩家发现里昂手机号 打过去结果不出意外
    《生化9》玩家发现里昂手机号 打过去结果不出意外

  • "抖音第一蒂法"被质疑靠化妆!素颜再亮相后网友闭嘴

  • 亲母女嫁给亲父子引关注 网友:有孩子了怎么喊?
    亲母女嫁给亲父子引关注 网友:有孩子了怎么喊?

攻略合集
人物图鉴

相关内容

在线玩推荐更多

游民星空

打开App阅读体验更佳,攻略、资讯实时更新

下载APP