To enable the console
Open the Game.prefs file (use Notepad or another text editor). For Winddows XP, this file is located in ..\My Documents\My Games\Gas Powered Games\Demigod. Add the following lines to the beginning of the file (above the 'profile = {'):
debug = { enable_debug_facilities = true }
Save the file.
Start Demigods
Change video resolution to Windowed Mode
F9 opens up the Moho logger
The logger works at the main menu and in game.
The logger consumes a ton of system resources.
Ctrl + F10 restarts the scenario
The following list are the defined debug commands in the lua. They may not all work.
['Ctrl-L'] = 'debug_output_logs',
['Ctrl-A'] = 'debug_achievements',
['Ctrl-Alt-P'] = 'debug_navpath',
['Alt-F2'] = 'debug_create_unit',
['Alt-T'] = 'debug_teleport',
['Alt-A'] = 'debug_run_opponent_AI',
['Ctrl-Alt-B'] = 'debug_blingbling',
['Alt-Delete'] = 'debug_destroy_units',
['Ctrl-Alt-Comma'] = 'debug_graphics_fidelity_0',
['Ctrl-Alt-Period'] = 'debug_graphics_fidelity_1',
['Ctrl-Alt-Slash'] = 'debug_graphics_fidelity_2',
['Ctrl-Alt-M'] = 'debug_toggle_ren_environment',
['Alt-F3'] = 'debug_scenario_method_f3',
['Shift-F3'] = 'debug_scenario_method_shift_f3',
['Ctrl-F3'] = 'debug_scenario_method_ctrl_f3',
['Shift-F4'] = 'debug_scenario_method_shift_f4',
['Ctrl-F4'] = 'debug_scenario_method_ctrl_f4',
['Ctrl-Alt-F4'] = 'debug_scenario_method_ctrl_alt_f3',
['Ctrl-Shift-F4'] = 'debug_scenario_method_f4',
['Ctrl-Shift-F5'] = 'debug_scenario_method_f5',
['Shift-F5'] = 'debug_scenario_method_shift_f5',
['Ctrl-F5'] = 'debug_scenario_method_ctrl_f5',
['Ctrl-Alt-F5'] = 'debug_scenario_method_ctrl_alt_f5',
['Shift-F6'] = 'debug_create_entity',
['Shift-F7'] = 'debug_show_stats',
['Shift-F8'] = 'debug_show_army_stats',
['Shift-F9'] = 'debug_show_cvp_stats',
['Alt-F9'] = 'debug_open_lua_debugger',
['Alt-F11'] = 'debug_show_frame_stats',
['Ctrl-Alt-W'] = 'debug_render_wireframe',
['Ctrl-Shift-W'] = 'debug_weapons',
['Ctrl-Alt-O'] = 'debug_grid',
['Alt-Q'] = 'debug_show_focus_ui_control',
['Alt-W'] = 'debug_dump_focus_ui_control',
['Alt-D'] = 'debug_dump_ui_controls',
['Alt-V'] = 'debug_skeletons',
['Alt-B'] = 'debug_bones',
['Ctrl-Shift-X'] = 'debug_redo_console_command',
['Ctrl-Shift-C'] = 'debug_copy_units',
['Ctrl-Shift-V'] = 'debug_paste_units',
['Alt-C'] = 'debug_cam_zoom_near',
['Alt-N'] = 'debug_nodamage',
['Ctrl-Alt-E'] = 'debug_show_emitter_window',
['Ctrl-Alt-R'] = 'debug_reload_effect_templates',
['Ctrl-Alt-Shift-R'] = 'debug_reload_effect_utilities',
['Ctrl-Alt-Z'] = 'debug_sally_shears',
['Ctrl-Shift-Alt-C'] = 'debug_collision',
['Ctrl-Slash'] = 'debug_pause_single_step',
['Ctrl-F10'] = 'debug_restart_session',
['Alt-F'] = 'set_level_25',
['Alt-G'] = 'give_all_skills',
['Ctrl-U'] = 'debug_ui',
['Ctrl-Shift-Alt-D'] = 'debug_damage',
['Ctrl-Shift-U'] = 'debug_dump_frames',
['Ctrl-Shift-E'] = 'debug_erics_ring',
['Ctrl-NumMinus'] = 'debug_corpse_delay_decrease',
['Ctrl-NumPlus'] = 'debug_corpse_delay_increase',
['Ctrl-K'] = 'suicide',
['NumMinus'] = 'decrease_game_speed',
['NumPlus'] = 'increase_game_speed',
['NumStar'] = 'reset_game_speed',
['Ctrl-Alt-Shift-P'] = 'pause',