模组文件免费下载和使用,谨防上当受骗。

YN136-装备回旋镖召唤猎物(打猎游戏)

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 一三六.装备回旋镖召唤猎物(打猎游戏) 用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/boomerang.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 names = {"crow","robin","robin_winter","frog","mosquito","bee","killerbee","butterfly","rabbit","babybeefalo"} local name = names[math.random(#names)] local prey = SpawnPrefab(name) prey.Transform:SetPosition(pos.x, pos.y, pos.z) end inst:AddComponent("spellcaster") inst.components.spellcaster:SetSpellFn(createlight) inst.components.spellcaster:SetSpellTestFn(cancreatelight) inst.components.spellcaster.canuseonpoint = true inst.components.spellcaster.canusefrominventory = false 即可在装备回旋镖后,在空地上点鼠标右键召唤猎物,包括鸟、昆虫、青蛙、兔子、小牛,尽情捕猎吧

2025/04/23 · Bny

YN137-一支吹箭用20次(按百分比使用)

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 一三七.一支吹箭用20次(按百分比使用) 用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/blowdart.lua文件, 1.将下列内容: local function onhit(inst, attacker, target) local impactfx = SpawnPrefab("impact") if impactfx and attacker then local follower = impactfx.entity:AddFollower() follower:FollowSymbol(target.GUID, target.components.combat.hiteffectsymbol, 0, 0, 0 ) impactfx:FacePoint(attacker.Transform:GetWorldPosition()) end inst:Remove() end 替换为: local function onfinished(inst) inst:Remove() end local function onhit(inst, attacker, target) local impactfx = SpawnPrefab("impact") if impactfx and attacker then local follower = impactfx.entity:AddFollower() follower:FollowSymbol(target.GUID, target.components.combat.hiteffectsymbol, 0, 0, 0 ) impactfx:FacePoint(attacker.Transform:GetWorldPosition()) end if inst.components.finiteuses.current > 0 then if inst.prefab == "blowdart_walrus" then inst:Remove() else attacker.components.inventory:Equip(inst) end end end 2.在inst:AddComponent("inspectable")的下一行插入以下内容: inst:AddComponent("finiteuses") inst.components.finiteuses:SetOnFinished( onfinished ) inst.components.finiteuses:SetMaxUses(20) inst.components.finiteuses:SetUses(20) 即可让一支吹箭使用20次,每次击中敌人后自动回到手中,可以修改其中2处数字20为想要的使用次数。不要与“吹箭无限使用(射中目标后自动回到手中)”一同修改

2025/04/23 · Bny

YN138-吹箭无限使用(射中目标后自动回到手中)

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 一三八.吹箭无限使用(射中目标后自动回到手中) 用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/blowdart.lua文件,将下列内容: impactfx:FacePoint(attacker.Transform:GetWorldPosition()) end inst:Remove() 替换为: impactfx:FacePoint(attacker.Transform:GetWorldPosition()) end if inst.prefab == "blowdart_walrus" then inst:Remove() else attacker.components.inventory:Equip(inst) end 即可让吹箭射中目标后自动回到手中,不要与“一支吹箭用20次(按百分比使用)”一同修改

2025/04/23 · Bny

YN139-快速找到骨眼(骨眼在地图上显示)

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 一三九.快速找到骨眼(骨眼在地图上显示) 用MT管理器打开游戏目录/assets/scripts/prefabs/chester_eyebone.lua文件,在inst:AddComponent("inspectable")的下一行插入以下内容: local minimap = inst.entity:AddMiniMapEntity() minimap:SetIcon( "chester.png" ) 即可在地图上看到骨眼的位置,显示为切斯特,生出切斯特后,则地图上有两个切斯特图标,一个是切斯特,一个是骨眼

2025/04/23 · Bny

YN140-切斯特(狗箱)跑得快

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 一四0.切斯特(狗箱)跑得快 用MT管理器打开游戏目录/assets/scripts/prefabs/chester.lua文件,将下列内容: inst.components.locomotor.walkspeed = 3 inst.components.locomotor.runspeed = 7 替换为: inst.components.locomotor.walkspeed = 9 inst.components.locomotor.runspeed = 21 即可让切斯特运动速度提高3倍

2025/04/23 · Bny

YN141-切斯特(狗箱)不死

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 一四一.切斯特(狗箱)不死 用MT管理器打开游戏目录/assets/scripts/prefabs/chester.lua文件,在inst:AddTag("noauradamage")的下一行插入inst.components.health:SetInvincible(true) 即可让切斯特不死

2025/04/23 · Bny

YN142-切斯特(狗箱)容量增加9倍(81格)

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 一四二.切斯特(狗箱)容量增加9倍(81格) 用MT管理器打开游戏目录/assets/scripts/prefabs/chester.lua文件, 1.将下列内容: for y = 2, 0, -1 do for x = 0, 2 do 替换为: for y = 8, 0, -1 do for x = 0, 8 do 2.将下列内容: inst.components.container.widgetanimbank = "ui_chest_3x3" inst.components.container.widgetanimbuild = "ui_chest_3x3" inst.components.container.widgetpos = Vector3(0,200,0) 替换为: --inst.components.container.widgetanimbank = "ui_chest_3x3" --inst.components.container.widgetanimbuild = "ui_chest_3x3" inst.components.container.widgetpos = Vector3(0,100,0) 即可让切斯特(狗箱)容量增加9倍至81格

2025/04/23 · Bny

YN143-保温石保温时间延长1倍

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 一四三.保温石保温时间延长1倍 用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/heatrock.lua文件,将下列内容: inst.components.temperature.inherentinsulation = TUNING.INSULATION_MED inst.components.temperature.inherentsummerinsulation = TUNING.INSULATION_MED 替换为: inst.components.temperature.inherentinsulation = TUNING.INSULATION_MED*2 inst.components.temperature.inherentsummerinsulation = TUNING.INSULATION_MED*2 即可让保温石保温时间延长1倍,将2这个数字调整为其他数字,可自行调整保温时间延长几倍

2025/04/23 · Bny

YN144-建造肉块雕像不罚血(正常要从血的上限减30)

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 一四四.建造肉块雕像不罚血(正常要从血的上限减30) 用MT管理器打开游戏目录/assets/DLC0002/scripts/tuning.lua文件,将EFFIGY_HEALTH_PENALTY = 30,替换为EFFIGY_HEALTH_PENALTY = 0, 即可建造肉块雕像不罚血,修改为负数比如-30则可加血的上限

2025/04/23 · Bny

YN145-白天也能睡帐篷,睡帐篷不减饥饿

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 一四五.白天也能睡帐篷,睡帐篷不减饥饿 用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/tent.lua文件, 1.删除下列内容: if GetClock():IsDay() then local tosay = "ANNOUNCE_NODAYSLEEP" if GetWorld():IsCave() then tosay = "ANNOUNCE_NODAYSLEEP_CAVE" end if sleeper.components.talker then sleeper.components.talker:Say(GetString(inst.prefab, tosay)) return end end 2.删除下列内容: if GetClock():IsDay() then local tosay = "ANNOUNCE_NODAYSLEEP" if GetWorld():IsCave() then tosay = "ANNOUNCE_NODAYSLEEP_CAVE" end if sleeper.components.talker then sleeper.components.talker:Say(GetString(inst.prefab, tosay)) sleeper.components.health:SetInvincible(false) sleeper.components.playercontroller:Enable(true) return end end 3.将sleeper.components.hunger:DoDelta(-TUNING.CALORIES_HUGE, false, true)替换为--sleeper.components.hunger:DoDelta(-TUNING.CALORIES_HUGE, false, true) 即可白天也能睡帐篷,睡帐篷不减饥饿

2025/04/23 · Bny