群星里有关天灾的主要部分在三个event文件里,分辨是crisis_events_1,crisis_events_2,crisis_events_3,对应的1是虫子,2是恶魔,3是机器。
在crisis_events_1里面,有关虫子究竟会刷出几只舰队,靠的是一个叫swarm_brood = yes的参数,这个参数就是一支舰队的全部配置,包含指挥官和下属每种船的数量。
比如:
random_rim_system = {
limit = { has_star_flag = swarm_invasion_target_1 }
random_system_planet = {
event_target:prethoryn = {
### FIRST SYSTEM
swarm_brood = yes
swarm_brood = yes
swarm_brood = yes
这么一段语句就是虫子入侵时刷出来的三大支舰队中的一支,有三条swarm_brood = yes的参数,所以这一大支舰队里面有三小支舰队
那么修改的最简单的办法,就是把这个swarm_brood = yes复制几行
在这个文件里,除开初始刷出来的舰队以外,还有补充的舰队,比如:
# Build new fleet (based on the Third Fleet)
country_event = {
id = crisis.207
hide_window = yes
is_triggered_only = yes
immediate = {
save_event_target_as = prethoryn
owner_species = { save_event_target_as = prethoryn_species }
swarm_brood = yes
swarm_brood = yes
swarm_brood = yes
swarm_brood = yes
可以看到swarm_brood = yes被我多复制了两条,实际测试,这些新舰队每次刷出四支而不是原来的两支,战斗力一下上去了
那如果要修改swarm_brood = yes这里面舰队的配置,就要去00_scripted_effects这个文件里,搜索swarm_brood,就可以找到swarm_brood这个参数所代表的舰队配置:
create_fleet = {
name = "NAME_Prethoryn_Star_Brood"
effect = {
set_owner = event_target:prethoryn
create_ship = {
name = random
design = "NAME_Swarm_Queen"
graphical_culture = "swarm_01"
}
assign_leader = last_created_leader
while = {
count = 15
create_ship = {
name = random
design = "NAME_Swarm_Large"
graphical_culture = "swarm_01"
}
}
while = {
count = 13
create_ship = {
name = random
design = "NAME_Swarm_Carrier"
graphical_culture = "swarm_01"
}
}
while = {
count = 63
create_ship = {
name = random
design = "NAME_Swarm_Small"
graphical_culture = "swarm_01"
}
}
15条大船,13条航母,63条小船
可以把数字替换成任意值,也可以添加其他船,比如添加堕落泰坦什么的……
此外,关于刷新的检测:
# Build new fleet every 2 years
event = {
id = crisis.206
hide_window = yes
is_triggered_only = yes
immediate = {
if = {
limit = {
any_country = {
is_country_type = swarm
num_owned_planets > 0
num_ships < 2000
}
}
这个语句的意思是,如果虫子占领的星球数量不是0,舰队容量小于2000,就增援部队,可以改成小于4000才不增援。
注意,虫子和其他两种天灾不同,是需要陆军的,所以如果要强化虫子,在00_armies把
# Swarm Armies
swarm_army = {
damage = 2.0
morale_damage = 2.0
health = 2.0
morale = 2.0
time = 180
里面的time改小也是必需的。
在crisis_events_1里面,有关虫子究竟会刷出几只舰队,靠的是一个叫swarm_brood = yes的参数,这个参数就是一支舰队的全部配置,包含指挥官和下属每种船的数量。
比如:
random_rim_system = {
limit = { has_star_flag = swarm_invasion_target_1 }
random_system_planet = {
event_target:prethoryn = {
### FIRST SYSTEM
swarm_brood = yes
swarm_brood = yes
swarm_brood = yes
这么一段语句就是虫子入侵时刷出来的三大支舰队中的一支,有三条swarm_brood = yes的参数,所以这一大支舰队里面有三小支舰队
那么修改的最简单的办法,就是把这个swarm_brood = yes复制几行
在这个文件里,除开初始刷出来的舰队以外,还有补充的舰队,比如:
# Build new fleet (based on the Third Fleet)
country_event = {
id = crisis.207
hide_window = yes
is_triggered_only = yes
immediate = {
save_event_target_as = prethoryn
owner_species = { save_event_target_as = prethoryn_species }
swarm_brood = yes
swarm_brood = yes
swarm_brood = yes
swarm_brood = yes
可以看到swarm_brood = yes被我多复制了两条,实际测试,这些新舰队每次刷出四支而不是原来的两支,战斗力一下上去了
那如果要修改swarm_brood = yes这里面舰队的配置,就要去00_scripted_effects这个文件里,搜索swarm_brood,就可以找到swarm_brood这个参数所代表的舰队配置:
create_fleet = {
name = "NAME_Prethoryn_Star_Brood"
effect = {
set_owner = event_target:prethoryn
create_ship = {
name = random
design = "NAME_Swarm_Queen"
graphical_culture = "swarm_01"
}
assign_leader = last_created_leader
while = {
count = 15
create_ship = {
name = random
design = "NAME_Swarm_Large"
graphical_culture = "swarm_01"
}
}
while = {
count = 13
create_ship = {
name = random
design = "NAME_Swarm_Carrier"
graphical_culture = "swarm_01"
}
}
while = {
count = 63
create_ship = {
name = random
design = "NAME_Swarm_Small"
graphical_culture = "swarm_01"
}
}
15条大船,13条航母,63条小船
可以把数字替换成任意值,也可以添加其他船,比如添加堕落泰坦什么的……
此外,关于刷新的检测:
# Build new fleet every 2 years
event = {
id = crisis.206
hide_window = yes
is_triggered_only = yes
immediate = {
if = {
limit = {
any_country = {
is_country_type = swarm
num_owned_planets > 0
num_ships < 2000
}
}
这个语句的意思是,如果虫子占领的星球数量不是0,舰队容量小于2000,就增援部队,可以改成小于4000才不增援。
注意,虫子和其他两种天灾不同,是需要陆军的,所以如果要强化虫子,在00_armies把
# Swarm Armies
swarm_army = {
damage = 2.0
morale_damage = 2.0
health = 2.0
morale = 2.0
time = 180
里面的time改小也是必需的。