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

通过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 }
}
}
相关文章
风启之旅旅人营地宝箱在哪?风启之旅旅人营地共有2个宝箱:明箱在营地帐篷或篝火旁,直接开启获得旅人笔记和物资,下面就为大家带来风启之旅旅人营地宝箱分布地点汇总,需要2026-04-24
识质存在造物者BOSS怎么打?开战前清小怪攒满超载协议能量,造物者主打激光冲刺、巨臂重击与大范围横扫激光,观察前摇及时走位闪避,下面就为大家带来识质存在造物者BOSS击杀2026-04-24
识质存在模拟训练有哪些?识质存在模拟训练共30个,分为限时清怪、移动竞速、骇入破解和生存防御四类,通过主线推进和收集训练数据解锁,下面就为大家带来识质存在模拟训练2026-04-24
识质存在游戏时长多少?识质存在流程时长根据玩家的游玩风格和目标划分,通常在 8小时到20多个小时不等,下面就为大家带来识质存在通关时间分享,需要的朋友可以参考下2026-04-24
识质存在结局有哪些?识质存在正式版为单线剧情,仅有一个主线结局,无选项分支与多结局设定,剧情围绕主角二人对抗月球失控AI,下面就为大家带来识质存在结局介绍,需要的朋2026-04-24
识质存在模拟训练关卡30怎么过?识质存在搭配充能穿击者、导弹发射器,携带群体混乱侵入节点,按四波次循序作战,优先入侵控怪、利用地形聚怪,下面就为大家带来识质存在模2026-04-23
识质存在月矿场迷你阿舱在哪?识质存在月矿场三个迷你阿舱:起重机区月掘者二战区域,黄色集装箱对面窗下为第一个,下面就为大家带来识质存在月矿场迷你阿舱地点一览,需要的2026-04-23
识质存在骇入范围怎么看?在识质存在中,骇入有效范围通过敌人身上的蓝色边框判定:出现蓝边即可举枪骇入,消失则超出范围或被红盾阻挡,下面就为大家带来识质存在骇入范围2026-04-23
红色沙漠npc好感度有什么用?红色沙漠的NPC好感度是核心养成系统,直接影响交易折扣、隐藏商品、任务解锁、宠物获取等等,下面就为大家带来红色沙漠npc好感度作用详解,需要2026-04-23
红色沙漠君子之弓在哪?红色沙漠君子之弓位于佩伦城正上方、英灵之门坟墓内,进入墓穴后,在第一段走廊右侧墙壁找到隐蔽矮洞,下面就为大家带来君子之弓获取地点及属性介绍,2026-04-23












最新评论