weather唯爱妮
发表于 2013-9-24 09:08
yzzn2009 发表于 2013-9-24 00:41 static/image/common/back.gif
那个mod必须画图、加动画,光修改不够,而且我不好把人家的mod制作方法发出来,变成破解人家的mod了
...
5格装备的也是需要画图吗
310297903
发表于 2013-9-24 12:15
yzzn2009 发表于 2013-9-24 05:01 static/image/common/back.gif
是不是这个意思
(⊙0⊙),楼主威武,怎么做到的?
荒神来了
发表于 2013-9-24 12:31
大爱{:3_111:}
2416202910
发表于 2013-9-24 12:34
嘿,大神,被打了能不能换别的出来啊!那个你告诉我:教主、战车和骑士的英语。我修改了分享下(应该不用分享了把)。
yzzn2009
发表于 2013-9-24 13:07
thm154188 发表于 2013-9-24 06:25 static/image/common/back.gif
大神~本人現在在玩20版~基於更新的東西全在洞穴~所以把基地起在洞穴1了```洞穴什麼都好~就是地震頻率太高~ ...
地震分5级,且时间加入随机量,我们把间隔时间延长5倍,小地震会3天左右来一次,大地震会10天左右来一次
洞穴地震间隔时间延长5倍
用记事本打开游戏目录\data\scripts\components\quaker.lua文件,将下列内容:
nextquake = function() return TUNING.TOTAL_DAY_TIME * 0.5 + math.random() * TUNING.TOTAL_DAY_TIME end --how long until the next quake
},
level2={
prequake = 6,
quaketime = function() return math.random(7, 12) + 5 end,
debrispersecond = function() return math.random(6, 7) end,
nextquake =function() return TUNING.TOTAL_DAY_TIME * 2 + math.random() * TUNING.TOTAL_DAY_TIME * 1 end
},
level3={
prequake = 5,
quaketime = function() return math.random(10, 15) + 5 end,
debrispersecond = function() return math.random(7, 8) end,
nextquake =function() return TUNING.TOTAL_DAY_TIME * 1 + math.random() * TUNING.TOTAL_DAY_TIME * 1 end
},
level4={
prequake = 4,
quaketime = function() return math.random(12, 17) + 5 end,
debrispersecond = function() return math.random(8, 9) end,
nextquake =function() return TUNING.TOTAL_DAY_TIME * 1 + math.random() * TUNING.TOTAL_DAY_TIME * 0.5 end
},
level5=
{
prequake = 3,
quaketime = function() return math.random(15, 20) + 5 end,
debrispersecond = function() return math.random(9, 10) end,
nextquake =function() return TUNING.TOTAL_DAY_TIME * 0.5 + math.random() * TUNING.TOTAL_DAY_TIME end
替换为:
nextquake = function() return TUNING.TOTAL_DAY_TIME * 2.5 + math.random() * TUNING.TOTAL_DAY_TIME end --how long until the next quake
},
level2={
prequake = 6,
quaketime = function() return math.random(7, 12) + 5 end,
debrispersecond = function() return math.random(6, 7) end,
nextquake =function() return TUNING.TOTAL_DAY_TIME * 10 + math.random() * TUNING.TOTAL_DAY_TIME * 1 end
},
level3={
prequake = 5,
quaketime = function() return math.random(10, 15) + 5 end,
debrispersecond = function() return math.random(7, 8) end,
nextquake =function() return TUNING.TOTAL_DAY_TIME * 5 + math.random() * TUNING.TOTAL_DAY_TIME * 1 end
},
level4={
prequake = 4,
quaketime = function() return math.random(12, 17) + 5 end,
debrispersecond = function() return math.random(8, 9) end,
nextquake =function() return TUNING.TOTAL_DAY_TIME * 5 + math.random() * TUNING.TOTAL_DAY_TIME * 0.5 end
},
level5=
{
prequake = 3,
quaketime = function() return math.random(15, 20) + 5 end,
debrispersecond = function() return math.random(9, 10) end,
nextquake =function() return TUNING.TOTAL_DAY_TIME * 2.5 + math.random() * TUNING.TOTAL_DAY_TIME end
yzzn2009
发表于 2013-9-24 13:20
2416202910 发表于 2013-9-24 12:34 static/image/common/back.gif
嘿,大神,被打了能不能换别的出来啊!那个你告诉我:教主、战车和骑士的英语。我修改了分享下(应该不用分 ...
不是所有动物都可以跟随的,有的可以跟随但不会帮主角打怪,因为缺少攻击目标的代码
噩梦战车英文:rook_nightmare
噩梦教主英文:bishop_nightmare
噩梦骑士英文:knight_nightmare
yzzn2009
发表于 2013-9-24 13:30
回复a799864909
你用的是20版吗,给你一个我改好的“采矿时50%概率挖出宝石和铥矿石”文件,复制到游戏目录\data\scripts\prefabs文件夹下替换原文件
yzzn2009
发表于 2013-9-24 13:34
310297903 发表于 2013-9-24 12:15 static/image/common/back.gif
(⊙0⊙),楼主威武,怎么做到的?
只是修改了建筑者标签就够了,但现在不能在海上放置墙,我需要再完善一下,之后再发布出来
yzzn2009
发表于 2013-9-24 15:54
310297903 发表于 2013-9-24 12:15 static/image/common/back.gif
(⊙0⊙),楼主威武,怎么做到的?
在海上盖建筑已经发布了,我测试发现,在海上建铥墙,一到傍晚有一定几率导致游戏死,似乎因为傍晚变色对计算机配置要求很高,所以在修改说明里注明了
顔国・頑張ります
发表于 2013-9-24 16:18
大神,我想问下,能告诉我单独的陷阱无限使用修改么。。。你的修改里面我找不到单独的陷阱无限使用,只有1秒重置
yzzn2009
发表于 2013-9-24 16:22
ygp1992 发表于 2013-9-24 16:18 static/image/common/back.gif
大神,我想问下,能告诉我单独的陷阱无限使用修改么。。。你的修改里面我找不到单独的陷阱无限使用,只有1 ...
牙齿陷阱无限使用
用记事本打开游戏目录\data\scripts\prefabs\trap_teeth.lua文件,
1.将下列内容:
inst:AddComponent("finiteuses")
inst.components.finiteuses:SetMaxUses(TUNING.TRAP_TEETH_USES)
inst.components.finiteuses:SetUses(TUNING.TRAP_TEETH_USES)
inst.components.finiteuses:SetOnFinished( onfinished_normal )
替换为:
--inst:AddComponent("finiteuses")
--inst.components.finiteuses:SetMaxUses(TUNING.TRAP_TEETH_USES)
--inst.components.finiteuses:SetUses(TUNING.TRAP_TEETH_USES)
--inst.components.finiteuses:SetOnFinished( onfinished_normal )
2.将下列内容:
inst.components.finiteuses:SetMaxUses(1)
inst.components.finiteuses:SetUses(1)
inst.components.finiteuses:SetOnFinished( onfinished_maxwell )
替换为:
--inst.components.finiteuses:SetMaxUses(1)
--inst.components.finiteuses:SetUses(1)
--inst.components.finiteuses:SetOnFinished( onfinished_maxwell )
顔国・頑張ります
发表于 2013-9-24 16:25
yzzn2009 发表于 2013-9-24 16:22 static/image/common/back.gif
牙齿陷阱无限使用
用记事本打开游戏目录\data\scripts\prefabs\trap_teeth.lua文件,
谢谢~~~~~~~~
2416202910
发表于 2013-9-24 17:30
大神,被打的时候我改成召唤猪人和兔人行吗?
yzzn2009
发表于 2013-9-24 18:03
2416202910 发表于 2013-9-24 17:30 static/image/common/back.gif
大神,被打的时候我改成召唤猪人和兔人行吗?
应该可以,但不是老跟随,猪人、兔人等英文可以见修改技巧最后一项“常用物品中英文名称”
愛妳墲誨
发表于 2013-9-24 18:05
{:3_91:}怎样让懒人护符不吸提灯 还还有某种或某几种的东西
另外是否能添加 各种窝的出产的东西出产时间修改时间
这个修改方法应该都是一样的(比如你教我的那个猪人的刷新时间)主要提供是的那些建筑的名字 还有那条代码.....
每次去翻楼层找猪人刷新时间好蛋疼{:3_99:}
ucKly≈
发表于 2013-9-24 18:35
额,谢谢啊!!!很实用,呵呵
yzzn2009
发表于 2013-9-24 19:56
本帖最后由 yzzn2009 于 2013-9-24 19:58 编辑
回复a799864909
下载: 解压后复制到游戏目录下
包含功能:
提高主角血量10倍
主角自动回血
主角自动补脑
提高主角攻击力
主角跑得更快
提高拿手杖行走速度
双层主角物品条(50格)
箱子81格
采矿时50%概率挖出宝石和铥矿石
采矿时多掉黄金
砍树多掉3倍木头
加快采集速度
防弹背包(装备背包吸收99%伤害值)
加大单格堆叠数量(999个)
thm154188
发表于 2013-9-24 21:47
yzzn2009 发表于 2013-9-24 13:07 static/image/common/back.gif
地震分5级,且时间加入随机量,我们把间隔时间延长5倍,小地震会3天左右来一次,大地震会10天左右来一次
...
感謝樓主~
yzzn2009
发表于 2013-9-24 22:39
本帖最后由 yzzn2009 于 2013-9-24 22:58 编辑
围海造田即将开始
|_歹匕ㄋ|
发表于 2013-9-25 00:24
好长一段时间没玩这游戏了,都更新了这么多了,楼主好人
q3887766
发表于 2013-9-25 08:47
增加树精出现概率怎么没有增加巨鹿出现概率?
小涛丶
发表于 2013-9-25 12:12
能不能修改想挖掘小树苗捡起来可以获得几十个
愛妳墲誨
发表于 2013-9-25 12:34
http://img15.poco.cn/mypoco/myphoto/20130925/12/6586354920130925123136089.jpg
话说能帮我看下这是什么情况么...
19版游戏 出错前修改了墓碑可烧 还有坟包挖掉后消失还打了个18版的牙齿陷阱升级版的MOD
现在是不能保存 一保存就出错 而且不是所有保存的时候都出错 只有大量操作之后保存跟自动保存才出错 挂机一天在保存都没有问题....
2416202910
发表于 2013-9-25 12:42
大神,我是这样想的,召唤猪人(它一般都会打,牛除外。但是我召唤出来一大堆猪人,给他个肉,他不就帮我呗)。。。
2416202910
发表于 2013-9-25 12:43
呵呵呵,可以把,记得回喔
小涛丶
发表于 2013-9-25 12:44
yzzn2009 发表于 2013-9-24 22:39 static/image/common/back.gif
围海造田即将开始
你怎么弄得陆地 大神 对了 为什么我弄了海上建造东西不能建造
yzzn2009
发表于 2013-9-25 13:21
愛妳墲誨 发表于 2013-9-25 12:34 static/image/common/back.gif
话说能帮我看下这是什么情况么...
19版游戏 出错前修改了墓碑可烧 还有坟包挖掉后消失还打了个18版的牙 ...
你还打了“Architectural Geometry”、“最大堆叠”、“RPG HUG”、“Madman's Fighting Pack”、“Come to my pocket”、“DisplayFoodValues-19”等mod,依次卸载mod排除,如果还不行,就开新档试
yzzn2009
发表于 2013-9-25 13:28
q3887766 发表于 2013-9-25 08:47 static/image/common/back.gif
增加树精出现概率怎么没有增加巨鹿出现概率?
巨鹿出现的条件要求很苛刻,必须呆在基地几天,才有概率出现。给你两个方法,一是上调出现概率,二是用宝石种巨鹿,自己选用吧
一.增加巨鹿出现几率
用记事本打开游戏目录\data\scripts\tuning_override.lua文件,将下列内容:
basehassler:SetAttacksPerWinter(0)
basehassler:SetAttackDuringSummer(false)
elseif difficulty == "rare" then
basehassler:SetAttacksPerWinter(1)
basehassler:SetAttackDuringSummer(false)
elseif difficulty == "often" then
basehassler:SetAttacksPerWinter(2)
basehassler:SetAttackDuringSummer(false)
elseif difficulty == "always" then
basehassler:SetAttacksPerWinter(3)
basehassler:SetAttackDuringSummer(true)
替换为:
basehassler:SetAttacksPerWinter(10)
basehassler:SetAttackDuringSummer(true)
elseif difficulty == "rare" then
basehassler:SetAttacksPerWinter(10)
basehassler:SetAttackDuringSummer(true)
elseif difficulty == "often" then
basehassler:SetAttacksPerWinter(10)
basehassler:SetAttackDuringSummer(true)
elseif difficulty == "always" then
basehassler:SetAttacksPerWinter(10)
basehassler:SetAttackDuringSummer(true)
二.种宝石得巨鹿
用记事本打开游戏目录\data\scripts\prefabs\gem.lua文件,在MakeInventoryPhysics(inst)的下一行插入下列内容:
local function OnDeploy (inst, pt)
local deerclops = SpawnPrefab("deerclops")
if deerclops then
deerclops:PushEvent("growfromgem")
deerclops.Transform:SetPosition(pt.x, pt.y, pt.z)
inst.components.stackable:Get():Remove()
end
end
inst:AddComponent("deployable")
inst.components.deployable.ondeploy = OnDeploy
愛妳墲誨
发表于 2013-9-25 13:46
yzzn2009 发表于 2013-9-25 13:21 static/image/common/back.gif
你还打了“Architectural Geometry”、“最大堆叠”、“RPG HUG”、“Madman's Fighting Pack”、“Come...
这些MOD是以前打的 用很久了也没出问题而这个出错是今天早上才出现的
yzzn2009
发表于 2013-9-25 14:14
小涛丶 发表于 2013-9-25 12:12 static/image/common/back.gif
能不能修改想挖掘小树苗捡起来可以获得几十个
你是要挖树苗一次得多个树苗根吗,如果是,见下面。一次掉落太多会导致内存占用太大,容易死机,给你一次掉10个吧
挖树苗一次得10个树苗根
用记事本打开游戏目录\data\scripts\prefabs\sapling.lua文件,在inst:Remove()的下一行插入以下内容:
inst.components.lootdropper:SetLoot({"dug_sapling", "dug_sapling", "dug_sapling", "dug_sapling", "dug_sapling", "dug_sapling", "dug_sapling", "dug_sapling", "dug_sapling"})
local pt = Point(inst.Transform:GetWorldPosition())
inst.components.lootdropper:DropLoot(pt)
即可挖树苗一次得10个树苗根