作者:广东在线游戏网日期:
返回目录:游戏解答
db/tech文件e79fa5e98193e58685e5aeb9336夹下面的所有txt文件,最好不要动,因为里面有数据是涉及科技树显示的位置的。至于db/tech/team文件夹里面,是各个国家的科技组,要提高科技研发速度,需要修改这里的文件。注意,要用记事本打开文件,不然有可能导致字符错误。
修改方法,以teams_ger.csv德国为例,打开文件后可以看到:7;克虏伯 ;T7;9;1930;1970;industrial_engineering;mechanics;technical_efficiency;artillery;;;;;;;;;;;;;;;;;;;;;;;;;;;;;x这句话,表示克虏伯科技组,T7是图片,9表示科技组等级为9,1930和1970分别为出现和消失时间,后面的几个英文表示技能,具体意思这里就不多说了,技能之间用分号连接。看到一大串分号了吧,加技能就是了,只不过超过5个在游戏里就不显示了。
想象一下一个所有技能都匹配,等级9的科技组研发的速度吧。
===等等,如果认为这就足够了,那就错了,我们可以通过写事件的方法提高科研效率,使一个等级1,无技能的科技组达到和别国顶级科技组一样的科研速度。
在自己选的国家的事件文件里加上下面的事件
event = {
id = 999999//事件代码,只要不重复即可,随意写
random = no
country = USA//国家,改成自己想要的国家
persistent = yes
name = "测试事件 "
desc = "测试 测试"
style = 0
picture = "foreign_policy"
action_a = {
name = "OK"
command = { type = research_mod value = 100 }//增加科研效率,value = 数值,100表示增加100%的科研效率,即双倍科研速度。
}
}
}
然后在游戏里F12,手动触发该事件即可。这里可以放心的用,只给自己国家加的,别国没有影响。
e79fa5e98193e78988e69d83362这是我在网上收集的作弊事件
这个是加各项资源
#########################################################################
# Cheat 888888
#########################################################################
event = {
id = 888888
random = no
persistent = yes
name = "Cheat"
desc = "Player is a cheat."
style = 0
action_a = {
name = "OK"
command = { type = energypool value = 99999999 }
command = { type = metalpool value = 99999999 }
command = { type = rarematerialspool value = 99999999 }
command = { type = oilpool value = 99999999 }
command = { type = supplies value = 99999999 }
command = { type = money value = 99999999 }
}
这个是各兵种生产只需一天
#########################################################################
# Cheat 999005
#########################################################################
event = {
id = 999005
random = no
name = "Cheat"
desc = "Player is a cheat."
style = 0
action_a = {
name = "OK"
command = { type = build_time which = land value = -1000 } #陆军
command = { type = build_time which = air value = -1000 } #空军
command = { type = build_time which = naval value = -1000 } #海军
command = { type = build_time which = artillery value = -1000 } #炮兵加强旅
command = { type = build_time which = anti_tank value = -1000 } #反坦克加强旅
command = { type = build_time which = anti_air value = -1000 } #防空加强旅
command = { type = build_time which = rocket_artillery value = -1000 } #火箭炮加强旅
command = { type = build_time which = sp_artillery value = -1000 } #自行火炮加强旅
command = { type = build_time which = sp_rct_artillery value = -1000 } #自行火箭炮加强旅
command = { type = build_time which = tank_destroyer value = -1000 } #坦克歼击车加强旅
command = { type = build_time which = light_armor_brigade value = -1000 } #轻型坦克加强旅
command = { type = build_time which = heavy_armor value = -1000 } #重型坦克加强旅
command = { type = build_time which = super_heavy_armor value = -1000 } #超重型坦克加强旅
command = { type = build_time which = armored_car value = -1000 } #装甲车加强旅
command = { type = build_time which = engineer value = -1000 } #工程兵加强旅
command = { type = build_time which = police value = -1000 } #宪兵加强旅
command = { type = build_time which = cag value = -1000 } #航母舰载机加强旅
command = { type = build_time which = escort value = -1000 } #护航战斗机加强旅
}
}
这个是减不满的
#########################################################################
# Cheat 999007
#########################################################################
event = {
id = 999007
random = no
persistent = yes
name = "Cheat"
desc = "Player is a cheat."
style = 0
action_a = {
name = "OK"
command = { type = dissent value = -5 }
}
}
这个是改科研速度的(极快,慎用)
#########################################################################
# Cheat 999103
#########################################################################
event = {
id = 999103
random = no
persistent = yes
name = "Cheat"
desc = "Player is a cheat."
style = 0
action_a = {
name = "OK"
command = { type = research_mod value = 5000000 }
}
}
这个是快速建工厂等设施的(但不是一天就能造好 只是很快而已)
########################################################################
# 工业化生产时间减少--特殊
#########################################################################
event = {
id = 999104
random = no
name = "工业化生产时间减少--特殊"
desc = "由于工厂秘密资料的开源化,现在工厂数量比原来工厂数量提高了500倍之多.导致了工厂增加使得军械用品能够大众化生产,生产时间比过去大
幅缩短"
picture = "peace_manifestation"
style = 0
action_a = {
name = "增长"
command = { type = build_time which = hq when = now where = relative value = -1900 }
command = { type = building_prod_mod which = ic value = 100000 }
command = { type = building_prod_mod which = coastal_fort value = 100000 }
command = { type = building_prod_mod which = land_fort value = 100000 }
command = { type = building_prod_mod which = flak value = 100000 }
command = { type = building_prod_mod which = infrastructure value = 100000 }
command = { type = building_prod_mod which = air_base value = 100000 }
command = { type = building_prod_mod which = naval_base value = 100000 }
command = { type = building_prod_mod which = radar_station value = 100000 }
command = { type = building_prod_mod which = nuclear_reactor value = 100000 }
command = { type = building_prod_mod which = rocket_test value = 100000 }
command = { type = convoy_prod_mod which = escorts value = 100000 }
command = { type = convoy_prod_mod which = transports value = 100000 }
}
}
把这些放到你的游戏目录/db/events/randomevents 这个文档里
进游戏后F12触发 AI永远不会触发 只对玩家有用
希望对你有帮助
event事件里没有百这个,但是可以在文件里面改。到度一个知叫db的文件夹里,找到building costs.把ic,build time改成1(工道业设施建设速度专用时一天),其他想改的也可以属把build time 换掉。