Press ~ (unshifted) during game play to display the console window, then activate the following cheats by entering the corresponding codes:
CHEAT FUNCTION - CHEAT CODE Display help for desired command - ? 10% cheaper units in campaign mode - gamestop or bestbuy 40% bigger elephants in campaign mode - oliphaunt Walls fall down in siege in battle map mode - jericho Increase money [NOTE 1] - add_money <1-40000> Add population to indicated city - add_population Attacker or defender automatically wins next auto resolved battle. - auto_win Creates a unit in the selected settlement or characters army with the stats you input - create_unit Toggle fog of war - toggle_fow Give character the trait at indicated level - give_trait Complete all building in construction queue; can only be used once - process_cq Complete all military units in recruitment queue; can only be used once - process_rq Lists all traits - list_traits Move indicated character to desired coordinates - move_character Give points for indicated character's trait - give_trait_points Force opponent to accept diplomatic proposal - force_diplomacy General invincibile in combat - invulnerable_general Changes date - date Kill indicated character - kill_character Change season - season Capture indicated city - capture_settlement Toggle tabbed output window display - toggle_tow Toggle camera restrictions - toggle_restrictcam Give character an ancillary - give_ancillary Reset character to start of turn settings - character_reset Show cursor position and region ID - show_cursorstat Toggle the terrain to display various data sets; no parameter resets to normal - toggle_terrain Give character points for trait - give_trait_points List all available ancillaries - list_ancillaries Give the character movement points - mp List all characters in the world or those belonging to a faction - list_characters Show landing positions available to the AI from a given region; default hides them - show_landings Apply filter to world map coastlines - filter_coastlines Toggle strategy map coastline display - toggle_coastlines Set health of building of the specified type in a settlement - set_building_health Set maximum speed of turn processing during AI round - ai_turn_speed Set aerial map overlay depth bias for minimum zoom - amdb_min Set aerial map overlay depth bias for maximum zoom - amdb_max Set aerial map overlay offset towards camera - amdb_offset Zoom to specified aerial map zoom - zoom Set denominator of the faction ranking graph interval (calculated as number_of_turns divided by denominator); if 0, then denominator will be set to number_of_turns for an interval of 1 - set_ranking_interval Regenerate radar - regenerate_radar Adjust sea bed to specified height - adjust_sea_bed Reload all vertex shaders - reload_shaders Reload all textures - reload_textures Fire - toggle_game_update Toggle everyone's spying ability to perfect and infinite range - toggle_perfect_spy Toggle building debug mode - building_debug Force display reset cycle - reset_display Toggle underlay - toggle_underlay Toggle overlay - toggle_overlay Set diplomatic stance between the two factions - diplomatic_stance Unknown - shadow Unknown - ie Add all ancillary to the character info display - test_ancillary_localisation Toggle display of simple performance times of game update vs. display - perf_times Ignite all piggy winks - burn_piggies_burn Test the event message specified in descr_event_enums.txt - test_message Display defensive terrain features - show_terrain_lines Toggle message collation (sets all factions) - message_collation_set Toggle show all messages to all factions - show_all_messages Clear all stacked messages - clear_messages Unknown - puppify_my_love Unknown - reapply_rigid_model_influence Toggle display of campaign map flowing water - toggle_flowing_water Toggle display of network stats - nw_stats Toggle pr mode - toggle_pr List all units in an army - list_units Show victory message for faction for short or long campaign - victory Trigger advice - trigger_advice Damage wall of settlement - damage_wall Open victory scroll declaring that the given faction is the victor - test_victory_scroll Trigger unit upgrade effect - upgrade_effect Force local player's alliance to win the battle - force_battle_victory Force local player's alliance to lose the battle - force_battle_defeat Output positions of all units in the battle to the specified file - output_unit_positions Show all valid processed paths in pathfinder - show_battle_paths Show all valid processed paths in pathfinder for specific unit given a unit ID - show_battle_paths_for_unit Show the street plan for the settlement - show_battle_street_plan Display a marker at x, y for t seconds - show_battle_marker Display a circle at x, y of r radius for t seconds - show_battle_circle Remove faction from the game - kill_faction Create diplomacy mission - diplomacy_mission create event at position - event Switch player control to specified faction; old faction may not act correctly as AI faction - control Create building of the specified type in a settlement - create_building Disable AI - disable_ai Halts turn sequence just before the start of the specified faction's turn, or the current faction if no faction given - halt_ai Restarts an AI turn sequence - run_ai
NOTE 1: You must do this on the campaign map, and can only be done once per game. After the first time, you must save, quit, and restart the game to use it again. However, the latest patch will allow the codes to be used multiple times.