首页 群星 群星攻略 正文

《群星》修改巨型建筑上限方法

在《群星》中,巨型建筑耗时极长,但是建立完成收益也很高,为了更好的获取资源,就需要建设多个巨型建筑,但是同一时刻内只能允许建造一个巨型建筑,所以我们就需要“黑科技”。

《群星》修改巨型建筑上限方法


通过everything的文件内关键词搜索,具体接触修建限制的方案如下:

1、首先打开megastructure文件夹,定位各个巨型建筑的文件。比如戴森球就是01_dyson_sphere。

2、具体语句解释:

dyson_sphere_0 = {

entity = "construction_platform_entity"

construction_entity = "construction_platform_entity"

portrait = "GFX_megastructure_construction_background"

place_entity_on_planet_plane = no 修建的巨型建筑是否跟星球在一个平面上(没啥卵用)

entity_offset = { x = -7 y = -7 }

build_time = 1800 #修建时间

build_cost = {

minerals = 10000 #修建成本 (新版本是 alloys,合金。不过大同小异。)

influence = 300

}

maintenance = {

energy = 5 #维护费用

}

potential = {

has_ascension_perk = ap_galactic_wonders #potential 词条是必须有银河奇迹的飞升才能修建

}

possible = {

custom_tooltip = {

fail_text = "requires_inside_border" #必须在本实力控制范围内。用“#”注释掉这句和下面几句就可以给外星人修戴森球了

is_inside_border = from

}

custom_tooltip = {

fail_text = "requires_no_existing_dyson_sphere" #限制只有一个戴森球

from = { NOT = { has_country_flag = built_dyson_sphere } }

} #注释掉上面几行就能修更多球。

custom_tooltip = {

fail_text = "requires_surveyed_system"

NOT = {

any_planet = {

is_surveyed = {

who = prev.from

status = no

}

}

}

}

custom_tooltip = {

fail_text = "requires_no_habitable_planets"

NOT = {

any_planet = {

AND = {

OR = {

habitable_planet = yes

habitable_structure = yes

}

NOT = { has_planet_flag = habitat }

}

}

}

}

custom_tooltip = {

fail_text = "requires_no_black_hole_neutron_star_pulsar"

NOT = {

is_star_class = sc_black_hole

is_star_class = sc_neutron_star

is_star_class = sc_pulsar

}

}

custom_tooltip = {

fail_text = "requires_no_binary_trinary"

NOR = {

is_star_class = sc_binary_1

is_star_class = sc_binary_2

is_star_class = sc_binary_3

is_star_class = sc_binary_4

is_star_class = sc_binary_5

is_star_class = sc_binary_6

is_star_class = sc_binary_7

is_star_class = sc_binary_8

is_star_class = sc_binary_9

is_star_class = sc_binary_10

is_star_class = sc_trinary_1

is_star_class = sc_trinary_2

is_star_class = sc_trinary_3

is_star_class = sc_trinary_4

}

}

custom_tooltip = {

fail_text = "requires_no_existing_megastructure" #限制不能有已存在的巨型建筑,如果注释掉这个(这一段,整个大括号里的)custom_tooltip,就能把戴森球跟研究空间站、轨道栖所修在一个星系里。

#NOT = { has_any_megastructure = yes }

has_no_non_gate_megastructure = yes

}

}

placement_rules = {

planet_possible = {

custom_tooltip = {

fail_text = "must_build_around_star"

is_star = yes

}#必须围绕恒星修建。注释掉这个,就能围绕着气态巨行星和小行星之类的其他星体修戴森球。(这就有点儿魔改了。。。一个星系里全是戴森球。。。画美不看。。。)

custom_tooltip = {

fail_text = "requires_no_anomaly"

NOT = { has_anomaly = yes }

}#必须没有异常

custom_tooltip = {

fail_text = "requires_no_orbital_station"

has_orbital_station = no

}

}

}

# root = system

# from = country

ai_weight = {

factor = 15

modifier = {

factor = 0.1

starbase = { NOT = { has_starbase_size >= starbase_starfortress } }

}

modifier = {

factor = 0.1

any_neighbor_system = {

NOT = {

owner = { is_same_value = from }

}

}

}

}

on_build_start = {}

on_build_cancel = {}

on_build_complete = {

set_star_flag = dyson_sphere_built

from = { set_country_flag = built_dyson_sphere }

}

}


点击进入 群星 专区

相关信息

群星航母怎么样 强度及优缺点分析
群星人口失业怎么办 失业原因及解决方法介绍
群星环世界开局有什么优势 环世界特点介绍
群星怎么快速增加影响力 影响力提升方法介绍
群星怎么增加人口 详细方法介绍
群星护盾世界的位置以及寻找方法分享
群星怎么从堕落帝国收礼物 收礼的方法介绍
群星遗珍代码有哪些 遗珍冷却代码大全
炉石传说砰砰计划群星德卡组 新版ike群星德卡组搭配
炉石传说砰砰计划群星德卡组 新版传说群星德卡组搭配
炉石传说砰砰计划群星奇迹法卡组 新版群星奇迹法卡组搭配
炉石传说群星罗列者怎么样 群星罗列者属性效果图鉴
群星敌方战斗力看不到 群星敌方战斗力怎么判断
群星巨型建筑有什么用 群星巨型建筑作用介绍
群星打不开游戏怎么办 群星打不开解决方法
群星乌托邦怎么造环 群星生命之环制作详解
群星乌托邦dlc 闪退解决攻略 群星乌托邦闪退是怎么回事
群星stellaris1.4更新内容介绍 群星1.4更新了什么
群星怎么管理星区 管理星区方法解析攻略
群星社会道德哪个好 群星社会道德一览