群星stellaris控制台代码(自用)
鸢雨箐谪
编辑于 2025年06月15日 15:53

debugtooltip   开关命令查看id、效果、flag等隐藏信息,可以用于验证MOD效果的工具(无法查看种群id,要查看种群id还请改派) 

observe   观察全宇宙和全宇宙的生物(观海模式),但是无法造船,有一定bug。 

help <作弊指令>   查看该作弊指令的使用方法。不加具体指令显示所有作弊指令列表。 

TAB键   按下TAB可查看常用作弊指令列表。 

event <事件id> <触发事件>   触发编号为<id>的事件,注意,ship_event需要选择舰船来触发,planet_event需要选择星球来触发,country_event一般不需要选取即可触发。部分被触发事件可能由于没有对象和不满足条件等原因触发出现问题 

event graygoo.401 小灰

effect set_leader_flag = legendary_leader 传奇领袖

effect set_leader_flag = immune_to_negative_traits 排斥负面特质

add_anomaly ANCREL_RUBRICATOR_CAT 武器痕迹(誊录仪)

add_anomaly DISTAR_LOST_CAT 云中的动静(泡泡)

add_trait_species X trait_robot_ceaseless_symmetric_annihilation_engine 暗物质引擎(X替换为物种id)

event cara.320 银河之星

add_ship NAME_Synth_Queen_Titan 女王泰坦

effect = { solar_system = { set_star_flag = } } 星系flag

effect set_planet_flag = 星球flag

planet_resource <战略资源代码> <数值>   为指定的行星添加 战略资源(活金属,育兰晶体,中子矿石之类),不加具体数值或者具体资源代码会无法使用。 

能量币   cash <数值> 或 energy <数值>       增加<数值>数量的Minerals.png矿物。只输入minerals不加具体数值,会增加5000能量币。

矿物   minerals <数值>                   增加<数值>数量的Minerals.png矿物。只输入minerals不加具体数值,会增加5000矿物。

食物   food <数值>                       增加<数值>数量的Food.png食物。只输入food不加具体数值,会增加5000食物。

合金   alloys <数值>                   增加<数值>数量的Alloys.png合金。只输入alloys不加具体数值,会增加5000合金。

影响力   influence <数值>                   增加<数值>数量的Influence.png影响力。只输入influence,不加具体数值,会增加5000影响力(不开instant_build时会超过上限,所以实际只加到上限值)。

凝聚力   unity <数值>                   增加<数值>数量的 Unity.png凝聚力。只输入unity,不加具体数值,会增加5000凝聚力。

所有资源   rr 或 max_resources           只输入rr,增加所有资源至上限。经实测,未拥有开采科技的稀有战略资源(天然气,沼气等)不会有任何增加。

工业科研点数   engineering <数值>           增加<数值>数量的Engineering research.png工程学研究。只输入engineering,不加具体数值,会增加5000工程学点数。

社会研究点数   society <数值>               增加<数值>数量的Society research.png社会学研究。只输入society,不加具体数值,会增加5000社会学点数。

物理学点数   physics <数值>               增加<数值>数量的Physics research.png物理学研究。只输入physics,不加具体数值,会增加5000物理学点数。 

瞬间完成当前科技   finish_research   将当前所有科研槽的研发项目与特殊项目(如果存在)的进度更改为100%,于第二天结束研究

瞬间完成特殊项目   finish_special_projects   瞬间完成状态日志中所有特殊项目,事件链项目容易产生bug。

瞬间建造   instant_build   开关命令瞬间建造(包括升级太空港、添加太空港插槽模块),且建造费用为0,注意陆军、建造太空港需要第二天完成。

如果开启瞬间建造之前已经有队列,则需要第二天才能完成。瞬间建造不包括机械人口。警告:这也适用于敌人AI。

瞬间调查   survey   瞬间调查所有星球。危机警告:会导致先驱者任务线卡住

瞬间殖民   instant_colony   殖民船瞬间殖民(宜居度够即可)

舰队瞬间移动   tweakergui instant_move   开关命令 创建一个开关舰队瞬间移动的窗口

舰船无敌   invincible   开关命令我方舰队/空间站的闪避率提高到100%,因此不受伤害。

国家灭亡   kill_country   使当前游玩的国家瞬间灭亡

领导人死亡   kill_leader 领导人ID   使目标ID的领导人死亡

POP死亡   kill_pop pop ID   使目标ID的POP死亡

统治者死亡   kill_ruler ID   使目标ID的统治者死亡

新一轮选举   election   开始新一轮选举 

修改星球大小   planet_size <数值>   修改选定星球的大小,如果是可居住星球(包括轨道居住地),也会改变地块数量。

planetsize <数值>

崩溃   crash   使游戏崩溃

投降   surrender <x(投降者编号)> <y(战胜者编号)>   使x在对y的战斗中投降。

科技权重   techweights <phy/soc/eng>   显示当前的物理/社会/工程科技的权重,权重越大,下一个出现的概率越高。

更换科技列表   techupdate   重新生成可用科技的列表。

伤害   damage <数值>   对选定的舰队造成<数值>点伤害。(需要注意的是,这个伤害的来源将被认为是来自于空玩家)

同意条约   yesmen或debug_yesmen   开关命令AI总是同意玩家提出的条约(包括共同防御、组建联邦、停战协议、交易等)

拒绝条约   nomen或debug_nomen   开关命令AI总是拒绝玩家提出的条约

更换国家   play <数值>   玩id为<数值>的国家,包括失落帝国、原始文明、太空城邦、野怪、天灾等势力     tag <数值>

控制星球   control <数值>   控制(相当于陆军占领后的状态)id为<数值>的星球,没标明数值时控制选定星球或恒星基地。太空港归控制者。若双方未交战则自动归还。

选定即控制   control paint   开关命令开启后,选定的星球均会被玩家控制。

获得星球的所有权   own <数值>   占有id为<数值>的星球,若为未殖民星球则会产生一个主体种族人口。没标明数值时占有选定星球或恒星基地。

选定即拥有   own planet   开关命令开启后,选定的星球均会被玩家占有。 

      这些可以用于 research_technology 命令。

巨神兵 research_technology tech_colossus

地爆天星 research_technology tech_pk_cracker

安乐天使 research_technology tech_pk_shielder

中子灭杀 research_technology tech_pk_neutron

L-星门激活 research_technology tech_lgate_activation

L-星门 线索 research_technology tech_repeatable_lcluster_clue

试验性超空间航道脱离 research_technology tech_experimental_subspace_navigation

巨型结构工程  research_technology tech_mega_engineering   

科学枢纽  research_technology tech_science_nexus   

哨兵阵列  research_technology tech_sentry_array   

战略指挥中心  research_technology tech_strategic_coordination   

星际集会  research_technology tech_interstellar_assembly   

巨型艺术设施  research_technology tech_mega_art   

星门激活  research_technology tech_gateway_activation   

星门建造  research_technology tech_gateway_construction   

戴森球  research_technology tech_dyson_sphere   

物质解压器  research_technology tech_matter_decompressor   

环形世界  research_technology tech_ring_world   

巨型船坞  research_technology tech_mega_shipyard

护卫舰 research_technology tech_corvettes

驱逐舰 research_technology tech_destroyers

巡洋舰 research_technology tech_cruisers

战列舰 research_technology tech_battleships

泰坦 research_technology tech_titans

星港 research_technology tech_starbase_2

星垒 research_technology tech_starbase_3

星堡 research_technology tech_starbase_4

擎天堡 research_technology tech_starbase_5

模块化工程 research_technology tech_modular_engineering

虫洞稳定 research_technology tech_wormhole_stabilization

星门激活 research_technology tech_gateway_activation

星门建造 research_technology tech_gateway_construction

跃迁引擎 research_technology tech_jump_drive_1

零素材料  research_technology tech_ship_armor_5   

水晶复合镀层  research_technology tech_crystal_armor_1   

水晶锻造镀层  research_technology tech_crystal_armor_2

脉冲推进器  research_technology tech_thrusters_4

纳米矿物探测器 research_technology tech_space_mining_5

矿物提纯  research_technology tech_mineral_purification_1

先进矿物提纯  research_technology tech_mineral_purification_2

重型高射炮  research_technology tech_flak_batteries_3

掠夺者导弹  research_technology tech_missiles_5

毁灭者鱼雷  research_technology tech_torpedoes_3

暗物质推进  research_technology tech_dark_matter_propulsion

知性战斗模拟  research_technology tech_combat_computers_3   

自主舰船智能  research_technology tech_combat_computers_autonomous

量子场操控  research_technology tech_power_plant_4

全球能源管理  research_technology tech_power_hub_1

行星电力网  research_technology tech_power_hub_2

虫洞稳定  research_technology tech_wormhole_stabilization   

跃迁引擎  research_technology tech_jump_drive_1

聚能电弧发射器  research_technology tech_arc_emitter_2

食品加工  research_technology tech_food_processing_1

有机三飞升

图标   飞升天赋   代码

心胜于物   心胜于物   activate_ascension_perk ap_mind_over_matter

血肉苦弱   血肉苦弱   activate_ascension_perk ap_the_flesh_is_weak

基因重塑   基因重塑   activate_ascension_perk ap_engineered_evolution   

星球类型列表

名称  代码  代号

陆地星球  planet_class pc_continental   

人工智能星球  planet_class pc_ai   

盖亚星球  planet_class pc_gaia   

B型恒星  planet_class pc_b_star   

A型恒星  planet_class pc_a_star   

F型恒星  planet_class pc_f_star   

G型恒星  planet_class pc_g_star   

K型恒星  planet_class pc_k_star   

M型恒星  planet_class pc_m_star   

M型红巨星  planet_class pc_m_giant_star   

T型褐矮星  planet_class pc_t_star   

黑洞  planet_class pc_black_hole   

中子星  planet_class pc_neutron_star   

脉冲星  planet_class pc_pulsar