Forged Alliance Forever Forged Alliance Forever Forums 2013-04-07T17:36:23+02:00 /feed.php?f=26&t=3267 2013-04-07T17:36:23+02:00 2013-04-07T17:36:23+02:00 /viewtopic.php?t=3267&p=37288#p37288 <![CDATA[Re: Cant use my lua.scd customized camera controls for recor]]> Statistics: Posted by SPAZ31 — 07 Apr 2013, 17:36


]]>
2013-03-21T15:54:08+02:00 2013-03-21T15:54:08+02:00 /viewtopic.php?t=3267&p=34917#p34917 <![CDATA[Re: Cant use my lua.scd customized camera controls for recor]]> Statistics: Posted by Ze_PilOt — 21 Mar 2013, 15:54


]]>
2013-03-16T02:40:50+02:00 2013-03-16T02:40:50+02:00 /viewtopic.php?t=3267&p=34187#p34187 <![CDATA[Re: Cant use my lua.scd customized camera controls for recor]]> Statistics: Posted by SPAZ31 — 16 Mar 2013, 02:40


]]>
2013-03-09T02:24:42+02:00 2013-03-09T02:24:42+02:00 /viewtopic.php?t=3267&p=33381#p33381 <![CDATA[Cant use my lua.scd customized camera controls for recording]]>

When my custom lua is in the gamedata folder FAF says I'm not using correct version, but when I put back the default, it works fine.

I can't add the keybinds I use for recording in the GAZ_UI. So I was hoping if my changes can be implemented somehow in FAF.

The changes I made are only in the keymap folder in lua.scd: defaultKeyMap.lua and keyactions.lua

I'd like to utilize the new shaders FAF comes with and start recording cinematic shots from replays.
If you know how to implement the changes into GAZ_UI, please put code in this forum and I can test it out.

Changes have the ********* on the line (just delete them for the changes to work)

defaultKeyMap.lua: scroll down till you see **************, scan through all content (1 at bottom)
Code:
-- Maps specific key combinations to console commands
-- Key combos should be seperated by -'s
-- See keyNames.lua for key names! Key names for modifiers are as follows and must be followed by a dash ('-')
-- Shift = 0x10
-- Ctrl = 0x11
-- Alt = 0x12
defaultKeyMap = {
    ['Esc']                 = 'escape',
    ['Pause']               = 'pause',
    ['Ctrl-F']              = 'cap_frame',
    ['Alt-L']               = 'toggle_lifebars',
    ['Ctrl-W']              = 'tog_military',
    ['Ctrl-E']              = 'tog_defense',
    ['Ctrl-R']              = 'tog_econ',
    ['Ctrl-N']              = 'rename',
    ['Home']                = 'split_screen_enable',
    ['End']                 = 'split_screen_disable',
    ['Alt-UpArrow']         = 'switch_layout_up',
    ['Alt-DownArrow']       = 'switch_layout_down',
    ['Alt-LeftArrow']       = 'switch_skin_down',
    ['Alt-RightArrow']      = 'switch_skin_up',

    ['F1']                  = 'toggle_key_bindings',
    ['F2']                  = 'toggle_score_screen',
    ['F3']                  = 'quick_save',
    ['F4']                  = 'toggle_diplomacy_screen',
    ['F5']                  = 'ping_alert',
    ['F6']                  = 'ping_move',
    ['F7']                  = 'ping_attack',
    ['F8']                  = 'ping_marker',
    ['F10']                 = 'toggle_main_menu',
    ['F11']                 = 'toggle_disconnect_screen',
   
    ['1']                   = 'group1',
    ['2']                   = 'group2',
    ['3']                   = 'group3',
    ['4']                   = 'group4',
    ['5']                   = 'group5',
    ['6']                   = 'group6',
    ['7']                   = 'group7',
    ['8']                   = 'group8',
    ['9']                   = 'group9',
    ['0']                   = 'group0',
    ['Ctrl-1']              = 'set_group1',
    ['Ctrl-2']              = 'set_group2',
    ['Ctrl-3']              = 'set_group3',
    ['Ctrl-4']              = 'set_group4',
    ['Ctrl-5']              = 'set_group5',
    ['Ctrl-6']              = 'set_group6',
    ['Ctrl-7']              = 'set_group7',
    ['Ctrl-8']              = 'set_group8',
    ['Ctrl-9']              = 'set_group9',
    ['Ctrl-0']              = 'set_group0',
    ['Shift-1']             = 'append_group1',
    ['Shift-2']             = 'append_group2',
    ['Shift-3']             = 'append_group3',
    ['Shift-4']             = 'append_group4',
    ['Shift-5']             = 'append_group5',
    ['Shift-6']             = 'append_group6',
    ['Shift-7']             = 'append_group7',
    ['Shift-8']             = 'append_group8',
    ['Shift-9']             = 'append_group9',
    ['Shift-0']             = 'append_group0',
    ['Ctrl-Shift-1']        = 'fac_group1',
    ['Ctrl-Shift-2']        = 'fac_group2',
    ['Ctrl-Shift-3']        = 'fac_group3',
    ['Ctrl-Shift-4']        = 'fac_group4',
    ['Ctrl-Shift-5']        = 'fac_group5',
    ['Ctrl-Shift-6']        = 'fac_group6',
    ['Ctrl-Shift-7']        = 'fac_group7',
    ['Ctrl-Shift-8']        = 'fac_group8',
    ['Ctrl-Shift-9']        = 'fac_group9',
    ['Ctrl-Shift-0']        = 'fac_group0',
    ['Ctrl-A']              = 'select_air',
    ['Ctrl-S']              = 'select_naval',
    ['Ctrl-L']              = 'select_land',
    ['Ctrl-Z']              = 'select_all_units_of_same_type',
    ['Ctrl-B']              = 'select_engineers',
    ['Shift-Period']        = 'goto_engineer',
    ['Alt-Period']          = 'select_idle_engineer',
    ['Period']              = 'cycle_engineers',
    ['Comma']               = 'goto_commander',
    ['Alt-Comma']           = 'select_commander',
    ['Ctrl-X']              = 'select_all',
    ['Ctrl-C']              = 'select_all_onscreen',
    ['Ctrl-Period']         = 'select_all_eng_onscreen',
    ['Ctrl-H']              = 'select_all_factory_onscreen',
    ['H']                   = 'select_nearest_factory',
    ['Ctrl-Shift-L']        = 'select_nearest_land_factory',
    ['Ctrl-Shift-A']        = 'select_nearest_air_factory',
    ['Ctrl-Shift-S']        = 'select_nearest_naval_factory',
    ['Shift-T']             = 'create_build_template',

    ['Tab']                 = 'next_cam_position',
    ['Shift-Tab']           = 'add_cam_position',
    ['Ctrl-Tab']            = 'rem_cam_position',
    ['Q']                   = 'zoom_in',
    ['W']                   = 'zoom_out',
    ['Shift-Q']             = 'zoom_in_fast',
    ['Shift-W']             = 'zoom_out_fast',
    ['T']                   = 'track_unit',
    ['Ctrl-Shift-T']        = 'track_unit_minimap',
    ['Ctrl-Alt-T']          = 'track_unit_second_mon',
    ['V']                   = 'reset_camera',
    ['Ctrl-V']              = 'cam_free',

    ['R']                   = 'repair',
    ['E']                   = 'reclaim',
    ['P']                   = 'patrol',
    ['A']                   = 'attack',
    ['C']                   = 'capture',
    ['S']                   = 'stop',
    ['D']                   = 'dive',
    ['F']                   = 'ferry',
    ['I']                   = 'guard',
    ['U']                   = 'transport',
    ['L']                   = 'launch_tactical',
    ['O']                   = 'overcharge',
    ['M']                   = 'move',
    ['N']                   = 'nuke',

    ['Shift-R']             = 'shift_repair',
    ['Shift-E']             = 'shift_reclaim',
    ['Shift-P']             = 'shift_patrol',
    ['Shift-A']             = 'shift_attack',
    ['Shift-C']             = 'shift_capture',
    ['Shift-S']             = 'shift_stop',
    ['Shift-D']             = 'shift_dive',
    ['Shift-F']             = 'shift_ferry',
    ['Shift-I']             = 'shift_guard',
    ['Shift-U']             = 'shift_transport',
    ['Shift-L']             = 'shift_launch_tactical',
    ['Shift-O']             = 'shift_overcharge',
    ['Shift-M']             = 'shift_move',
    ['Shift-N']             = 'shift_nuke',

    ['B']                   = 'toggle_build_mode',

    ['Z']                   = 'pause_unit',

    ['LeftBracket']         = 'mode',

    ['Ctrl-K']              = 'suicide',

    ['NumMinus']            = 'decrease_game_speed',
    ['NumPlus']             = 'increase_game_speed',
    ['NumStar']             = 'reset_game_speed',
**************['Num8']                = 'set_game_speed',**************
**************['Num9']                = 'set_game_speed10',**************
**************['Num1']                = 'set_camera_speed',**************
**************['Num2']                = 'set_camera_speed2',**************
**************['Num3']                = 'set_camera_speed3',**************
**************['Num4']                = 'set_rotate_speed1',**************
**************['Num5']                = 'set_rotate_speed2',**************
**************['Num6']                = 'set_rotate_speed3',**************

    ['PageUp']              = 'chat_page_up',
    ['PageDown']            = 'chat_page_down',
    ['Shift-PageUp']        = 'chat_line_up',
    ['Shift-PageDown']      = 'chat_line_down',

    ['NumSlash']            = 'show_fps',
}

debugKeyMap = {
    ['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_2',

    ['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',

    ['Ctrl-Alt-Shift-F8']   = 'debug_campaign_instawin',
    ['Shift-F6']            = 'debug_create_entity',
    ['Shift-F7']            = 'debug_show_stats',
    ['Shift-F8']            = 'debug_show_army_stats',
    ['F9']                  = 'debug_toggle_log_window',
    ['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-N']               = 'debug_nodamage',
    ['Ctrl-Alt-E']          = 'debug_show_emmitter_window',
    ['Ctrl-Alt-Z']          = 'debug_sally_shears',
    ['Ctrl-Shift-Alt-C']    = 'debug_collision',
    ['Ctrl-Slash']          = 'debug_pause_single_step',
    ['Ctrl-F10']            = 'debug_restart_session',
    ['Ctrl-Shift-F1']       = 'debug_toggle_pannels',
**************['Ctrl-U']              = 'debug_toggle_ui',**************
}



keyactions.lua: scroll til you see **************, scan through all content (1 at bottom)
Code:
-- describes the common set of actions that will be bound to keys
-- format is:
--  action - the console command to execute when the key is pressed
--  category - the category to list this action under in the key assign dialog
--  order - the sort order to list this action under its category

keyActions = {
    ['escape'] = {action = 'UI_Lua import("/lua/ui/uimain.lua").EscapeHandler()',
        category = 'ui', order = 1,},
    ['pause'] = {action = 'UI_Lua import("/lua/ui/game/tabs.lua").TogglePause()',
        category = 'ui', order = 3,},
    ['cap_frame'] = {action = 'Dump_Frame',
        category = 'ui', order = 4,},
    ['toggle_lifebars'] = {action =  'UI_RenderUnitBars',  category = 'ui', order = 1,},
    ['tog_military'] = {action =  'UI_Lua import("/lua/ui/game/multifunction.lua").ToggleMilitary()', 
        category = 'ui', order = 5,},
    ['tog_defense'] = {action =  'UI_Lua import("/lua/ui/game/multifunction.lua").ToggleDefense()', 
        category = 'ui', order = 6,},
    ['tog_econ'] = {action =  'UI_Lua import("/lua/ui/game/multifunction.lua").ToggleEconomy()', 
        category = 'ui', order = 7,},
    ['rename'] = {action =  'UI_ShowRenameDialog',  category = 'ui', order = 10,},
    ['split_screen_enable'] = {action =  'UI_Lua import("/lua/ui/game/borders.lua").SplitMapGroup(true)', 
        category = 'ui', order = 13,},
    ['split_screen_disable'] = {action =  'UI_Lua import("/lua/ui/game/borders.lua").SplitMapGroup(false)', 
        category = 'ui', order = 14,},
    ['switch_layout_up'] = {action =  'UI_RotateLayout +', 
        category = 'ui', order = 17,},
    ['switch_layout_down'] = {action =  'UI_RotateLayout -', 
        category = 'ui', order = 18,},
    ['switch_skin_down'] = {action =  'UI_RotateSkin -', 
        category = 'ui', order = 17,},
    ['switch_skin_up'] = {action =  'UI_RotateSkin +', 
        category = 'ui', order = 17,},
    ['toggle_key_bindings'] = {action = 'UI_Lua import("/lua/ui/dialogs/keybindings.lua").CreateUI()', 
        category = 'ui', order = 6,},
    ['toggle_score_screen'] = {action =  'UI_Lua import("/lua/ui/game/tabs.lua").ToggleScore()', 
        category = 'ui', order = 1,},
    ['quick_save'] = {action =  'UI_Lua import("/lua/ui/game/gamemain.lua").QuickSave(LOC("<LOC QuickSave>QuickSave"))', 
        category = 'ui', order = 23,},
    ['toggle_diplomacy_screen'] = {action =  'UI_Lua import("/lua/ui/game/tabs.lua").ToggleTab("diplomacy")', 
        category = 'ui', order = 4,},
    ['ping_alert'] = {action =  'UI_Lua import("/lua/ui/game/ping.lua").DoPing("alert")', 
        category = 'ui', order = 22,},
    ['ping_move'] = {action =  'UI_Lua import("/lua/ui/game/ping.lua").DoPing("move")', 
        category = 'ui', order = 23,},
    ['ping_attack'] = {action =  'UI_Lua import("/lua/ui/game/ping.lua").DoPing("attack")',
        category = 'ui', order = 24,},
    ['ping_marker'] = {action =  'UI_Lua import("/lua/ui/game/ping.lua").DoPing("marker")', 
        category = 'ui', order = 25,},
    ['toggle_main_menu'] = {action =  'UI_Lua import("/lua/ui/game/tabs.lua").ToggleTab("main")', 
        category = 'ui', order = 4,},
    ['toggle_disconnect_screen'] = {action =  'UI_Lua import("/lua/ui/game/connectivity.lua").CreateUI()', 
        category = 'ui', order = 21,},
    ['group1'] = {action = 'UI_ApplySelectionSet 1', 
        category = 'selection', order = 1,},
    ['group2'] = {action =  'UI_ApplySelectionSet 2', 
        category = 'selection', order = 2,},
    ['group3'] = {action =  'UI_ApplySelectionSet 3', 
        category = 'selection', order = 3,},
    ['group4'] = {action =  'UI_ApplySelectionSet 4', 
        category = 'selection', order = 4,},
    ['group5'] = {action =  'UI_ApplySelectionSet 5', 
        category = 'selection', order = 5,},
    ['group6'] = {action =  'UI_ApplySelectionSet 6', 
        category = 'selection', order = 6,},
    ['group7'] = {action =  'UI_ApplySelectionSet 7', 
        category = 'selection', order = 7,},
    ['group8'] = {action =  'UI_ApplySelectionSet 8', 
        category = 'selection', order = 8,},
    ['group9'] = {action =  'UI_ApplySelectionSet 9', 
        category = 'selection', order = 9,},
    ['group0'] = {action =  'UI_ApplySelectionSet 0', 
        category = 'selection', order = 10,},
    ['set_group1'] = {action =  'UI_MakeSelectionSet 1', 
        category = 'selection', order = 11,},
    ['set_group2'] = {action =  'UI_MakeSelectionSet 2', 
        category = 'selection', order = 12,},
    ['set_group3'] = {action =  'UI_MakeSelectionSet 3', 
        category = 'selection', order = 13,},
    ['set_group4'] = {action =  'UI_MakeSelectionSet 4', 
        category = 'selection', order = 14,},
    ['set_group5'] = {action =  'UI_MakeSelectionSet 5', 
        category = 'selection', order = 15,},
    ['set_group6'] = {action =  'UI_MakeSelectionSet 6', 
        category = 'selection', order = 16,},
    ['set_group7'] = {action =  'UI_MakeSelectionSet 7', 
        category = 'selection', order = 17,},
    ['set_group8'] = {action =  'UI_MakeSelectionSet 8', 
        category = 'selection', order = 18,},
    ['set_group9'] = {action =  'UI_MakeSelectionSet 9', 
        category = 'selection', order = 19,},
    ['set_group0'] = {action =  'UI_MakeSelectionSet 0', 
        category = 'selection', order = 20,},
    ['append_group1'] = {action =  'UI_Lua import("/lua/ui/game/selection.lua").AppendSetToSelection(1)', 
        category = 'selection', order = 21,},
    ['append_group2'] = {action =  'UI_Lua import("/lua/ui/game/selection.lua").AppendSetToSelection(2)', 
        category = 'selection', order = 22,},
    ['append_group3'] = {action =  'UI_Lua import("/lua/ui/game/selection.lua").AppendSetToSelection(3)', 
        category = 'selection', order = 23,},
    ['append_group4'] = {action =  'UI_Lua import("/lua/ui/game/selection.lua").AppendSetToSelection(4)', 
        category = 'selection', order = 24,},
    ['append_group5'] = {action =  'UI_Lua import("/lua/ui/game/selection.lua").AppendSetToSelection(5)', 
        category = 'selection', order = 25,},
    ['append_group6'] = {action =  'UI_Lua import("/lua/ui/game/selection.lua").AppendSetToSelection(6)', 
        category = 'selection', order = 26,},
    ['append_group7'] = {action =  'UI_Lua import("/lua/ui/game/selection.lua").AppendSetToSelection(7)', 
        category = 'selection', order = 27,},
    ['append_group8'] = {action =  'UI_Lua import("/lua/ui/game/selection.lua").AppendSetToSelection(8)', 
        category = 'selection', order = 28,},
    ['append_group9'] = {action =  'UI_Lua import("/lua/ui/game/selection.lua").AppendSetToSelection(9)', 
        category = 'selection', order = 29,},
    ['append_group0'] = {action =  'UI_Lua import("/lua/ui/game/selection.lua").AppendSetToSelection(0)', 
        category = 'selection', order = 30,},
    ['fac_group1'] = {action =  'UI_Lua import("/lua/ui/game/selection.lua").FactorySelection(1)', 
        category = 'selection', order = 31,},
    ['fac_group2'] = {action =  'UI_Lua import("/lua/ui/game/selection.lua").FactorySelection(2)', 
        category = 'selection', order = 32,},
    ['fac_group3'] = {action =  'UI_Lua import("/lua/ui/game/selection.lua").FactorySelection(3)', 
        category = 'selection', order = 33,},
    ['fac_group4'] = {action =  'UI_Lua import("/lua/ui/game/selection.lua").FactorySelection(4)', 
        category = 'selection', order = 34,},
    ['fac_group5'] = {action =  'UI_Lua import("/lua/ui/game/selection.lua").FactorySelection(5)', 
        category = 'selection', order = 35,},
    ['fac_group6'] = {action =  'UI_Lua import("/lua/ui/game/selection.lua").FactorySelection(6)', 
        category = 'selection', order = 36,},
    ['fac_group7'] = {action =  'UI_Lua import("/lua/ui/game/selection.lua").FactorySelection(7)', 
        category = 'selection', order = 37,},
    ['fac_group8'] = {action =  'UI_Lua import("/lua/ui/game/selection.lua").FactorySelection(8)', 
        category = 'selection', order = 38,},
    ['fac_group9'] = {action =  'UI_Lua import("/lua/ui/game/selection.lua").FactorySelection(9)', 
        category = 'selection', order = 39,},
    ['fac_group0'] = {action =  'UI_Lua import("/lua/ui/game/selection.lua").FactorySelection(0)', 
        category = 'selection', order = 40,},
    ['select_air'] = {action =  'UI_SelectByCategory +excludeengineers AIR MOBILE',
        category = 'selection', order = 41,},
    ['select_naval'] = {action =  'UI_SelectByCategory +excludeengineers NAVAL MOBILE', 
        category = 'selection', order = 42,},
    ['select_land'] = {action =  'UI_SelectByCategory +excludeengineers LAND MOBILE', 
        category = 'selection', order = 43,},
    ['select_all_units_of_same_type'] = {action =  'UI_ExpandCurrentSelection', 
        category = 'selection', order = 44,},
    ['select_engineers'] = {action =  'UI_SelectByCategory ENGINEER', 
        category = 'selection', order = 45,},
    ['goto_engineer'] = {action =  'UI_SelectByCategory +nearest +idle +goto ENGINEER', 
        category = 'selection', order = 46,},
    ['select_idle_engineer'] = {action =  'UI_SelectByCategory +nearest +idle ENGINEER', 
        category = 'selection', order = 47,},
    ['cycle_engineers'] = {action =  'UI_Lua import("/lua/ui/game/avatars.lua").GetEngineerGeneric()', 
        category = 'selection', order = 48,},
    ['goto_commander'] = {action =  'UI_SelectByCategory +nearest +goto COMMAND', 
        category = 'selection', order = 49,},
    ['select_commander'] = {action =  'UI_SelectByCategory +nearest COMMAND', 
        category = 'selection', order = 50,},
    ['select_all'] = {action =  'UI_SelectByCategory ALLUNITS', 
        category = 'selection', order = 51,},
    ['select_all_onscreen'] = {action =  'UI_SelectByCategory +inview ALLUNITS', 
        category = 'selection', order = 52,},
    ['select_all_eng_onscreen'] = {action =  'UI_SelectByCategory +inview ENGINEER', 
        category = 'selection', order = 53,},
    ['select_all_factory_onscreen'] = {action =  'UI_SelectByCategory +inview FACTORY', 
        category = 'selection', order = 54,},
    ['select_nearest_factory'] = {action =  'UI_SelectByCategory +nearest FACTORY', 
        category = 'selection', order = 55,},
    ['select_nearest_land_factory'] = {action =  'UI_SelectByCategory +nearest LAND FACTORY', 
        category = 'selection', order = 56,},
    ['select_nearest_air_factory'] = {action =  'UI_SelectByCategory +nearest AIR FACTORY', 
        category = 'selection', order = 57,},
    ['select_nearest_naval_factory'] = {action =  'UI_SelectByCategory +nearest NAVAL FACTORY', 
        category = 'selection', order = 58,},
    ['next_cam_position'] = {action =  'UI_Lua import("/lua/ui/game/zoomslider.lua").RecallCameraPos()', 
        category = 'camera', order = 1,},
    ['add_cam_position'] = {action =  'UI_Lua import("/lua/ui/game/zoomslider.lua").SaveCameraPos()', 
        category = 'camera', order = 2,},
    ['rem_cam_position'] = {action =  'UI_Lua import("/lua/ui/game/zoomslider.lua").RemoveCamPos()', 
        category = 'camera', order = 3,},
    ['zoom_in'] = {action =  'UI_Lua import("/lua/ui/game/zoomslider.lua").ZoomIn(.02)', 
        category = 'camera', order = 4, keyRepeat = true,},
    ['zoom_out'] = {action =  'UI_Lua import("/lua/ui/game/zoomslider.lua").ZoomOut(.02)', 
        category = 'camera', order = 5, keyRepeat = true,},
    ['zoom_in_fast'] = {action =  'UI_Lua import("/lua/ui/game/zoomslider.lua").ZoomIn(.08)', 
        category = 'camera', order = 6,},
    ['zoom_out_fast'] = {action =  'UI_Lua import("/lua/ui/game/zoomslider.lua").ZoomOut(.08)', 
        category = 'camera', order = 7,},
    ['track_unit'] = {action =  'UI_TrackUnit WorldCamera', 
        category = 'camera', order = 8,},
    ['track_unit_minimap'] = {action =  'UI_TrackUnit MiniMap', 
        category = 'camera', order = 9,},
    ['track_unit_second_mon'] = {action =  'UI_TrackUnit CameraHead2', 
        category = 'camera', order = 10,},
    ['reset_camera'] = {action =  'UI_Lua import("/lua/ui/game/zoomslider.lua").ToggleWideView()', 
        category = 'camera', order = 11,},
    ['cam_free'] = {action =  'Cam_Free', 
        category = 'camera', order = 13,},
    ['repair'] = {action =  'StartCommandMode order RULEUCC_Repair', 
        category = 'orders', order = 9,},
    ['reclaim'] = {action =  'StartCommandMode order RULEUCC_Reclaim', 
        category = 'orders', order = 7,},
    ['patrol'] = {action =  'StartCommandMode order RULEUCC_Patrol', 
        category = 'orders', order = 5,},
    ['attack'] = {action =  'StartCommandMode order RULEUCC_Attack', 
        category = 'orders', order = 13,},
    ['capture'] = {action =  'StartCommandMode order RULEUCC_Capture', 
        category = 'orders', order = 21,},
    ['stop'] = {action =  'IssueCommand Stop', 
        category = 'orders', order = 1,},
    ['dive'] = {action =  'UI_Lua import("/lua/ui/game/orders.lua").ToggleDiveOrder()', 
        category = 'orders', order = 27,},
    ['ferry'] = {action =  'StartCommandMode order RULEUCC_Ferry', 
        category = 'orders', order = 19,},
    ['guard'] = {action =  'StartCommandMode order RULEUCC_Guard', 
        category = 'orders', order = 17,},
    ['transport'] = {action =  'StartCommandMode order RULEUCC_Transport', 
        category = 'orders', order = 3,},
    ['launch_tactical'] = {action =  'StartCommandMode order RULEUCC_Tactical', 
        category = 'orders', order = 25,},
    ['overcharge'] = {action =  'UI_Lua import("/lua/ui/game/orders.lua").EnterOverchargeMode()', 
        category = 'orders', order = 23,},
    ['move'] = {action =  'StartCommandMode order RULEUCC_Move', 
        category = 'orders', order = 11,},
    ['nuke'] = {action =  'StartCommandMode order RULEUCC_Nuke', 
        category = 'orders', order = 15,},
    ['shift_repair'] = {action =  'StartCommandMode order RULEUCC_Repair', 
        category = 'orders', order = 10,},
    ['shift_reclaim'] = {action =  'StartCommandMode order RULEUCC_Reclaim', 
        category = 'orders', order = 8,},
    ['shift_patrol'] = {action =  'StartCommandMode order RULEUCC_Patrol', 
        category = 'orders', order = 6,},
    ['shift_attack'] = {action =  'StartCommandMode order RULEUCC_Attack', 
        category = 'orders', order = 14,},
    ['shift_capture'] = {action =  'StartCommandMode order RULEUCC_Capture', 
        category = 'orders', order = 22,},
    ['shift_stop'] = {action =  'IssueCommand Stop', 
        category = 'orders', order = 2,},
    ['shift_dive'] = {action =  'UI_Lua import("/lua/ui/game/orders.lua").ToggleDiveOrder()', 
        category = 'orders', order = 28,},
    ['shift_ferry'] = {action =  'StartCommandMode order RULEUCC_Ferry', 
        category = 'orders', order = 20,},
    ['shift_guard'] = {action =  'StartCommandMode order RULEUCC_Guard', 
        category = 'orders', order = 18,},
    ['shift_transport'] = {action =  'StartCommandMode order RULEUCC_Transport', 
        category = 'orders', order = 4,},
    ['shift_launch_tactical'] = {action =  'StartCommandMode order RULEUCC_Tactical', 
        category = 'orders', order = 26,},
    ['shift_overcharge'] = {action =  'UI_Lua import("/lua/ui/game/orders.lua").EnterOverchargeMode()', 
        category = 'orders', order = 24,},
    ['shift_move'] = {action =  'StartCommandMode order RULEUCC_Move', 
        category = 'orders', order = 12,},
    ['shift_nuke'] = {action =  'StartCommandMode order RULEUCC_Nuke', 
        category = 'orders', order = 16,},
    ['toggle_build_mode'] = {action =  'UI_Lua import("/lua/ui/game/buildmode.lua").ToggleBuildMode()', 
        category = 'orders', order = 30,},
    ['pause_unit'] = {action =  'UI_Lua import("/lua/ui/game/construction.lua").ToggleUnitPause()', 
        category = 'orders', order = 31,},
    ['mode'] = {action =  'UI_Lua import("/lua/ui/game/orders.lua").CycleRetaliateStateUp()', 
        category = 'orders', order = 32,}, #cut?
    ['suicide'] = {action =  'UI_Lua import("/lua/ui/game/confirmunitdestroy.lua").ConfirmUnitDestruction()', 
        category = 'orders', order = 29,},
    ['decrease_game_speed'] = {action =  'UI_Lua import("/lua/ui/uimain.lua").DecreaseGameSpeed()', 
        category = 'game', order = 1,},
    ['increase_game_speed'] = {action =  'UI_Lua import("/lua/ui/uimain.lua").IncreaseGameSpeed()', 
        category = 'game', order = 2,},
    ['reset_game_speed'] = {action =  'WLD_ResetSimRate', 
        category = 'game', order = 3,},
   **************['set_game_speed'] = {action =  'WLD_GameSpeed -8', 
        category = 'game', order = 3,},**************
**************['set_game_speed10'] = {action =  'WLD_GameSpeed 10', 
        category = 'game', order = 3,},**************
**************['set_camera_speed'] = {action =  'cam_panspeed 1', 
        category = 'game', order = 3,},**************
**************['set_camera_speed2'] = {action =  'cam_panspeed 10', 
        category = 'game', order = 3,},**************
**************['set_camera_speed3'] = {action =  'cam_panspeed 20', 
        category = 'game', order = 3,},**************
**************['set_rotate_speed1'] = {action =  'cam_spinspeed 100', 
        category = 'ui', order = 3,},**************
**************['set_rotate_speed2'] = {action =  'cam_spinspeed 200',
        category = 'ui', order = 3,},**************
**************['set_rotate_speed3'] = {action =  'cam_spinspeed 360',
        category = 'ui', order = 3,},**************
    ['chat_page_up'] = {action =  'UI_Lua import("/lua/ui/game/chat.lua").ChatPageUp(10)', 
        category = 'chat', order = 2,},
    ['chat_page_down'] = {action =  'UI_Lua import("/lua/ui/game/chat.lua").ChatPageDown(10)', 
        category = 'chat', order = 3,},
    ['chat_line_up'] = {action =  'UI_Lua import("/lua/ui/game/chat.lua").ChatPageUp(1)', 
        category = 'chat', order = 4,},
    ['chat_line_down'] = {action =  'UI_Lua import("/lua/ui/game/chat.lua").ChatPageDown(1)', 
        category = 'chat', order = 5,},
    ['show_fps'] = {action =  'UI_Lua import("/lua/debug/uidebug.lua").ShowFPS()',
        category = 'ui', order = 1,},
    ['create_build_template'] = {action = 'UI_Lua import("/lua/ui/game/build_templates.lua").CreateBuildTemplate()',
        category = 'selection', order = 100},
}
   
debugKeyActions = {   
    ['debug_navpath'] = {action =  'dbg navpath',
        category = 'debug', order = 1,},
    ['debug_create_unit'] = {action =  'PopupCreateUnitMenu',
        category = 'debug', order = 1,},
    ['debug_teleport'] = {action =  'TeleportSelectedUnits',
        category = 'debug', order = 1,},
    ['debug_run_opponent_AI'] = {action =  'AI_RunOpponentAI',
        category = 'debug', order = 1,},
    ['debug_blingbling'] = {action =  'BlingBling',
        category = 'debug', order = 1,},
    ['debug_destroy_units'] = {action =  'DestroySelectedUnits',
        category = 'debug', order = 1,},
    ['debug_graphics_fidelity_0'] = {action =  'graphics_Fidelity 0',
        category = 'debug', order = 1,},
    ['debug_graphics_fidelity_2'] = {action =  'graphics_Fidelity 2',
        category = 'debug', order = 1,},
    ['debug_scenario_method_f3'] = {action =  'ScenarioMethod OnF3',
        category = 'debug', order = 1,},
    ['debug_scenario_method_shift_f3'] = {action =  'ScenarioMethod OnShiftF3',
        category = 'debug', order = 1,},
    ['debug_scenario_method_ctrl_f3'] = {action =  'ScenarioMethod OnCtrlF3',
        category = 'debug', order = 1,},
    ['debug_scenario_method_shift_f4'] = {action =  'ScenarioMethod OnShiftF4',
        category = 'debug', order = 1,},
    ['debug_scenario_method_ctrl_f4'] = {action =  'ScenarioMethod OnCtrlF4',
        category = 'debug', order = 1,},
    ['debug_scenario_method_ctrl_alt_f3'] = {action =  'ScenarioMethod OnCtrlAltF4',
        category = 'debug', order = 1,},
    ['debug_scenario_method_f4'] = {action =  'ScenarioMethod OnF4',
        category = 'debug', order = 1,},
    ['debug_scenario_method_f5'] = {action =  'ScenarioMethod OnF5',
        category = 'debug', order = 1,},
    ['debug_scenario_method_shift_f5'] = {action =  'ScenarioMethod OnShiftF5',
        category = 'debug', order = 1,},
    ['debug_scenario_method_ctrl_f5'] = {action =  'ScenarioMethod OnCtrlF5',
        category = 'debug', order = 1,},
    ['debug_scenario_method_ctrl_alt_f5'] = {action =  'ScenarioMethod OnCtrlAltF5',
        category = 'debug', order = 1,},
    ['debug_campaign_instawin'] = {action =  'ui_lua import("/lua/ui/campaign/campaignmanager.lua").InstaWin()',
        category = 'debug', order = 1,},
    ['debug_create_entity'] = {action =  'SC_CreateEntityDialog',
        category = 'debug', order = 1,},
    ['debug_show_stats'] = {action =  'ShowStats',
        category = 'debug', order = 1,},
    ['debug_show_army_stats'] = {action =  'ShowArmyStats',
        category = 'debug', order = 1,},
    ['debug_toggle_log_window'] = {action =  'WIN_ToggleLogDialog',
        category = 'debug', order = 1,},
    ['debug_open_lua_debugger'] = {action =  'SC_LuaDebugger',
        category = 'debug', order = 1,},
    ['debug_show_frame_stats'] = {action =  'ShowStats frame',
        category = 'debug', order = 1,},
    ['debug_render_wireframe'] = {action =  'ren_ShowWireframe tog',
        category = 'debug', order = 1,},
    ['debug_weapons'] = {action =  'dbg weapons',
        category = 'debug', order = 1,},
    ['debug_grid'] = {action =  'dbg grid',
        category = 'debug', order = 1,},
    ['debug_show_focus_ui_control'] = {action =  'UI_ShowControlUnderMouse tog',
        category = 'debug', order = 1,},
    ['debug_dump_focus_ui_control'] = {action =  'UI_DumpControlsUnderCursor',
        category = 'debug', order = 1,},
    ['debug_dump_ui_controls'] = {action =  'UI_DumpControls',
        category = 'debug', order = 1,},
    ['debug_skeletons'] = {action =  'Ren_Showskeletons',
        category = 'debug', order = 1,},
    ['debug_bones'] = {action =  'Ren_ShowBoneNames',
        category = 'debug', order = 1,},
    ['debug_redo_console_command'] = {action =  'CON_ExecuteLastCommand',
        category = 'debug', order = 1,},
    ['debug_copy_units'] = {action =  'CopySelectedUnitsToClipboard',
        category = 'debug', order = 1,},
    ['debug_paste_units'] = {action =  'ExecutePasteBuffer',
        category = 'debug', order = 1,},
    ['debug_nodamage'] = {action =  'Nodamage',
        category = 'debug', order = 1,},
    ['debug_show_emmitter_window'] = {action =  'EFX_CreateEmitterWindow',
        category = 'debug', order = 1,},
    ['debug_sally_shears'] = {action =  'SallyShears',
        category = 'debug', order = 1,},
    ['debug_collision'] = {action =  'dbg Collision',
        category = 'debug', order = 1,},
    ['debug_pause_single_step'] = {action =  'WLD_SingleStep',
        category = 'game', order = 1,},
    ['debug_restart_session'] = {action =  'UI_Lua RestartSession()',
        category = 'debug', order = 1,},
    ['debug_toggle_pannels'] = {action = 'UI_ToggleGamePanels',
        category = 'debug', order = 2,},
    **************['debug_toggle_ui'] = {action = 'ren_UI',
        category = 'debug', order = 1,},**************
}

Statistics: Posted by SPAZ31 — 09 Mar 2013, 02:24


]]>