欢迎光临散文网 会员登陆 & 注册

终极合体!滑铲姐+女武神 = ??【欧皇模拟器测试实况】

2023-07-21 13:03 作者:麻辣鲜香小泰菲  | 我要投稿

滑武神更改教程:

1.饥荒-管理-浏览本地文件,用记事本打开dont_starve\data\DLC0003\scripts\prefabs\wathgrithr

2.找到local function custom_init(inst)一行,在上方粘贴:

local function AllowDodge(inst)

  return (GetTime() - inst.last_dodge_time > TUNING.WHEELER_DODGE_COOLDOWN) and 

      not inst.components.driver:GetIsDriving() and not inst.components.rider:IsRiding()

end


local function GetPointSpecialActions(inst, pos, useitem, right)

  if right then

   if AllowDodge(inst) then

     return { ACTIONS.DODGE }

    end

  end

  return {}

end

3.找到local function custom_init(inst)函数下的inst.components.health:SetAbsorptionAmount(TUNING.WATHGRITHR_ABSORPTION)一行,在下方粘贴:

inst.last_dodge_time = GetTime()

   inst.components.playeractionpicker.pointspecialactionsfn = GetPointSpecialActions


   inst:AddComponent("reticule")

   inst.components.reticule.targetfn = function() 

       return Vector3(inst.entity:LocalToWorldSpace(5.5,0,0))

   end

   inst.components.reticule:SetValidateFn(AllowDodge)


  inst.components.reticule.ease = false

4.复制并替换dont_starve\data\DLC0001\scripts\prefabs\wathgrithr和dont_starve\data\DLC0002\scripts\prefabs\wathgrithr路径中的wathgrithr文件。也可以不替换,生成世界中,你选择兼容哪个DLC,游戏就运行哪个DLC中的wathgrithr文件,比如兼容哈姆雷特,游戏就运行DLC0003中的wathgrithr文件

终极合体!滑铲姐+女武神 = ??【欧皇模拟器测试实况】的评论 (共 条)

分享到微博请遵守国家法律