饥荒手机版状态显示修改 手机版mod移植-爱游戏官方正版下载

木工雕刻机 | 2021-02-06
本文摘要:饥荒数据库查询为您获得饥荒物品代码、物件特性解读、物件的制取和出示方式,慢来一起了解一下吧!网页页面查阅>:饥荒数据库查询 情况说明mod针对饥荒玩家是个极其方便快捷的摸组,今日小编写成跟大伙儿共享资源下手机安卓版饥荒重置情况说明mod的实例教程,期待能对玩家们有一定的帮助。

爱游戏官方正版下载

饥荒数据库查询为您获得饥荒物品代码、物件特性解读、物件的制取和出示方式,慢来一起了解一下吧!网页页面查阅>:饥荒数据库查询 情况说明mod针对饥荒玩家是个极其方便快捷的摸组,今日小编写成跟大伙儿共享资源下手机安卓版饥荒重置情况说明mod的实例教程,期待能对玩家们有一定的帮助。最先玩家要在手机里改装mt管理器2.0,百度搜索寻找下就会有,随后用以mt管理器依照下边实例教程作业者:一.mt管理器合上存储盘/android/obb/com.kleientertainment.doNotStarvePocket/main.19.com.kleientertainment.doNotStarvePocket.obb文件,打开选中zip查阅合上scripts/widgets/badge.lua用XML编写1.寻找self:SetScale(1,1,1)更换为self:SetScale(0.9,0.9,0.9)斥大能够仅有改成0.8或是更为小2.寻找local usedLanguage = TheSim:GetUsedLanguage()if usedLanguage == korean or usedLanguage == simplified_chinese or usedLanguage == traditional_chinese or usedLanguage == japanese thenself.num = self:AddChild(Text(NUMBERFONT, 33))elseself.num = self:AddChild(Text(BODYTEXTFONT, 33))endself.num:SetHAlign(ANCHOR_MIDDLE)self.num:SetPosition(5, 0, 0)self.num:Hide()更换为self.num = self:AddChild(Text(BODYTEXTFONT, 28))self.num:SetHAlign(ANCHOR_MIDDLE)self.num:SetScale(1,.8,1)self.num:SetPosition(0, -40.5, 0)self.num:Show()之上二步是修改文字大小,可换并不改成,还可以依据自身的喜好调节。

3.寻找function Badge:OnGainFocus()Badge._base.OnGainFocus(self)self.num:Show()endfunction Badge:OnLoseFocus()Badge._base.OnLoseFocus(self)self.num:Hide()end更换为--function Badge:OnGainFocus()-- Badge._base.OnGainFocus(self)-- self.num:Show()--end--function Badge:OnLoseFocus()-- Badge._base.OnLoseFocus(self)-- self.num:Hide()--end或必需清除4.最终的return Badge更换为function Badge:SetTemperature(val)self.num:SetString(溫度:..tostring(math.ceil(val/2)))endfunction Badge:SetNaughty(val, max)self.num:SetString(tostring(val)../..tostring(max))endreturn Badge散伙存留,重做选中是。二.合上DLC0001/scripts/components/kramped.lua1.文首放进local naughtyness = 0local limit = 0改好忘记空格符2.寻找self.actions = 0self.threshold = nil更换为self.actions = 0self.threshold = 30naughtyness = self.actions --modlimit = self.threshold --mod一些经典话语后边的--mod意味着数显式mod重进的內容,便捷大家通过自学跟修改3.寻找function Kramped:OnLoad(data)self.actions = data.actions or self.actionsself.threshold = data.threshold or self.thresholdend更换为function Kramped:OnLoad(data)self.actions = data.actions or self.actionsself.threshold = data.threshold or self.thresholdnaughtyness = self.actions --modlimit = self.threshold --modend4.寻找function Kramped:OnUpdate(dt)if self.actions 0 thenself.timetodecay = self.timetodecay - dtif self.timetodecay 0 thenself.timetodecay = TUNING.KRAMPUS_NAUGHTINESS_DECAY_PERIODself.actions = self.actions - 1endendend更换为function Kramped:OnUpdate(dt)if self.actions 0 thenself.timetodecay = self.timetodecay - dtif self.timetodecay 0 thenself.timetodecay = TUNING.KRAMPUS_NAUGHTINESS_DECAY_PERIODself.actions = self.actions - 1naughtyness = self.actions --modself:DoDelta() --modendendend5.寻找function Kramped:OnNaughtyAction(how_naughty)if TUNING.KRAMPUS_INCREASE_RAMP 1 or TUNING.KRAMPUS_THRESHOLD_VARIANCE 1 then return endif self.threshold == 30 thenself.threshold = TUNING.KRAMPUS_THRESHOLD math.random(TUNING.KRAMPUS_THRESHOLD_VARIANCE)endself.actions = self.actions (how_naughty or 1)self.timetodecay = TUNING.KRAMPUS_NAUGHTINESS_DECAY_PERIODif self.actions = self.threshold and self.threshold 0 thenlocal day = GetClock().numcycleslocal num_krampii = 1self.threshold = TUNING.KRAMPUS_THRESHOLD math.random(TUNING.KRAMPUS_THRESHOLD_VARIANCE)self.actions = 0if day TUNING.KRAMPUS_INCREASE_LVL1 thennum_krampii = num_krampii math.random(TUNING.KRAMPUS_INCREASE_RAMP)elseif day TUNING.KRAMPUS_INCREASE_LVL2 thennum_krampii = num_krampii 1 math.random(TUNING.KRAMPUS_INCREASE_RAMP)endfor k = 1, num_krampii doself:MakeAKrampus()endelseself.inst:DoTaskInTime(1 math.random()*2, function()local snd = CreateEntity()snd.entity:AddTransform()snd.entity:AddSoundEmitter()snd.persists = falselocal theta = math.random() * 2 * PIlocal radius = 15local offset = Vector3(self.inst.Transform:GetWorldPosition()) Vector3(radius * math.cos( theta ), 0, -radius * math.sin( theta ))snd.Transform:SetPosition(offset.x,offset.y,offset.z)local left = self.threshold - self.actionsif left 5 thensnd.SoundEmitter:PlaySound(dontstarve/creatures/krampus/beenbad_lvl3)elseif left 15 thensnd.SoundEmitter:PlaySound(dontstarve/creatures/krampus/beenbad_lvl2)elseif left 20 thensnd.SoundEmitter:PlaySound(dontstarve/creatures/krampus/beenbad_lvl1)endsnd:Remove()end)endend更换为function Kramped:OnNaughtyAction(how_naughty)if TUNING.KRAMPUS_INCREASE_RAMP 1 or TUNING.KRAMPUS_THRESHOLD_VARIANCE 1 then return endif self.threshold == 30 thenself.threshold = TUNING.KRAMPUS_THRESHOLD math.random(TUNING.KRAMPUS_THRESHOLD_VARIANCE)endself.actions = self.actions (how_naughty or 1)self.timetodecay = TUNING.KRAMPUS_NAUGHTINESS_DECAY_PERIODnaughtyness = self.actions --modif self.actions = self.threshold and self.threshold 0 thenlocal day = GetClock().numcycleslocal num_krampii = 1self.threshold = TUNING.KRAMPUS_THRESHOLD math.random(TUNING.KRAMPUS_THRESHOLD_VARIANCE)self.actions = 0limit = self.threshold --modnaughtyness = self.actions --modif day TUNING.KRAMPUS_INCREASE_LVL1 thennum_krampii = num_krampii math.random(TUNING.KRAMPUS_INCREASE_RAMP)elseif day TUNING.KRAMPUS_INCREASE_LVL2 thennum_krampii = num_krampii 1 math.random(TUNING.KRAMPUS_INCREASE_RAMP)endfor k = 1, num_krampii doself:MakeAKrampus()endelseself.inst:DoTaskInTime(1 math.random()*2, function()local snd = CreateEntity()snd.entity:AddTransform()snd.entity:AddSoundEmitter()snd.persists = falselocal theta = math.random() * 2 * PIlocal radius = 15local offset = Vector3(self.inst.Transform:GetWorldPosition()) Vector3(radius * math.cos( theta ), 0, -radius * math.sin( theta ))snd.Transform:SetPosition(offset.x,offset.y,offset.z)local left = self.threshold - self.actionsif left 5 thensnd.SoundEmitter:PlaySound(dontstarve/creatures/krampus/beenbad_lvl3)elseif left 15 thensnd.SoundEmitter:PlaySound(dontstarve/creatures/krampus/beenbad_lvl2)elseif left 20 thensnd.SoundEmitter:PlaySound(dontstarve/creatures/krampus/beenbad_lvl1)endsnd:Remove()end)endself:DoDelta() --modend6.文尾return Kramped前一行放进function Kramped:GetNaughtyness()return naughtynessendfunction Kramped:GetLimit()return limitendfunction Kramped:DoDelta()self.inst:PushEvent(naughtydelta)end散伙存留改版选中是.三.合上DLC0001/scripts/widgets/statusdisplays.lua1.寻找local MoistureMeter = require widgets/moisturemeter后边放进一行local Badge = require widgets/badgelocal kramped = require components/krampedlocal NaughtyBadge = Class(Badge, function(self, owner)Badge._ctor(self, naughty, owner)end)local TemperatureBadge = Class(Badge, function(self, owner)Badge._ctor(self, temperature, owner)end)2.寻找self.heart:SetPercent(self.owner.components.health:GetPercent(), self.owner.components.health.maxhealth, self.owner.components.health:GetPenaltyPercent())后边放进一行self.naughty = self:AddChild(NaughtyBadge(owner))self.naughty:SetPosition(-110,15,0)self.naughty:SetNaughty(self.owner.components.kramped:GetNaughtyness(), self.owner.components.kramped:GetLimit())self.temperature = self:AddChild(TemperatureBadge(owner))self.temperature:SetPosition(30,15,0)self.temperature:SetTemperature(self.owner.components.temperature:GetCurrent())3.寻找if GetWorld() and GetWorld():IsCave() thenself.brain:SetPosition(30, -0,0)self.stomach:SetPosition(-110, -0,0)self.heart:SetPosition(-40, -0,0)self.moisturemeter:SetPosition(30, -70,0)end拆换为if GetWorld() and GetWorld():IsCave() thenself.brain:SetPosition(30, -40,0)self.stomach:SetPosition(-110, -40,0)self.heart:SetPosition(-40, -70,0)self.moisturemeter:SetPosition(-40, 0,0)end这儿是修改转到洞窟后好多个槽的方向,某种意义是可改成并不改成,并且我改成的也很差,方向有点儿不对,提议自身调节4.寻找self.inst:ListenForEvent(sanitydelta, function(inst, data) self:SanityDelta(data) end, self.owner)后边放进一行self.inst:ListenForEvent(temperaturedelta, function(inst, data) self.temperature:SetTemperature(self.owner.components.temperature:GetCurrent()) end, self.owner)self.inst:ListenForEvent(naughtydelta, function(inst) self.naughty:SetNaughty(self.owner.components.kramped.GetNaughtyness(), self.owner.components.kramped.GetLimit()) end, self.owner)散伙存留改版,转到游戏数据说明即修改顺利完成。ps:修改還是有风险性的,怎样不成功有可能毁损数据文件,当转到手机游戏后,系统软件不容易提示游戏玩家在新的iTunes数据文件,因此 在试以前提议再作备份数据下数据文件。

游戏玩家讨论:【新手】饥荒手机版新手进击 地貌编写篇【体制】饥荒洞窟体制编写 游戏机制分析【新手】饥荒手机版新手常见菜谱举荐 保证哪些食物好【升阶】饥荒手机版生存过100天进击 生存170天时况【归纳】饥荒手机版进击 饥荒手机版新手进击实例教程(不断改版) 饥荒进击会员专区 周边产品 工程建筑吉尼斯纪录 游戏解说 MOD吉尼斯纪录 物件吉尼斯纪录 瞩目饥荒进击会员专区,操控饥荒最近信息内容,也有强悍进击库、常用工具! 更为多精彩纷呈进击,要求瞩目饥荒进击会员专区,或是在百度上寻找饥荒,寻找大家的会员专区,才可在第一时间获得饥荒的最近涉及到內容。


本文关键词:爱游戏官方正版下载

本文来源:爱游戏官方正版下载-www.hallykart.com