清风网络:老牌安全放心下载站! 下载排行 推荐软件 软件分类 最新文章 热点文章 最新软件 文章分类
软件文章
最新专题: 职业自行车队经理2014 极品飞车18 真三国无双6 使命召唤9 上古卷轴5 FIFA 15 冒险岛辅助 模拟人生4 机械风暴 伊森卡特的消失 游戏盒子 拳皇
当前位置:清风网络游戏游戏攻略 → 《饥荒》易宁打猎不用回旋镖 打猎实用技巧

2013-8-30 9:47:59 饥荒

ing="0" cellpadding="0">

《饥荒》是个非常考验生存能力的游戏~其中有一项就是要自主打猎!常见的是玩家用回旋镖进行狩猎~还有其他的方法哦!

一起来看看吧!

《饥荒》易宁打猎不用回旋镖 打猎实用技巧[图]图片1

 

搜索其他工具的名字,例如斧头的:打开记事本\data\scripts\prefabs\axe.lua
查找  inst:AddComponent("inspectable")
local function cancreatelight(staff, caster, target, pos)
    local ground = GetWorld()
    if ground and pos then
        local tile = ground.Map:GetTileAtPoint(pos.x, pos.y, pos.z)
        return tile ~= GROUND.IMPASSIBLE and tile < GROUND.UNDERGROUND
    end
    return false
end
local function createlight(staff, target, pos)
    local light = SpawnPrefab("perd")
    light.Transform:SetPosition(pos.x, pos.y, pos.z)
    local caster = staff.components.inventoryitem.owner
end
    inst:AddComponent("spellcaster")
    inst.components.spellcaster:SetSpellFn(createlight)
    inst.components.spellcaster:SetSpellTestFn(cancreatelight)
    inst.components.spellcaster.canuseonpoint = true
    inst.components.spellcaster.canusefrominventory = false
    即可装备回旋镖后,在空地上点鼠标右键召唤火鸡。其中perd(火鸡)可以替换为其他物品.

 

现在知道了吗~希望有帮到你哦!

(出处:3dmgame)

相关游戏

文章评论

阅读排行

推荐文章

帮助(?) | 版权声明 | 友情连接 | 关于我们 | 信息发布
本站提供的软件来自互联网下载纯属学习交流之用,全部需要用迅雷工具下载,如侵犯您版权的请与我们联系,我们会尽快改正,请在下载24小时后删除。
www.vipcn.com 版权所有 蜀ICP备13015096号-5 Powered by:vipcn