2008-10-19 10:37
herokbg
问个问题,怎么在一块地上通过事件加上永久的以资源
比如在大同,做个开发煤矿事件,那么这里的煤矿资源就应该增加到20以上,在事件里怎么写?
2008-10-19 15:26
lcarron78
例如给CHC的大同加,
event = {
id = 90029
random = no
country = CHC
name = "More energy"
desc = "More energy"
picture = "economic"
style = 0
trigger = {
year = 1936
}
date = { day = 1 month = january year = 1936 }
offset = 90
deathdate = { day = 30 month = december year = 1956 }
action_a = {
name = "Free"
ai_chance = 97
command = { type = add_prov_resource which = 1209 value = 20 where = energy }
}
action_b = {
name = "No"
ai_chance = 3
}
}
[[i] 本帖最后由 lcarron78 于 2008-10-19 19:31 编辑 [/i]]
2008-10-19 17:55
herokbg
基本都看明白了。action_b = {
name = "No"
ai_chance = 3 是什么意思,难道是3%的机会加不上?
2008-10-19 18:24
恋芸
AI选择,和你没关系
2008-10-19 18:53
本因坊秀策
8需要这么复杂,直接爱抚event 1012就可以了
加工业效率的同时,也增加资源产量
2008-10-20 03:39
lcarron78
回复 #3 herokbg 的帖子
如果CHC是电脑,那么AI有3%的机会选b.
2008-10-20 18:53
herokbg
command = { type = construct which =energy where = 1275 value = 15 }
这样的语法有没有问题?
2008-10-29 23:36
汉枫
:qDD+这种语法不被hoi程序承认。。。
2008-10-30 06:08
桠枫
LZ去52下个HOI2事件编辑器吧。那个编辑器是汉化了的,比较适合不会写事件的人用
页:
[1]
Powered by Discuz! Archiver 5.0.0
© 2001-2006 Comsenz Inc.