Console Command List - Ijwu/PhoenixPointModLoader GitHub Wiki
| CommandName | Description | ParentClass | MethodName |
|---|---|---|---|
| add_facility_buff | Give a facility buff to faction | GeoFactionFacilityBuffCollection | AddFacilityBuff |
| add_spec | Give specialization | GeoPhoenixFaction | AddSpec |
| ai_actor_status | Displays the status of the AIActor | AIUtil | AIActorStatus |
| ai_blackboard_data | (faction) - displays given faction blackboard data. | AIBlackboard | DisplayBlackboardData |
| ai_blackboard_enemies | (faction) - displays given faction blackboard enemies. | AIBlackboard | DisplayBlackboardEnemies |
| alien_add_evolution | Add evolution progress | GeoAlienFaction | AddEvolutionProgress |
| alien_add_sdi | Add progress to SDI | GeoAlienFaction | AddSDI |
| alien_expand_base | Expand base to max range | GeoAlienBase | ExpandAlienBase |
| alien_give_evolution | Give evolved bodypart as evolution | GeoAlienFaction | GiveEvolutionProgress |
| alien_promote_base | Promote alien base to a different type | GeoAlienBase | PromoteBase |
| alien_reroll_base | Reroll alien base' mutations | GeoAlienBase | RerollAlienBase |
| alien_reveal_phoenix | Reveals all phoenix bases to the aliens | GeoAlienFaction | RevealPhoenix |
| alien_set_evolution | Set progress of evolution | GeoAlienFaction | SetEvolutionProgress |
| alien_spawn_base | Spawn new alien base | GeoAlienFaction | SpawnAlienBase |
| alien_stats | Display stats about aliens. | GeoAlienFaction | AlienStats |
| alien_unlock_all_evolutions | Gives all evolutions to aliens | GeoAlienFaction | GiveAllEvolutions |
| ambush_protection_get | Get ambush protection value | GeoscapeEventSystem | GetAmbushProtection |
| ambush_protection_set | Set ambush protection value | GeoscapeEventSystem | SetAmbushProtection |
| analytics | (true/false) enable/disable analytics event sending | AmplitudeWebClient | AnalyticsCommand |
| apply_status | (Stun, Panic, Bleed, MindControl, Poison) - applies a status to the actor under the cursor | TacConsoleGameplay | ApplyStatus |
| assets_loaded_roots | (list_all) lists all currently loaded roots. | AssetsManager | DisplayLoadedRoots |
| attack_phoenix | Schedule an attack on phoenix base | GeoFaction | AttackPhoenix |
| base_can_toggle_power | Can power be toggled | UIModuleBaseLayout | DamageFacility |
| bind | Binds a console command to an input event | GameConsoleInput | BindCommand |
| blast | Spawn a blast at the cursor location | TacConsoleGameplay | Blast |
| build_instant | Set building/manufacturing/research to instant | GeoFaction | BuildInstant |
| camera_visibility | Toggle camera layers and focus on the map (options: all, chr, env, default) | CameraProfiler | ConsoleCall |
| can_stand_here | Checks if the selected character can stand at its place depending on its perception capsule collider | TacticalDeployZone | CanStandHere |
| cls | Clears the console screen | GameConsoleWindow | ClearScreenCommand |
| commands | Shows available commands | Helper | CommandsCommand |
| compare_nav_data | Compare save navigation data to current data | NavConsoleCommands | CompareNavData |
| copy | [slot] [-fac] [-class] [-ind] [-name] - copy things for use with other commands. Defaults: 0 slot, actor/pos under cursor. | TacConsoleCopyPaste | Copy |
| create_mission | Create and assign mission to a geo site | GeoSite | CreateMission |
| credits | Shows credits screen | GeoLevelController | ShowCredits |
| damage | [bodyPartSlot] (amount) - damages the actor under cursor or body part in any of his slots | TacConsoleGameplay | DamageActor |
| damagepart | (amount) - damages the body part under cursor | TacConsoleGameplay | DamageBodyPart |
| dd_modifiers | Test dynamic difficulty with a threat level and battle outcome | DynamicDifficultySystem | GetDynamicDifficultyModLogs |
| dd_prev_battles | Test dynamic difficulty with a threat level and battle outcome | DynamicDifficultySystem | GetDynamicDifficultyBattleLogs |
| debug_ai | [bool] enable/disable AI debug draws | AIUtil | DebugDrawAI |
| debug_context_draw | [name] [draw] - enable/disable debug context drawing. Setting to true will also enable all parent contexts to draw. | DbgContext | SetContextDraw |
| debug_context_list | [names...] - list debug contexts. If no context names are given, lists all contexts | DbgContext | ListContexts |
| debug_info | Write debug info in the log file | ReportIssueWindow | WriteDebugInfoCommand |
| debug_perception | [bool] enable/disable perception debug draws | TacticalPerceptionBase | DebugDrawAI |
| debug_voxel_matrix | (mapbounds/voxels/mistfront/firefront/emptyfront/firehealth/entities/actorbounds/mistspawners) [bool] enable/disable mist debug draws | TacticalVoxelMatrix | DebugDrawAI |
| delay | (seconds) (command) Runs the specified console command after some time | GameConsoleWindow | DelayCommand |
| delete_game | (name) Delete the named savegame | SerializationCommands | DeleteSavegame |
| despawn_voxel | - despawns a blob at the cursor position | TacticalVoxelMatrix | DespawnMistBlobCmd |
| diplomacy_get | Ge diplomacy table of a faction or a site's leader | GeoFaction | GetDiplomacy |
| diplomacy_get_haven | Get diplomacy table of a haven's leader | GeoFaction | GetDiplomacyForHaven |
| diplomacy_set | Set diplomacy between two factions | GeoFaction | SetDiplomacy |
| diplomacy_set_haven | Set diplomacy between faction and a haven | GeoFaction | SetDiplomacyForHaven |
| diplomacy_set_state | Set diplomacy state for phoenix with other faction | GeoPhoenixFaction | SetDplomacyState |
| dlc | Shows in game enabled dlc | PhoenixGame | ShowEnabledDlc |
| dmpsch | - dumps the current state of the update scheduler | TimingScheduler | DumpScheduler |
| dump_lights_with_shadows | LightingManager | DumpLightsWithShadows | |
| dump_system_info | Write the system info to the log file | PlatformGeneric | DumpSystemInfoConsole |
| end_turn_current_faction | TacticalFaction | ConsoleRequestEndTurn | |
| endgame | End the tactical game, setting winning/losing factions. Positive factions will win, negative will lose. | TacticalLevelController | EndGame |
| enter_battle_summary_state | enters UIStateBattleSummary | TacticalView | EnterBattleSummaryState |
| facility_dmg | Damage facility at coord {x, y} | UIModuleBaseLayout | DamageFacility |
| faction_relations | TacticalFaction | PrintFactionRelations | |
| find_tagged_sites | Find sites with tag | GeoSite | FindTaggedSites |
| focus_pos | Focus camera at position | GeoscapeView | FocusPosition |
| fow | (enable) - fog of war. | TacticalView | SetFogOfWar |
| fps_counter | [on] Show/hide the fps counter | FpsCounterWindow | ShowFpsCounter |
| game_difficulty | Set game difficulty | DynamicDifficultySystem | SetGameDifficulty |
| geo_add_hunger | Add hunger to all units | GeoFaction | AddHunger |
| geo_add_mist | Add mist to current site | GeoSite | AddMist |
| geo_add_repeller | Add mist repeller to current site | GeoSite | AddMistRepeller |
| geo_capture_alien | Capture an alien and put it in contaiment | GeoPhoenixFaction | CaptureAlien |
| geo_dec_haven_alert | Decrease haven's alertness | GeoHaven | DecreaseHavenAlertLevel |
| geo_event_enable | Enable event for triggering | GeoscapeEventSystem | EnableEvent |
| geo_event_find | Find location of an event, if it's assigned somewhere | GeoscapeEventSystem | FindEvent |
| geo_event_list | List all triggered events | GeoscapeEventSystem | ListTriggeredEvents |
| geo_event_set | Set an event for given site | GeoscapeEventSystem | SetSiteEvent |
| geo_event_status | Get info if event was triggered | GeoscapeEventSystem | EventStatus |
| geo_event_suppress | Supress any encounters from triggering | GeoscapeEventSystem | SetSiteEvent |
| geo_event_trigger | Triggers an event by id | GeoscapeEventSystem | TriggerEvent |
| geo_event_variable_get | Get value of custom event variable | GeoscapeEventSystem | GetVariable |
| geo_event_variable_set | Set value of custom event variable | GeoscapeEventSystem | SetVariable |
| geo_faction_attack | Schedule site attack from faction | GeoFaction | AttackFactionSite |
| geo_faction_mods | Print modifiers for geoscape faction | GeoFaction | GetFactionModifiers |
| geo_faction_stats | Print stats for geoscape faction | GeoFaction | FactionStats |
| geo_get_haven_alert | Get the alert status of a haven | GeoHaven | GetHavenAlertLevel |
| geo_inc_haven_alert | Increase haven's alertness | GeoHaven | IncreaseHavenAlertLevel |
| geo_mist | Toggle showing mist | GeoLevelController | SetMistVibile |
| geo_mist_status | Get mist stats of site | GeoSite | GetMistSatatus |
| geo_plots | Get all plots for missions | GeoLevelController | GetPlots |
| geo_set_hp | Set hp for all units | GeoFaction | SetHP |
| geo_set_stamina | Set stamina to all units | GeoFaction | SetStamina |
| geo_speed | Set speed of the geoscape | GeoLevelController | SetSpeed |
| geo_stats | Print various stats for the current level | GeoLevelController | PrintStats |
| geo_time | Shows what's the time on the Geoscape where the cursor is | GeoSite | GeoTime |
| geo_viewer | Set a faction as viewer faction | GeoLevelController | SetViewerFaction |
| geo_zone_add | Add zone to haven | GeoHaven | AddZone |
| get_current_research | Gets current research by faction | Research | GetCurrentFactionResearch |
| get_mist_voxels_for_propagation_iterations | [iterations] - get the voxels for number of propagation iterations starting from the mouse cursor | TacticalVoxelMatrix | GetVoxelsForPropagationIterationsCmd |
| get_research_state | Gets research state | Research | GetResearchState |
| get_vmp | Get maintenance points of the selected vehicle | GeoVehicle | GetVehicleMaintenancePoints |
| give | (item_id) - give an item to the actor under the cursor | TacConsoleGameplay | CmdGiveItem |
| give_item | Give items with givem item def's name, or everything with 'all' parameter | GeoFaction | GiveItem |
| give_mutations | Give all mutation items | GeoFaction | GiveMutations |
| give_recurit | Give soldier as it was recruited from haven | GeoHaven | GiveRecruit |
| give_soldier | Add solider to current selected actor that can have soldiers | GeoFaction | GiveSolider |
| give_sp | Give faction skill points | GeoPhoenixFaction | SetSpeed |
| give_xp | Give experience to all units | GeoFaction | GiveXP |
| heal | (amount) - heal the actor under the cursor | TacConsoleGameplay | HealActor |
| help | Shows command or variable description | Helper | HelpCommand |
| illumination | Check illumination factor for selected character at mouse cursor position. | TacConsoleGameplay | Illumination |
| include | (file path) - executes all the console commands in the specified file. If file does not exist it does nothing. | Helper | IncludeCommand |
| info | - shows info for what is under cursor. | TacConsoleInfos | PrintCursorInfo |
| is_faction_losing | (faction) - the faction which will be tested | TacticalFaction | IsFactionLosing |
| knowledge | (faction) - displays given faction knowledge (revealed, located). | TacticalView | DisplayKnowledge |
| languages | lists all languages and says which is current | LocalizationsTools | GetLang |
| launch_mission | Launches the active mission of the site under cursor with the soldiers from selected aircraft | GeoSite | LaunchActiveMission |
| list_actors | (detailed) [faction] displays list of all actors. | TacConsoleGameplay | ListActors |
| list_binds | Lists all commands bound to input events | GameConsoleInput | ListBindsCommand |
| list_games | List the names of all saved games | SerializationCommands | ListSavegames |
| list_stats | [stat_name] - lists the stats of the actor under the cursor. Optional stat_name to show return only that stat | TacConsoleGameplay | CmdListStats |
| list_statuses | lists the statuses of the actor under the cursor. | TacConsoleGameplay | CmdListStatuses |
| list_tactical_history | Show list of contribution history items for the actor under the cursor for this mission | TacConsoleGameplay | CmdListTacticalHistory |
| load_customization | Load customization from predifined soldiers customization | CharacterIdentity | LoadCustomization |
| load_game | (name) Load the saved game state from a savegame with the specified name | SerializationCommands | LoadGame |
| loadmap | (scene name) (random seed) [plot/parcel tags] - loads a level from the specified scene name | MapPlot | LoadMap |
| locate_all | sets located status to all. | TacticalView | LocateAll |
| lose | End the tactical game losing the battle for the player faction | TacticalLevelController | LoseGame |
| master_specialization | (specialization_def_name) - teach all abilities from specialization | TacConsoleGameplay | CmdMasterSpecialization |
| max_dynamic_diff | Set the max dynamic difficulty | DynamicDifficultySystem | SetMaxDynamicDifficulty |
| mission_details | displays mission details. | TacMission | MissionDetails |
| move_game | (name) (new_extension) Move the named savegame with a different file format and extension | SerializationCommands | CopySavegame |
| next_language | changes the language with the next one | LocalizationsTools | NextLang |
| open_report_window | Opens the F12 report issue window | ReportIssueInput | OpenWithConsole |
| paste | [slot] - print out the value/object copied on that slot. | TacConsoleCopyPaste | Paste |
| play_cutscene | Plays cutscene in the geoscape game. | GeoscapeView | PlayCutscene |
| play_tactical_cutscene | Plays cutscene in the tactical game. | TacticalView | PlayCutscene |
| play_voice_bark | [Def Name] Plays the voice bark | ACE_PlayVoiceBarks | PlayVoiceBark |
| plt_dbg | Test if plots load and unload properly during runtime. Takes target file name in Streaming Assets as argument. | PlotDebugger | ConsoleCall |
| population_set | Set haven's population | GeoHaven | SetPopulation |
| print_deploy_zone | Prints and logs the deploy zone of the actor under cursor | TacticalDeployZone | CmdPrintDeployZone |
| prof | (command) - Controls the mini profiler. Use 'help' command for list of commands | MiniProfiler | MiniProfilerCommand |
| propagate_fire | - propagates the fire entities | TacticalVoxelMatrix | PropagateFireCmd |
| propagate_mist | - propagates the mist entities | TacticalVoxelMatrix | PropagateMistCmd |
| px_base_stats | Get all phoenix base stats | GeoPhoenixBase | GetPhoenixBaseStats |
| quick_load | loads the quicksave | SerializationCommands | QuickLoad |
| quick_save | Save the current game state to a savegame called quicksave | SerializationCommands | QuickSave |
| range | - shows range to cursor from currently selected actor. | TacConsoleInfos | PrintRange |
| rangev | Set vehicle's remaining fuel range | GeoVehicle | RangeVehicle |
| recapture_portraits | regenerates portraits | SquadMemberScrollerController | ReCapturePortraits |
| refresh_localization | tries to download the translations from the online table | LocalizationManager | RefreshLocalizationRuntime |
| remove | - removes actor under cursor (kills him and hides the body). | TacConsoleGameplay | RemoveActor |
| remove_others | - removes all from faction but current actor under cursor | TacConsoleGameplay | RemoveOtherActors |
| require | (file path) - executes all the console commands in the specified file. If file does not exist, error is displayed. | Helper | RequireCommand |
| research | set research state | Research | ChangeResearchState |
| research_complete_all | Completes all reseaches for faction | Research | CompleteAllResearchesCheat |
| research_get | get researches with state | Research | GetResearchesCheat |
| research_of_state | get research of state | Research | GetResearchOfState |
| research_remove | remove research | Research | RemoveResearch |
| research_stats | get research stats | Research | GetResearchStats |
| research_unlock_all | Unlocks all researches for the current faction | Research | UnlockAllResearchesCheat |
| reset_tactical_view | reset UI state to character selected | TacticalView | ResetTacticalViewCmd |
| reveal_sites | Reveal all sites | GeoSitesRevealCheat | RevealSites |
| save_game | (name) [file_extension] Save the current game state to a savegame with the specified name | SerializationCommands | SaveGame |
| save_nav_data | Save navigation data to a file | NavConsoleCommands | SaveNavData |
| set_ai_actor_alerted | Set the alert status of an AIActor | AIUtil | AIActorStatus |
| set_ap | (amount) - sets action points of the actor under the cursor | TacConsoleGameplay | SetActionPoints |
| set_charges | (amount) - sets charges for the selected equipment of the actor | TacConsoleGameplay | SetCharges |
| set_console_style | (style) Changes the visual style of the debug console | GameConsoleWindow | ChangeConsoleVisualStyle |
| set_faction | (pp, nj, aln) - sets the faction of the actor under cursor | TacConsoleGameplay | SetFaction |
| set_infinite_ap | ACE_InfiniteAP | RunConsoleCommand | |
| set_language | sets the current language | LocalizationsTools | ChangeLang |
| set_lighting | Set scene lighting Def | LightingSettings | ConsoleCall |
| set_stat | (statname) (amount) - sets will points of the actor under the cursor | TacConsoleGameplay | SetStat |
| set_system_saves_shown | (enable) Should display system saves in load menu (and don't delete them). | PhoenixSaveManager | SetSystemSavesShown |
| set_traits | - set the ability traits of the actor under the cursor | TacConsoleGameplay | SetTraits |
| set_vmp | Set maintenance points to the selected vehicle | GeoVehicle | SetVehicleMaintenancePoints |
| set_voxel_intensity | Set a voxel's intensity | TacticalVoxelMatrix | SetVoxelIntensityCmd |
| set_wp | (amount) - sets will points of the actor under the cursor | TacConsoleGameplay | SetWillPoints |
| setvolume | (mixer: Master/Music/Ambience/Effects/UI) (volume from 0 to 1) - sets the volume of the specified mixer | AudioManager | SetVolumeCommand |
| show_me_the_money | You know what this is | GeoLevelController | GiveResources |
| silence_cameras | (silence) - silence action cameras. | TacticalView | SilenceCameras |
| site_destroy | Set site to destroyed | GeoSite | DestorySite |
| site_reveal | Reveal site on map | GeoSite | RevealSite |
| site_stats | Print vairous stats about a site | GeoSite | PrintStats |
| slots | - shows all body part slots of the character under cursor | TacConsoleGameplay | ListSlots |
| spawn | (spawn_id, faction: (pp, aln, ... | 1, 2, ...)) spawn an actor under the cursor. If faction is skipped the faction whose turn is at the moment is used | TacticalDeployZone | CmdSpawnActor |
| spawn_aircraft | Creates new aircraft in Geoscape | GeoLevelController | SpawnNewAircraft |
| spawn_recruit | Spawn recruit to haven. Optional parameter is class type( PX_Assault, NJ_Armadillo, etc.) | GeoHaven | SpawnHavenRecruit |
| spawn_voxel | [type] [vPos] [hRadius] [height] - spawns a blob at the cursor position | TacticalVoxelMatrix | SpawnBlobCmd |
| super_soldiers | Turn your soldiers into max level variant with all abilities | GeoFaction | GiveAll |
| teach | (ability_def_name) [bool] - teach an ability to the actor under the cursor (true - add to selected equipment, false - add to actor) | TacConsoleGameplay | CmdTeachAbility |
| test_ai_template | Calculates the action scores from the ai template of the actor under the cursor | AIUtil | TestAI |
| test_dyn_diff | Test dynamic difficulty with a threat level and battle outcome | DynamicDifficultySystem | RegisterBattleCheat |
| toggle_alien_base | Toggle displaying range of active alien bases | GeoAlienFaction | ToggleAlienBaseRange |
| toggle_anvil_cheats | AnvilCheatsUI | ToggleFromConsole | |
| toggle_cp | Toggle showing contribution points in tactical | TacticalContribution | ToggleShowContribution |
| toggle_god_mode | ACE_MakeImmortal | RunConsoleCommand | |
| toggle_ldp | Toggles the Level Design Profiler tool | LDPRuntimeComponent | Toggle |
| toggle_runtime_hierarchy | Toggles a preview window with the current level hierarchy during gameplay. | RuntimeHierarchyWindow | ToggleCommand |
| toggle_scanner_view | Toggle preview of previous scans | GeoSite | PreviewScanner |
| toggle_show_keys | shows localization keys instead of strings | LocalizationManager | ToggleShowKeys |
| toggle_sites | Toggl all sites visiblity | GeoSitesRevealCheat | ToggleSites |
| toggle_sites_range | Teleport the selected vehicle to the site under cursor | GeoSitesRevealCheat | ToggleSitesInRange |
| toggle_test_module | shows or hides a screen with the nested prefabs | UIModuleTestControls | ToggleTestModule |
| toggle_ui | - show/hide UI | TacticalUIOverlayController | ToggleUI |
| toggle_vehicles | Toggle all vehicles visiblity | GeoVehicle | ToggleVehicles |
| toggle_volume | (mixer: Master/Music/Ambience/Effects/UI) - switches mixer volume between 0 and 1 | AudioManager | ToggleVolumeCommand |
| tp | [paste slot] - teleports the selected actor to the cursor position | TacConsoleGameplay | Teleport |
| tpv | Teleport the selected vehicle to the site under cursor | GeoVehicle | TeleportVehicle |
| tutorial_complete | Finishes geoscape tutorial immediatly | GeoscapeTutorial | Complete |
| tutorial_enabled | Set tutorial enabled for next new game | GeoscapeTutorial | EnableTutorial |
| tutorial_show_step | Set tutorial enabled for next new game | GeoscapeTutorial | ShowTutorialStep |
| unapply_status | (Stun, MindControl, Poison, Frenzy) - unapplies a status to the actor under the cursor | TacConsoleGameplay | UnapplyStatus |
| unbind | Unbinds a console command from an input event | GameConsoleInput | UnbindCommand |
| unbind_all | Unbinds all commands bound to input events | GameConsoleInput | UnbindAllCommand |
| unlock_all_stuff | Unlock all locked things for a faction | GeoFaction | UnlockEverythingCheat |
| unlock_all_stuff_suppress | Unlock all locked things for a faction without throwing events | GeoFaction | UnlockEverythingCheatWithoutEvents |
| vars | Shows available variables | Helper | VarsCommand |
| vehicle_destroy | Destroy vehicles from site or under cursor | GeoVehicle | DestroyVehicle |
| version | Shows the current build version | RuntimeBuildInfo | VersionCommand |
| visit_all_px_bases | Visit all phoenix bases | GeoPhoenixFaction | VisitAllPhoenixBasesCheat |
| win | End the tactical game winning the battle for the player faction | TacticalLevelController | WinGame |
Page Details
Page was auto generated using the following LINQPad script. Markdown formatting done with VSCode and Excel. (LINQPad exports to Excel nicely.)
string path = @"..\Assembly-CSharp.dll";
var asm = Assembly.LoadFrom(path);
asm
.GetTypes()
.SelectMany(x => x.GetMethods())
.Where(x => x.GetCustomAttribute<ConsoleCommandAttribute>() != null)
.Select(x =>
{
var attr = x?.GetCustomAttribute<ConsoleCommandAttribute>();
if (attr == null) return null;
return new { CommandName = attr.Command, attr.Description, ParentClass = x?.ReflectedType?.Name, MethodName=x?.Name};
})
.OrderBy(x => x.CommandName)
.Dump();