群星
ParaWikis
最新百科
都市天际线2百科
英雄无敌3百科
维多利亚3百科
奇妙探险队2百科
罪恶帝国百科
英白拉多:罗马百科
热门百科
群星百科
欧陆风云4百科
十字军之王2百科
十字军之王3百科
钢铁雄心4百科
维多利亚2百科
ParaWikis
申请建站
ParaWikis
ParaCommons
最近更改
随机页面
加入QQ群
工具
链入页面
相关更改
特殊页面
页面信息
页面值
阅读
编辑
编辑源代码
查看历史
讨论
编辑“
控制台命令
”
自由之民
(
讨论
|
贡献
)
2022年3月7日 (一) 18:12的版本
(自由之民移动页面
Console commands
至
控制台命令
)
(
差异
)
←上一版本
|
最后版本
(
差异
) |
下一版本→
(
差异
)
警告:您正在编辑的是本页面的旧版本。
如果您发布该更改,该版本后的所有更改都会丢失。
警告:
您没有登录。如果您做出任意编辑,您的IP地址将会公开可见。如果您
登录
或
创建
一个账户,您的编辑将归属于您的用户名,且将享受其他好处。
反垃圾检查。
不要
加入这个!
{{version|3.2}} {{Consolenav}} [[File:Ruler ids.png|thumb|320px|Console displaying all Ruler traits after not specifying one for a Ruler]] '''If you want to contribute to this page, which is a work in progress, in the console type "help" to see the list of commands, then to see a description and parameter of a command, type "help [command-name]", and put the corresponding details into the list.''' {{Hatnote|This page deals with commands used in the console. For the [[modding]] term, see [[effects]].}} This page lists the codes which may be input into the console window, a special debugging window which may be accessed on non-ironman games by pressing Shift+2, ALT+2+1, Shift+3,{{key press|§}}, {{key press|~}}, {{key press|^}}, {{key press|°}}, {{key press|²}}, or {{key press|`}} (key varies based on keyboard layout). For a QWERTY keyboard, the key is {{key press|`}}. Else, try pressing Shift + Alt + C if none of the above worked. Press the up or down arrow keys to traverse through previously executed commands. Many codes can be turned off by repeating the command, but sometimes reloading the save or exiting the game is necessary. == IDs == Most IDs are predefined and can be found on the [[ID]] page. Species, leader, empire and pop IDs however are defined when the game is created and have to be found with the <code>debugtooltip</code> command. * Species IDs can be read by hovering over a species in the species menu. If a modded starting system was not used the player's species will always be 0 for the main species and 1 for the syncretic/cyborg/bio-trophy/prepatent species. * Leader IDs can be read by hovering over a leader in the leaders or empire menus. If a modded starting system was not used the player's starting leaders will always be 0 (ruler), 1 (governor) and 2-5 (scientists). * Empire IDs can be read by hovering over an empire's flag in the contacts menu or its borders on the galaxy map. If a modded starting system was not used the player's empire will always be 0. * Ship IDs can be read by hovering over a ship in the fleet window. If a modded starting system was not used the player's starting science ship will always be 0. * Pop IDs can be read by hovering over a pop in the planet population tab. == Cheats == Cheats are console commands that can be used to give unfair advantages as opposed to sole testing purposes. {| class="wikitable" width="100%" ! Command ! style="width:55%" | Effect ! Parameters ! Example |- | activate_all_traditions || Activates all Traditions || None || activate_all_traditions |- | activate_ascension_perk || Activates the specified Ascension Perk, pressing tab reveals the names || [name] || activate_ascension_perk ap_mind_over_matter |- | activate_tradition || Activates the specified Tradition, pressing tab reveals the names || [tradition id] || activate_tradition tr_prosperity_sct |- | add_anomaly || Adds [anomaly id] to the selected celestial body || [anomaly id] || add_anomaly life_asteroid_category |- | add_intel || Adds [amount] of intel towards [target], default 10 || [target] [amount] || add_intel 1 100 |- | add_opinion || Increases the [source] empire's Opinion of the [target] empire by [amount], default 40 || [source] [target] [amount] || add_opinion 1 0 100 |- | add_pops || Creates [amount] of pops from [species id] on the selected planet, entering without ID reveals all species IDs || [species id] [amount] || add_pops 0 5 |- | add_relic || Grants [relic id], writing ''all'' instead of the ID grants all relics. Same relic can be added multiple times. || [relic id] || add_relic r_unbidden_warlock |- | add_ship || Creates a fleet with one ship of [design id], pressing tab reveals the NPC ship names<br>'''NOTE:''' Spawned juggernauts will not be able to build, upgrade or repair ships || [design id] || add_ship Avatar |- | add_spynetwork_value || Adds [amount] of infiltration progress on [target] || [target] [amount] || add_spynetwork_value 1 1000 |- | add_trait_leader || Adds [trait id] to [leader id], entering only the leader ID reveals all trait IDs for that class || [leader id] [trait id] || add_trait_leader 1 leader_trait_gale_speed |- | add_trait_species || Adds [trait id] to [species id] || [species id] [trait id] || add_trait_species 5 intelligent |- | ai || Toggles the AI on or off || None || ai |- | alloys || Adds [amount] of Alloys, default 5000 || [amount] || alloys 500 |- | build_pops || Adds [amount] of robot pops to the selected planet, only works if the empire has the technology to build robot pops || [amount] || build_pops 5 |- | cash || Adds [amount] of Energy Credits, defaults 5000 || [amount] || cash 500 |- | colonize || Starts the colonization process of the selected planet using a copy of the pop with the ID given, uncolonizable celestial bodies will not make colonization progress || [colonizer pop id] || colonize 1 |- | communications || Establishes communications with all empires || None || communications |- | create_megastructure || Creates a Megastructure in the current system, pressing tab reveals the IDs || [megastructure id] || create_megastructure gateway_final |- | create_navy || Creates a fleet using your most recent designs that uses [amount] percentage of Naval Capacity, 1 means 100% || [amount] || create_navy 0.5 |- | damage || All ships in the selected fleet take [amount] hull damage || [amount] || damage 100 |- | debug_nomen || AI empires always refuse player proposals || None || debug_nomen |- | debug_yesmen || AI empires always agree to player proposals || None || debug_yesmen |- | effect add_building = || Adds [building id] to the selected planet, multiple planet unique buildings will be removed a month after being added || [building id] || effect add_building = building_fe_dome |- | effect add_deposit = || Adds [deposit id] resource deposit or planetary feature to the selected celestial body || [deposit id] || effect add_deposit = d_arid_highlands |- | effect remove_deposit = || Removes [deposit id] resource deposit or planetary feature to the selected celestial body || [deposit id] || effect remove_deposit = d_arid_highlands |- | effect add_district = || Adds [district id] to the planet || [district id] || effect add_district = district_city |- | effect add_planet_devastation = || Adds [amount] of Devastation to the selected celestial body, negative values lower it || [amount] || effect add_planet_devastation = 10 |- | effect country_add_ethic = || Adds [ethic id] to the player empire, using more than 3 ethic points will remove lowest attraction ethics || [ethic id] || effect country_add_ethic = ethic_spiritualist |- | effect country_remove_ethic = || Removes [ethic id] from the player empire || [ethic id] || effect country_remove_ethic = ethic_spiritualist |- | effect create_archaeological_site = || Adds [archaeological site id] to the selected create_archaeological_site, enter random to create a random archeological site || [archaeological site id] || effect create_archaeological_site = lithoids_digsite |- | effect force_add_civic = || Adds [civic id] to the player empire, incompatible civics will remain inactive || [civic id] || effect force_add_civic = civic_corporate_dominion |- | effect force_remove_civic = || Removes [civic id] to the player empire || [civic id] || effect force_remove_civic = civic_meritocracy |- | effect remove_modifier = || Removes [modifier id] from the selected planet, or empire if none is selected || [modifier id] || effect remove_modifier = holy_planet |- | effect shift_ethic = || Shifts the player empire's ethics to [ethic id] || [ethic id] || effect shift_ethic = ethic_fanatic_spiritualist |- | election || Starts a ruler election || None || election |- | end_senate_session || Passes/fails the currently voted resolution || None || end_senate_session |- | engineering || Adds [amount] of Engineering tech points, default 5000 || [amount] || engineering 500 |- | event || Triggers [event id], planets can be selected manually but ships require [target id] || [event id] [target id] || event anomaly.1 0 |- | federation_add_experience || Adds [amount] of Experience to the Federation, default 1000 || [amount] || federation_add_experience 1200 |- | federation_add_cohesion || Adds [amount] of Cohesion to the Federation, default 200 || [amount] || federation_add_cohesion 10 |- | federation_add_cohesion_speed || Adds [amount] of Monthly Cohesion to the Federation, default 10 || [amount] || federation_add_cohesion_speed 10 |- | federation_examine_leader || Triggers a Federation succession || None || federation_examine_leader |- | finish_research || Finishes all active research || None || finish_research |- | finish_special_projects || Finishes all special projects || None || finish_special_projects |- | finish_terraform || Finishes all terraforming processes || None || finish_special_projects |- | food || Adds [amount] of Food, default 5000 || [amount] || food 500 |- | force_integrate || Integrates [target] empire into the player's empire || [target] || force_integrate 1 |- | force_senate_vote || Ends the current senate recess || None || end_senate_session |- | free_government || Toggles allowing player to change governments without the time limit || None || free_government |- | free_policies || Toggles allowing player to change policies without restriction, including policies previously disabled || None || free_policies |- | grow_pops || Adds [amount] of growing pops to selected planet, default 1 || [amount] || grow_pops 10 |- | influence || Adds [amount] of Influence, default 5000 || [amount] || influence 500 |- | instant_build || Toggles instantly finishing constructions and upgrades<br>{{red|WARNING:}} This also applies to enemy AI so only use while paused || none || instant_build |- | intel || Gives sight of the entire galaxy || None || intel |- | invincible || Player ships will not take damage || None || invincible |- | max_resources || Fills all resource storages || None || max_resources |- | minerals || Adds [amount] of Minerals, default 5000 || [amount] || minerals 500 |- | observe || Switches to observer mode, use the ''play'' command to revert control<br>{{red|WARNING:}} If the game is unpaused in observer mode the AI will take control of the player empire || None || observe |- | own || Take ownership and control of the selected fleet, starbase or planet, or if none is selected takes ownership of the planet ID given as an argument. Uncolonizable celestial bodies will be created as colonies but have no capital building || [planet id] || own |- | physics || Adds [amount] of Physics tech points, default 5000 || [amount] || physics 500 |- | planet_class || Changes the selected celestial body to [celestial body id] || [planet class id] || planet_class pc_arid |- | planet_happiness || Adds a modifier with [amount] Happiness to the selected planet, default 100 || [amount] || planet_happiness 25 |- | planet_size || Changes the Size of the selected planet, can go above regular sizes but above 78 will move the planet backwards || [size] || planet_size 30 |- | play || Switches player control to empire [empire ID] || [empire ID] || play 2 |- | remove_trait_leader || Removes [trait id] from [leader id], entering only the leader ID reveals the name for all current traits. || [leader id] [trait id or index] || remove_trait_leader 1 leader_trait_gale_speed |- | remove_trait_species || Removes [trait id] from [species id] || [species id] [trait id] || remove_trait_species 5 intelligent |- | research_all_technologies || Instantly researches all non-repeatable technologies. Add 1 for space creatures and crisis techs too. Add a second number for [amount] of repeatable technologies. || [boolean] [amount] || research_all_technologies 1 4 |- | research_technology || Instantly research [technology id] || [technology id] || research_technology tech_titans |- | resource || Adds [amount] of [resource], default 5000 || [amount] [resource] || resource consumer_goods 1000 |- | skills || Adds [amount] of skill levels to every leader under player control, default 1 || [amount] || skills 10 |- | skip_galactic_community_cooldowns || Allows proposing resolutions from the same group without cooldown || none || skip_galactic_community_cooldowns |- | society || Adds [amount] of Society tech points, default 5000 || [amount] || society 500 |- | survey || Surveys all planets, requires at least one science ship || None || survey |- | techupdate || Re-rolls the current available tech choices || None || techupdate |- | unity || Adds [amount] of Unity, default 500 || [amount] || unity 5000 |- | unlock_edicts || Unlocks all edicts || None || unlock_edicts |- | branchoffice || Take ownership of a planet branch office || None || branchoffice |- | minor_artifacts || Adds [amount] of Minor Artifacts, default 5000 || [amount] || minor_artifacts 5 |- | menace || Adds [amount] of Menace, default 5000 || [amount] || menace 1000 |- | imperial_authority || Adds [amount] of Imperial Authority, default 10 || [amount] || imperial_authority 20 |} === List of major events === {| class="wikitable" ! ID !! Major event !! Notes !! Required selection |- | anomaly.95 || Voyager 1 || Can start the Solar Coordinates event if the Sol system exists somewhere in the galaxy || Ship |- | anomaly.186 || Limbo || With the right technology and AI policies you can resurrect them as a new colony or as a new empire || Ship |- | anomaly.3085 || The Prince || Event with small but permanent opinion effects || Ship |- | anomaly.4051 || Echoes from the Deep || Grants the Improved Working Environment edict and positive modifiers || Ship |- | anomaly.4081 || Abandoned Sensor Array || Grants the Extensive Sensor Searches edict || Ship |- | anomaly.4105 || Fumes Lie Thick || Grants the Improved Energy Initiative edict || Ship |- | anomaly.4136 || Translating Settlers' Texts || Grants Master's Teachings: The Greater Good edict || None |- | anomaly.4141 || Translating Explorers' Texts || Grants Master's Teachings: Philosophical Mindset edict || None |- | anomaly.4151 || Translating Traders' Texts || Grants Master's Teachings: Diplomatic Trust edict || None |- | anomaly.4166 || Translating Warriors' Texts || Grants Master's Teachings: Warring States edict || None |- | colony.3005 || The Doorway || || Planet |- | colony.3007 || High-energy Dimension || Modifies the Dimensional Portal Job || Planet |- | colony.3008 || The Null Void || Modifies the Dimensional Portal Job || Planet |- | colony.3009 || Mirror Mirror || Modifies the Dimensional Portal Job || Planet |- | colony_mod.101 || Titanic Life Study: Success || Allows the recruitment of Titanic Beast armies || Planet |- | country.1 || Sublight Exploration Probes || || None |- | country.50 || Habitable Worlds Survey || || None |- | country.53 || Alien Specimen Procurement || || None |- | country.200 || Radical Cult || || None |- | country.250 || The Hunt for the Hyacinth || || None |- | country.1000 || Wanderlust: Rogue Scientist || || None |- | country.1100 || Mass Extinction Through the Ages || || None |- | crisis.199 || Prethoryn Scourge || Immediately spawns Prethoryn invaders. Use "crisis.10" to initiate the crisis' natural progression || None |- | crisis.50 || Rise of the Sentinels || Doesn't require the crisis but will add its sound effects || None |- | crisis.71 || Sentinel Fleet Donation || Doesn't require the crisis or the Sentinels || None |- | crisis.105 || Long live the Queen! || Spawns the Domesticated Prethoryn Queen || Ship |- | crisis.1000 || The Unbidden || || None |- | crisis.1100 || The Aberrant || Doesn't require the Unbidden || None |- | crisis.1200 || The Vehement || Requires the Unbidden || None |- | crisis.2000 || The Contingency || Skips the Ghost Signal events. Use "crisis.2005" to initiate the crisis' natural progression || None |- | crisis.2400 || Cybrex Return || Doesn't require the crisis || None |- | fallen_empires_awakening.1 || Sleepers Awake || Must select a Fallen Empire with the ''play'' command beforehand or YOU will awaken || None |- | fallen_empires_tasks.1 || A patronizing or machine Fallen Empire sends a random gift || || None |- | galactic_features.301 || Fallen Empire mothballed fleet || || Ship |- | galactic_features.401 || Space Storm Hits Galaxy || || None |- | galactic_features.403 || Space Storm Dissipates || || None |- | galcom.16 || The Birth of the Galactic Community || Option to instantly create or join the Galactic Community || None |- | nomad.1 || The Nomads || Will not spawn if a Sentry Array is completed || None |- | precursor.98 || Vultraum Home System Located || Spawns the Vultraum Home System || None |- | precursor.598 || Yuht Home System Located || Spawns the Yuht Home System || None |- | precursor.1098 || First League Home System Located || Spawns the First League Home System || None |- | precursor.1598 || Irassian Home System Located || Spawns the Irassian Home System || None |- | precursor.2098 || Cybrex Home System Located || Spawns the Cybrex Home System || None |- | story.107 || Amoebas Pacified || || None |- | story.207 || Crystals Pacified || || None |- | unrest.4200 || Unrest: Revolt || Targeted planet's population revolts and attempts to break away. Can be used on other empires. || Colony |- | action.96 || Birth of the Galactic Market || || None |- | akx.8888 || Horizon Signal || || Ship |- | leviathans.3103 || Dreadnought Repaired || || Ship |- | war_in_heaven.1000 || War in Heaven || Will awaken two fallen empires if none awakened || None |- | utopia.3000 || Enter the Shroud || Works even if still on cooldown || None |- | utopia.3021 || Avatar (army) || || None |- | utopia.3190 || The Chosen One || || None |- | utopia.3304 || Whisperers in the Void || Option to form a covenant || None |- | utopia.3305 || Composer of Strands || Option to form a covenant || None |- | utopia.3306 || Eater of Worlds || Option to form a covenant || None |- | utopia.3307 || Instrument of Desire || Option to form a covenant || None |- | utopia.3308 || End of the Cycle || Option to form a covenant || None |- | utopia.3320 || The Reckoning || Requires accepting the covenant in the previous event to work properly || None |- | syndaw.1000 || Machine Uprising || || None |- | fallen_machine_empire.1 || Ancient Caretakers Awaken || Must select the Ancient Caretakers with the ''play'' command beforehand or YOU will awaken || None |- | marauder.85 || Mercenaries Become Available || Must be triggered multiple times for each Marauder empire || None |- | marauder.500 || The Drums of War || Must select a Marauder Empire with the ''play'' command beforehand or YOU will become the Horde || None |- | distar.172 || Neural Symbiosis || Option to get the Brain Slug Host trait for some pops and leaders || Ship |- | distar.232 || Junk Ratlings || Creates the Ketling species if the Junk Ratling systems exist || None |- | distar.236 || Junk Ratlings || Creates the Ketling Star Pack empire if the Ketling species exists || None |- | distar.260 || Wild Eukaryotes || Creates a pre-sapient species with the Docile Livestock trait on the planet || Planet |- | distar.1001 || Paradise Lost || Creates a nearby system with the a Gaia World and a Stone Age civilization || None |- | distar.1081 || Azizians || Option to enable the recruitment of Azizian armies on a random owned world || None |- | distar.2050 || Alien Entity || Spawns the Enigmatic Cache in the galaxy || None |- | distar.3014 || The Nivlac (unfriendly) || Creates an empire with a permanent -100 opinion modifier || None |- | distar.3016 || The Nivlac (friendly) || Creates an empire with a permanent +100 opinion modifier || None |- | distar.5006 || The Voidspawn || The selected planet is turned into a cracked world from where a Voidspawn hatches || Planet |- | distar.11000 || Spawn L-Cluster || Spawns a sealed L-Cluser || None |- | distar.13000 || The L-Cluster (L-Drake) || Doesn't require the L-Cluster but will open every L-Gate as well || None |- | graygoo.1 || The L-Cluster (Gray Tempest) || Requires the L-Cluster to work || None |- | graygoo.100 || The L-Cluster (Dessanu Consonance) || Requires the L-Cluster to work || None |- | graygoo.400 || A Quiet Stroll || Encounter Grey || Ship |- | ancrel.4000 || Whispers in the Stone || Creates the Whispers in the Stone archaeology site || Planet |- | ancrel.6130 || Zarqulan's Chosen || Allows colonizing Holy Worlds and gives +150 permanent opinion from Holy Guardians || None |- | ancrel.10050 || Secrets of the Yuht || Unlocks the Initiate Yuht Cleansing Process decision || None |- | ancrel.10004 || Arcane Deciphering (Auto-Forge) || Unlocks a Fallen Empire building || None |- | ancrel.10005 || Arcane Deciphering (Sky-Dome) || Unlocks a Fallen Empire building || None |- | ancrel.10006 || Arcane Deciphering (Dimensional Fabricator) || Unlocks a Fallen Empire building || None |- | ancrel.10007 || Arcane Deciphering (Affluence Center) || Unlocks a Fallen Empire building || None |- | ancrel.10008 || Arcane Deciphering (Nourishment Center) || Unlocks a Fallen Empire building || None |- | ancrel.10009 || Arcane Deciphering (Class-4 Singularity) || Unlocks a Fallen Empire building || None |} == Testing commands == Testing commands are used for developer, beta tester or modder testing. {| class="wikitable sortable" style="font-size:90%; text-align:left" |- ! scope="col" style="width: 275px;" | Command ! scope="col" style="width: 750px;" | Description ! scope="col" style="width: 250px;" | Parameters ! scope="col" style="width: 300px;" | Example |- | 3dstats || Toggles 3D Stats (FPS and render time) || None || 3dstats |- | achievement_status || Print achievement status || None || achievement_status |- | activate_relic || Activates the triumph effect of [Relic ID] || [Pop ID] [Ethic Key] || activate_relic r_unbidden_warlock |- | add_ethic_pop || Add ethic to a pop || [Pop ID] [Ethic Key] || add_ethic_pop purged ethic_fanatic_authoritarian |- | advanced_galaxy || Simulates a game in year 2400 (every default empire gains colonies, technologies and fleets) || none || advanced_galaxy |- | ai_anomalies || Toggles whether human empires get ai-only anomalies || None || ai_anomalies |- | alienfx || Attempt to change computer lights with Alien FX || None || alienfx |- | ambient_object || Spawns an ambient object of the specified type. || [type] || ambient_object turbulent_nebula_2 |- | attackallfleets || Makes all player fleets target all other fleets || None || attackallfleets |- | audio.playeffect || Play the sound effect with the given name || None || TODO |- | audio.setactivegroup || Sets the active audio group || None || TODO |- | audio.testeffectweights || Test the random distribution of the weighs for a sound effect || None || TODO |- | berserk_ai || AI aggression set to 10 || None || berserk_ai |- | blend_post_effect || Blends to a new post effect setting || [nSetting] [vTime] [nMode] || TODO |- | borders || Calculates map borders || None || borders |- | casusbelli || Add a Casus Belli against the given target empire || [casus belli key] [country id] || casusbelli cb_subjugation 2 |- | check_save || Check save and load persistence || None || check_save |- | clear_debug_lines || Clears any persistent debug lines || None || clear_debug_lines |- | clear_debug_strings || Clears any persistent debug strings || None || clear_debug_strings |- | clearflag || Clears an event flag on a specific target || [type] [flag] [target id] || clearflag global prethoryn_invasion_happened |- | collision || Displays collision boxes and circles || None || collision |- | communications || Enable/disable communication with the target empire, leave with no arguments for all || [target country id] || communications 1 |- | contact || Starts first contact with all empires || None || contact |- | contacts_summary || Hides who holds casus belli on the contacts screen || None || contacts_summary |- | control || Used to occupy planets. If there is no war with the owner of [planet id] control will be reverted instantly. || [planet id] || control 50 |- | copy_pop || Copies a pop to the selected planet using the id of a single pop. || [pop id] || copy_pop 1247 |- | crash || Crash the game || None || crash |- | debug_achievements || TODO || None || debug_achievements |- | debug_achievements_clear || TODO || None || debug_achievements_clear |- | debug_dumpevents || Prints fired events || None || debug_dumpevents |- | debug_stats || Shows game performance stats || None || debug_stats |- | debuglines || Toggles debug lines on/off || None || debuglines |- | debugtexture || Debug drawer for textures || [texture name] [transparency] [alpha channel]|| debugtexture name 0,5 alpha |- | debugtooltip || Reveals debug info in tooltips such as pop ID for pops, and planet ID for planets. || None || tweakergui debugtooltip(pre 1.1) or debugtooltip(1.1) |- | deltat || Scales Delta Time with given value || [delta_t] [scale value] || TODO |- | democratic_election || Start a democratic ruler election || None || democratic_election |- | deposits || Shows stats for deposits || None || deposits |- | diplo_3rd_party || Does [[Gameplay_modding#Diplomatic_Actions|diplomacy]] between two players from 3rd party perspective. || [diplo] [actor id] [recipient id] || diplo_3rd_party action_offer_peace 1 4 |- | dump_ai_build_plan || Prints what the AI intends to construct next || None || dump_ai_build_plan |- | dump_origins || Prints all origins in the galaxy || None || dump_origins |- | effect || Executes an [[Effects|effect script]]. || None || effect crystal_hit_effect |- | effect remove_megastructure || Removes the selected megastructure || None || effect remove_megastructure = this |- | error || Show errors in log || None || error |- | eventscopes || Prints the scope trees of current events || None || <Event open> eventscopes |- | eventstats || Show event statistics. || None || eventstats |- | factions.showallfactions || Prints all factions and information on them. || None || factions.showallfactions |- | factions.showattraction || Prints attraction levels for every faction. || None || factions.showattraction |- | factions.spawnall || Spawns all possible factions. They will disappear immediately if 10 years haven't passed. || None || factions.spawnall |- | fast_forward || Fast forward a set amount of days || [amount of days] [observer] || fast_forward 100 |- | filewatcher || Toggles filewatcher || None || filewatcher |- | ftl || Enable/Disable unlimited FTL, obsolete || None || ftl |- | fullscreen || Toggles fullscreen || None || fullscreen |- | game_over || Executes the specified type of Game Over || [victory type index] || game_over 0 |- | game_paused || Pauses or resumes the game || Nine || game_paused |- | gfxculture || Sets graphical culture for player empire, pressing tab reveals the culture keys || [culture key] || gfxculture mammalian_01 |- | goto || Moves camera to position || [x] [y] || goto 10 10 |- | guibounds || Displays the bounds of GUI elements || None || guibounds ` |- | hdr || Toggles HDR || None || hdr |- | help || Prints the help documentation for a command. || [command name] || help human_ai |- | helphelp || No help for you! || None || helphelp |- | hsv || Converts RGB to HSV || None || hsv 25 25 25 |- | human_ai || Toggles AI for Human countries || None || human_ai |- | human_anomalies_for_ai || Allows the AI to get regular anomalies || None || human_anomalies_for_ai |- | info || Toggles Debug info. || None || info |- | kill_country || Kills the current empire. || None || kill_country |- | kill_leader || Kills specified leader. || [leader id] || kill_leader ? |- | kill_ruler || Kills current ruler. || None || Kills current ruler. |- | kill_pop || Kills [Pop ID] pop || [Pop ID] || kill_pop 745 |- | lockcamera || Locks the camera to the current position. || [debug_lockcamera, lockcamera] || lockcamera |- | map_names || Regenerates map names. || None || map_names |- | mature_galaxy || Simulates a 100 years old galaxy. || None || mature_galaxy |- | memtest || Used to test for memory leakage with certain functions. || [iterations] || memtest 1 |- | message || Shows every message type on the top bar. || None || message |- | nogui || Toggles GUI on/off || None || nogui |- | nomouse || Toggles mouse scrollwheel on\off || None || nomouse |- | one_year || Run the game for one year then logs how long it took. || None || one_year |- | overnight || Sets the game up for an overnight session. || [ticks per turn] || overnight 2 |- | particle || Toggles particle debug info. || None || particle crystal_hit_effect |- | particle.miplevels || TODO || None || TODO |- | particle.useringbuffer || TODO || None || TODO |- | particle.wireframe || TODO || None || TODO |- | particle_editor || Spawns a particle editor. || None || particle_editor |- | path || Finds path between stars. || [from index] [to index] || path 0 1 |- | peace_on_player || Targeted country offers peace on player. || [country id] || peace_on_player 05 |- | planets || Lists every type of planet and the amount of each. || None || planets |- | players || Lists every human player in the current game. || None || players |- | populate || Fills all housing on selected planet with pops<br>{{red|WARNING:}} Will hang the game as of version 3.2 || None || populate |- | pp || Gives the player minerals || [amount] || pp 1000 |- | production || Dumps some debug info about production || None || production |- | random_ruler || Replace the ruler with a new random one || None || random_ruler |- | rebuild_sectors || Rebuilds sector boundaries || None || rebuild_sectors |- | recalc_fleet_presence || Recalculates fleet presence cache, useful if loading old saves. || None || recalc_fleet_presence |- | regenerate_border_colors || Regenerates border colors for empires with the same primary color || None || regenerate_border_colors |- | reload || Reloads assets || [file name] || reload main.gui |- | reload_galaxy || Starts a new game || None || reload_galaxy |- | reload_graphical_map || Reloads the graphical map || None || reload_graphical_map |- | reloadfx || Reloads the shader || [arguments: map/mapname/postfx or *.fx filename] || reloadfx arrow |- | remove_ethic_pop || Removes an ethic from a target pop. || [pop id] [ethic key] || remove_ethic_pop ? ethic_xenophobe |- | remove_notification || Removes all notifications belonging to the player || [amount] || remove_notification 1 |- | rendertype || Prints the current` rendering type. || None || rendertype |- | resources || Show stats for resources || None || resources |- | reverse_diplo || Sends a [[Gameplay_modding#Diplomatic_Actions|diplomatic command]] from the target to the player. || [diplo] [id] || reverse_diplo action_invite_to_federation 01 |- | run || Runs the specified file with list of commands. File should be placed in the root Stellaris folder in your My Documents. File must be called '[insert file name here]' without the brackets. The file should be in the INI extension.|| None || run group_commands.ini |- | scaling || Enables/disable scaling of models. || None || scaling |- | smooth || Toggle framesmoothing || None || smooth |- | spawnentity || Spawns specified entity at cursor position. The entity names are found in the gfx folder in the .asset files. || [entity name] || spawnentity test_object_entity |- | srgb || Toggles RBG color mode || None || srgb |- | surrender || Surrender and gives in to all demands. Using only [country id] parameter lists wars with their appropriate war_ids for given country. || [country id] [war id] || List all wars for country with country_id = 5 along with their war_ids: surrender 5.<br> Force country with country_id = 5 to surrender in war with war_id = 19975: surrender 5 19975. |- | switchlanguage || Reload localization files and switches language || None || switchlanguage l_english |- | techweights || Prints weights for the tech tree of the player || [tech area] || techweights phy |- | test_achievement || Used to test an achievement trigger || [achievement] || test_achievement achievement_colonize |- | threading.taskthreadcount || Returns the number of CPU threads used || None || threading.taskthreadcount |- | ticks_per_turn || Controls the number of ticks per turn || [amount of ticks] || ticks_per_turn 10 |- | time || Returns the local system time || None || time |- | trigger || Tests a trigger script (*.txt) when placed in the \\Paradox Interactive\Stellaris\ folder || [trigger script] || trigger test_trigger |- | trigger_docs || Prints docs for triggers and effects || None || trigger_docs |- | trigger_file || Tests the trigger script, and crashes the game || None || trigger_file |- | version || Copies game version to clipboard || None || version |- | volume || Modifies music volume || [volume delta] || volume 20 |- | war || The first country declares war on the second with the given wargoal {| class="wikitable mw-collapsible mw-collapsed" style="font-size:90%;float:right;margin:0;" ! colspan="2" | ID list |- | Conquer|| wg_conquest |- | Liberate|| wg_liberation |- | Vassalize|| wg_subjugation |- | Make Tributary|| wg_tribute |- | Humiliate|| wg_humiliation |- | Impose Ideology|| wg_force_ideology |- | Humiliate (Fallen Empires)|| wg_fe_humiliation |- | Stop Atrocities (Fallen Empires)|| wg_fe_stop_atrocities |- | Cleanse Holy Worlds (Fallen Empires)|| wg_fe_cleanse_holy_worlds |- | Decontaminate Border Territories (Fallen Empires)|| wg_fe_cleanse_border_worlds |- | Outlaw AI (Fallen Empires)|| wg_fe_stop_ai |- | Domination|| wg_ae_domination |- | End Threat|| wg_end_threat |- | Cleansing|| wg_cleansing |- | Assimilation|| wg_assimilation |- | Absorption|| wg_absorption |- | War in Heaven|| wg_war_in_heaven |- | Machine Uprising|| wg_machine_uprising |- | Independence|| wg_independence |- | Assert Overlordship|| wg_assert_overlordship |- | Plunder|| wg_plunder |- | Total War|| wg_colossus |- | Stop Colossus|| wg_end_threat_colossus |} || [attacker country id] [defender country id] [war goal] || war 2 4 wg_independence |- | warexhaustion || Adds the given war exhaustion for all of an empire's active wars || [amount] || warexhaustion 75 |- | window || Opens an GUI window element || [arguments open/close] [window gui name] || window open advisor_window |- | wireframe || Toggles forced wireframe on/off || None || wireframe |} == TweakerGUI commands == * TweakerGUI commands are a specific sub-set of commands that spawn UI elements for toggling of commands preventing the need for re-opening the console and typing out the command again. * All commands in this sub-set ''''must'''' start with '''tweakergui'''. {{red|Warning:}} Closing TweakerGUI crashes the game as of 3.2. {| class="wikitable sortable" style="font-size:90%; text-align:left" |- ! scope="col" style="width: 275px;" | Command ! scope="col" style="width: 750px;" | Description ! scope="col" style="width: 250px;" | Parameters ! scope="col" style="width: 300px;" | Example |- | alerts.showall || Toggles displaying all UI alerts || None || tweakergui alerts.showall |- | draw.asteroids || Toggles rendering of asteroid belts. || None || tweakergui draw.asteroids |- | draw.background || Toggles rendering of the background space texture. || None || tweakergui draw.background |- | draw.borders || Toggles rendering of border colors and empire icons. || None || tweakergui draw.borders |- | draw.center || Toggles rendering of the galaxy center glow. || None || tweakergui draw.center |- | draw.clusters || Toggles rendering of white circles in the galaxy map. Empires seems to be distributed evenly across clusters. || None || tweakergui draw.clusters |- | draw.combatdebuglines || Toggles rendering of lines during combat showing which target a ship is focusing on. A line also shows where the ship was located before combat. || None || tweakergui draw.combatdebuglines |- | draw.dust || Toggles rendering of the galaxy dust. || None || tweakergui draw.dust |- | draw.greenscreen || Toggles rendering a green screen behind the background. Turning of the background (draw.background) will give you a totally greenscreened game that you can use for video purposes. You should also use line draw.navigationarrows and draw.systemlines. || None || tweakergui draw.greenscreen |- | draw.hyperlanes || Toggles rendering of hyperlanes. || None || tweakergui draw.hyperlanes |- | draw.names || Toggles rendering of empire and nebula names on the galaxy map. || None || tweakergui draw.names |- | draw.navigationarrows || Toggles rendering of the arrows and names towards neighbors of a system. (Crashed the game during first test, but might have been coincidence) || None || tweakergui draw.navigationarrows |- | draw.nebula || Toggles rendering of nebulas on the galaxy map. || None || tweakergui draw.nebula |- | draw.neighbors || Toggles rendering of cyan and yellow lines in the starmap. Cyan lines are drawn from a system to its neighbouring systems. Yellow lines divides the map into cells with each cell beloning to a single system. || None || tweakergui draw.neighbors |- | draw.objects || Toggles rendering of stars, ships, stations, planets and arrows towards neighboring systems. || None || tweakergui draw.objects |- | draw.pathtosystem || Displays a slider with default value -1. When a ship is selected a path will be rendered from the ship's system towards the system corresponding to the ID in the slider. An ETA is displayed for every jump made. ETA says "X Days", but seems to be 10x the amount of ingame days needed. (Possibly game ticks) || None || tweakergui draw.pathtosystem |- | draw.sensor || Toggles the green dashed circle (i.e. sensor range) around ships and owned systems. || None || tweakergui draw.sensor |- | draw.shipintersection || ? || None || tweakergui draw.shipintersection |- | draw.stars || Toggles rendering of stars and black holes on the galaxy map. || None || tweakergui draw.stars |- | draw.systeminit || Toggles rendering of the systems initialization template. I.e. a system starts with hostiles, made to suit as colony for nearby empire etc. || None || tweakergui draw.systeminit |- | draw.systemlines || Toggles rendering of systems planetary orbits, warp bounds and outer bounds. || None || tweakergui draw.systemlines |- | draw.tigrid || Toggles rendering of yellow grid in galaxy map. Use unknown. || None || tweakergui draw.tigrid |- | draw.trails || Toggles rendering of ships engine trails. || None || tweakergui draw.trails |- | draw.weaponlocators || Draws weapon locators. || None || tweakergui draw.weaponlocators |- | enable.ai || Enables AI. || None || tweakergui enable.ai |- | enable.asserts || Enables asserts. || None || tweakergui enable.asserts |- | enable.framesmoothing || Enables frame smoothing. || None || tweakergui enable.framesmoothing |- | endscreen || Displays the endscreen. || None || tweakergui endscreen |- | entity.names || Displays entity names. || None || tweakergui entity.names |- | entity.recursiveboundingvolumes || Displays recursive bounding volumes. || None || tweakergui entity.recursiveboundingvolumes |- | gui.wireframe || Displays the wireframe of the GUI. || None || tweakergui gui.wireframe |- | ignore_truce || Wars can be declared during truces || Toggle on and off. || tweakergui ignore_truce |- | instant_anomaly_research || Anomalies are researched instantly || Toggle on and off. || tweakergui instant_anomaly_research |- | instant_colony || Colony ships will no longer take time to settle. || Toggle on and off. || tweakergui instant_colony |- | instant_move || Ships will teleport instantly to right click cursor. || Toggle on and off. || tweakergui instant_move |- | instant_survey || Planets are surveyed instantly || Toggle on and off. || tweakergui instant_survey |- | maxfps || Limits the maximum FPS. Defaults to no limit (0). || None || tweakergui maxfps |- | mesh.miplevels || ? || None || tweakergui mesh.miplevels |- | mesh.names || || Displays the names of the .mesh file used for each model. || tweakergui mesh.names |- | mesh.texturenames || Displays the folder/filename of textures used for each model. || None || tweakergui mesh.texturenames |- | mesh.wireframe || Toggles the wireframe for models. || None || tweakergui mesh.wireframe |- | missilegfx.extratimepertick || ? || None || tweakergui missilegfx.extratimepertick |- | missilegfx.slowdownradius || ? || None || tweakergui missilegfx.slowdownradius |- | music.fade || ? || None || tweakergui music.fade |- | music.next || ? || None || tweakergui music.next |- | no_resources || ? || None || tweakergui no_resources |- | normals || Displays normalisation points on each mode. || None || tweakergui normals |- | pathfindcache || ? || None || tweakergui pathfindcache |- | pop_happiness || Forces pop happiness to specific level. || None || tweakergui pop_happiness |- | popfactionlogs || ? || None || tweakergui popfactionlogs |- | portraits || ? || None || tweakergui portraits |- | portraits.poplevel || ? || None || tweakergui portraits.poplevel |- | terraincognita || Used to reveal all uncharted space. || None || tweakergui terraincognita |} == Changing galactic imperium color == The color of the galactic empire can be changed mid-game while playing as the galactic emperor by copying the following command combination into the console and replacing the color name: <code> effect = { change_country_flag = { icon = { category = "special" file = "the_empire.dds" } background= { category = "backgrounds" file = "00_solid.dds" } colors={ "red" "red" "null" "null" } } } </code> The word <code>red</code> can be replaced by any color name to give a different color, such as <code>dark_blue</code> == See also== *[[Console commands/Species traits examples and descriptions]] *[[Console commands/Planetary features examples and descriptions]] *[[Console commands/Individual traits examples and descriptions]] == References == <references/>
摘要:
请注意您对群星百科的所有贡献都被认为是在知识共享署名-非商业性使用-相同方式共享下发布,请查看在
群星百科:版权
的细节。如果您不希望您的文字被任意修改和再散布,请不要提交。
您同时也要向我们保证您所提交的内容是您自己所作,或得自一个不受版权保护或相似自由的来源。
未经许可,请勿提交受版权保护的作品!
为防止机器编辑,请完成下方验证
取消
编辑帮助
(在新窗口中打开)
本页使用的模板:
Template:Color
(
编辑
)
Template:Consolenav
(
编辑
)
Template:Hatnote
(
编辑
)
Template:Infobox
(
编辑
)
Template:Infobox/row
(
编辑
)
Template:Key press
(
编辑
)
Template:Nowrap
(
编辑
)
Template:Red
(
编辑
)
Template:Version
(
编辑
)
×
登录
密码
记住登录
加入群星百科
忘记密码?
其他方式登录