home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2003 January / maximum-cd-2003-01.iso / Software / Games / AoM / mtrial.exe / AOM / STARTUP / GAME.CON next >
Encoding:
Text File  |  2002-09-30  |  52.2 KB  |  1,190 lines

  1. // game.con
  2. //
  3. // This file defines the console commands run by everyone when the game starts up.
  4. // You should only add things here if you intend them to be run by everyone.  If you 
  5. // want to add commands you wish to have run only for yourself, place these in your
  6. // personal "user.con" instead.
  7.  
  8.  
  9. /////////////////////
  10. //  Root mappings  //
  11. /////////////////////
  12.  
  13. // basic interface mappings
  14. //map ("arrowdown", "root", "gadgetScrollDown")
  15. //map ("arrowup", "root", "gadgetScrollUp")
  16.  
  17. map ("mousex", "root", "movePointerX")
  18. map ("mousey", "root", "movePointerY")
  19.  
  20. map ("control-b", "developer", "renderCycleBoundingBoxMode")
  21. map ("f2", "developer", "display")
  22. map ("alt-f2", "developer", "displayType")
  23. map ("alt-shift-f2", "developer", "displayType(-2)")
  24. map ("pause", "game", "pause")
  25. map ("alt-enter", "root", "renderWindow")
  26.  
  27. map("control-shift-F1", "developer", "playerOfSelectedUnit")
  28.  
  29.  
  30. /////////////////////////////
  31. //  Console Gadget Mode    //
  32. /////////////////////////////
  33. map ("`", "root", "console")
  34. map ("`", "console", "console")
  35. map ("esc", "console", "console")
  36.  
  37.  
  38. /////////////////////
  39. //  Game mappings  //
  40. /////////////////////
  41.  
  42. // chat
  43. map ("enter", "game", "gadgetReal(\"chatInput\") uiIgnoreNextKey")
  44.  
  45. // Misc keyboard shortcuts
  46. map ("+delete", "game", "uiDeleteSelectedUnit")
  47. map ("+numpadperiod", "game", "uiDeleteSelectedUnit")
  48.  
  49. map ("F1", "game", "uiUnitDetailHelp(-1)")
  50. map ("F2", "game", "uiShowFakeTechTree")
  51. map ("F2", "pregame", "uiShowFakeTechTree")
  52. map ("F3", "game", "uiShowObjectivesDialog")
  53. map ("F4", "game", "toggleScore")
  54. map ("F5", "game", "gadgetToggle(\"MainChatDialog\")")
  55. map ("F6", "game", "uiShowTributeDialog")
  56. map ("F7", "game", "gadgetToggle(\"player status\")")
  57. map ("F8", "game", "saveGame(\"QuickSavegame\")")
  58. map ("F9", "game", "loadGame(\"QuickSavegame\")")
  59. map ("F10", "game", "showGameMenu()")
  60. map ("F11", "world", "toggleTime") 
  61.  
  62. map ("F1", "detailHelp", "gadgetToggle(\"HelpDialog\")")
  63. map ("esc", "detailHelp", "gadgetToggle(\"HelpDialog\")")
  64.  
  65. map ("esc", "faketechtree", "gadgetUnreal(\"FakeTechTree-Root\")")
  66. map ("F2", "faketechtree", "gadgetUnreal(\"FakeTechTree-Root\")")
  67.  
  68. map ("esc", "objectives", "gadgetUnreal(\"objectivesdialog-screen\")")
  69. map ("F3", "objectives", "gadgetUnreal(\"objectivesdialog-screen\")")
  70.  
  71. map ("esc", "ChatDialog", "gadgetUnreal(\"MainChatDialog\")")
  72. map ("F5", "ChatDialog", "gadgetUnreal(\"MainChatDialog\")")
  73.  
  74. map ("esc", "tributedialog", "gadgetUnreal(\"tributedlg\")")
  75. map ("F6", "tributedialog", "gadgetUnreal(\"tributedlg\")")
  76.  
  77. map ("esc", "playerstatusdialog", "gadgetUnreal(\"player status\")")
  78. map ("F7", "playerstatusdialog", "gadgetUnreal(\"player status\")")
  79.  
  80. map ("F10", "mainGameMenu", "hideGameMenu")
  81.  
  82. // unit number groups
  83. map ("1", "game", "uiSelectNumberGroup(1)")
  84. map ("2", "game", "uiSelectNumberGroup(2)")
  85. map ("3", "game", "uiSelectNumberGroup(3)")
  86. map ("4", "game", "uiSelectNumberGroup(4)")
  87. map ("5", "game", "uiSelectNumberGroup(5)")
  88. map ("6", "game", "uiSelectNumberGroup(6)")
  89. map ("7", "game", "uiSelectNumberGroup(7)")
  90. map ("8", "game", "uiSelectNumberGroup(8)")
  91. map ("9", "game", "uiSelectNumberGroup(9)")
  92. map ("shift-1", "game", "uiAddSelectNumberGroup(1)")
  93. map ("shift-2", "game", "uiAddSelectNumberGroup(2)")
  94. map ("shift-3", "game", "uiAddSelectNumberGroup(3)")
  95. map ("shift-4", "game", "uiAddSelectNumberGroup(4)")
  96. map ("shift-5", "game", "uiAddSelectNumberGroup(5)")
  97. map ("shift-6", "game", "uiAddSelectNumberGroup(6)")
  98. map ("shift-7", "game", "uiAddSelectNumberGroup(7)")
  99. map ("shift-8", "game", "uiAddSelectNumberGroup(8)")
  100. map ("shift-9", "game", "uiAddSelectNumberGroup(9)")
  101. map ("control-1", "game", "uiCreateNumberGroup(1)")
  102. map ("control-2", "game", "uiCreateNumberGroup(2)")
  103. map ("control-3", "game", "uiCreateNumberGroup(3)")
  104. map ("control-4", "game", "uiCreateNumberGroup(4)")
  105. map ("control-5", "game", "uiCreateNumberGroup(5)")
  106. map ("control-6", "game", "uiCreateNumberGroup(6)")
  107. map ("control-7", "game", "uiCreateNumberGroup(7)")
  108. map ("control-8", "game", "uiCreateNumberGroup(8)")
  109. map ("control-9", "game", "uiCreateNumberGroup(9)")
  110. map ("control-0", "game", "uiRemoveFromAnyNumberGroup")
  111. map ("alt-1", "game", "uiSelectNumberGroup(1) uiLookAtNumberGroup(1)")
  112. map ("alt-2", "game", "uiSelectNumberGroup(2) uiLookAtNumberGroup(2)")
  113. map ("alt-3", "game", "uiSelectNumberGroup(3) uiLookAtNumberGroup(3)")
  114. map ("alt-4", "game", "uiSelectNumberGroup(4) uiLookAtNumberGroup(4)")
  115. map ("alt-5", "game", "uiSelectNumberGroup(5) uiLookAtNumberGroup(5)")
  116. map ("alt-6", "game", "uiSelectNumberGroup(6) uiLookAtNumberGroup(6)")
  117. map ("alt-7", "game", "uiSelectNumberGroup(7) uiLookAtNumberGroup(7)")
  118. map ("alt-8", "game", "uiSelectNumberGroup(8) uiLookAtNumberGroup(8)")
  119. map ("alt-9", "game", "uiSelectNumberGroup(9) uiLookAtNumberGroup(9)")
  120. map ("q", "game", "uifSelectedUnits")
  121.  
  122. // Jump-to-building hotkeys
  123. map ("/", "game", "uiFindType(\"Hero\")")
  124. map ("'", "game", "uiFindType(\"AbstractScout\")")
  125. map (".", "game", "uiFindIdleType(\"LogicalTypeIdleCivilian\")")
  126. map (",", "game", "uiFindIdleType(\"LogicalTypeIdleMilitary\")")
  127. map ("h", "game", "uiFindType(\"settlementsThatTrainVillagers\")")
  128. map ("space", "game", "uiLookAtSelection")
  129.  
  130. map ("control-a", "game", "uiFindType(\"AbstractArcheryRange\")")
  131. map ("control-b", "game", "uiFindType(\"AbstractBarracks\")")
  132. map ("control-c", "game", "uiFindType(\"Siege Camp\")")
  133. map ("control-d", "game", "uiFindType(\"Dock\")")
  134. map ("control-e", "game", "uiFindType(\"House\")")
  135. map ("control-f", "game", "uiFindType(\"Farm\")")
  136. map ("control-g", "game", "uiFindType(\"EarlyFoodDropsite\")")
  137. map ("control-j", "game", "uiFindType(\"Wonder\")")
  138. map ("control-l", "game", "uiFindType(\"Lighthouse\")")
  139. map ("control-m", "game", "uiFindType(\"EarlyGoldDropsite\")")
  140. map ("control-n", "game", "uiFindType(\"EarlyWoodDropsite\")")
  141. map ("control-o", "game", "uiFindType(\"Outpost\")")
  142. map ("control-p", "game", "uiFindType(\"Tower\")")
  143. map ("control-r", "game", "uiFindType(\"AbstractArmory\")")
  144. map ("control-s", "game", "uiFindType(\"AbstractStable\")")
  145. map ("control-t", "game", "uiFindType(\"Temple\")")
  146. map ("control-u", "game", "uiFindType(\"AbstractMonument\")")
  147. map ("control-v", "game", "uiFindType(\"AbstractFortress\")")
  148. map ("control-w", "game", "uiFindType(\"AbstractWall\")")
  149. map ("control-x", "game", "uiFindType(\"Market\")")
  150. map ("control-z", "game", "uiFindType(\"settlementsThatTrainVillagers\")")
  151.  
  152. // villager builds 
  153. map ("a", "BuildAccel", "tis(\"Archery Range\")")
  154. map ("b", "BuildAccel", "tis(\"Barracks\") tis(\"Academy\") tis(\"Longhouse\")")
  155. map ("c", "BuildAccel", "tis(\"Siege Camp\")")
  156. map ("d", "BuildAccel", "tis(\"Dock\")")
  157. map ("e", "BuildAccel", "tis(\"House\")")
  158. map ("f", "BuildAccel", "tis(\"Farm\")")
  159. map ("g", "BuildAccel", "tis(\"Granary\")")
  160. map ("j", "BuildAccel", "tis(\"Wonder\")")
  161. map ("l", "BuildAccel", "tis(\"Lighthouse\")")
  162. map ("m", "BuildAccel", "tis(\"mining camp\") tis(\"Storehouse\")")
  163. map ("n", "BuildAccel", "tis(\"lumber camp\") tis(\"Storehouse\")")
  164. map ("o", "BuildAccel", "tis(\"outpost\")")
  165. map ("p", "BuildAccel", "tis(\"Tower\")")
  166. map ("r", "BuildAccel", "tis(\"Armory\") tis(\"Dwarf Foundry\")")
  167. map ("s", "BuildAccel", "tis(\"Stable\")")
  168. map ("t", "BuildAccel", "tis(\"Temple\")")
  169. map ("u", "BuildAccel", "tis(\"Monument\") tis(\"Monument 2\") tis(\"Monument 3\") tis(\"Monument 4\") tis(\"Monument 5\")")
  170. map ("v", "BuildAccel", "tis(\"Migdol Stronghold\") tis(\"Fortress\") tis(\"Hill Fort\")")
  171. map ("w", "BuildAccel", "tis(\"Wall Connector\")")
  172. map ("x", "BuildAccel", "tis(\"market\")")
  173. map ("z", "BuildAccel", "tis(\"Settlement Level 1\")")
  174.  
  175. // BTK commented out because of new hotkey mapping 
  176. // unit builds
  177. //map ("a", "TrainAccel", "tis(\"Hero Greek Ajax\") tis(\"Hero Greek Theseus\") tis(\"Hero Greek Jason\") tis(\"ArcherShip\") tis(\"Axeman\") tis(\"Chariot Archer\")")
  178. //map ("shift-a", "TrainAccel", tis(\"ArcherShip\",5) tis(\"Axeman\",5) tis(\"Chariot Archer\",5)")
  179. //map ("b", "TrainAccel", "tis(\"Ballista\")")
  180. //map ("shift-b", "TrainAccel", "tis(\"Ballista\",5)")
  181. //map ("c", "TrainAccel", "tis(\"Mercenary Cavalry\") tis(\"Hippikon\") tis(\"Raiding Cavalry\") tis(\"AbstractTradeUnit\") tis(\"Petrobolos\") tis(\"Catapult\") tis(\"Carcinos\") tis(\"Camelry\")")
  182. //map ("shift-c", "TrainAccel", "tis(\"Mercenary Cavalry\",5) tis(\"Hippikon\",5) tis(\"Raiding Cavalry\",5) tis(\"AbstractTradeUnit\",5) tis(\"Petrobolos\",5) tis(\"Catapult\",5) tis(\"Carcinos\",5) tis(\"Camelry\",5)")
  183. //map ("d", "TrainAccel", "tis (\"Dwarf\") tis(\"Hero Greek Achilles\") tis(\"Hero Greek Atalanta\") tis(\"Hero Greek Heracles\")")
  184. //map ("shift-d", "TrainAccel", "tis (\"Dwarf\",5)")
  185. //map ("f", "TrainAccel", "tis(\"UtilityShip\") tis(\"Hero Greek Bellerophon\") tis(\"Hero Greek Perseus\") tis(\"Hero Greek Polyphemus\")")
  186. //map ("shift-f", "TrainAccel", "tis(\"UtilityShip\",5)")
  187. //map ("i", "TrainAccel", "tis(\"Mercenary\")")
  188. //map ("shift-i", "TrainAccel", "tis(\"Mercenary\",5)")
  189. //map ("j", "TrainAccel", "tis(\"Jormund Elver\") tis(\"Jarl\")")
  190. //map ("shift-j", "TrainAccel", "tis(\"Jormund Elver\",5) tis(\"Jarl\",5)")
  191. //map ("k", "TrainAccel", "tis(\"Kraken\") tis(\"Huskarl\")")
  192. //map ("shift-k", "TrainAccel", "tis(\"Kraken\",5) tis(\"Huskarl\",5)")
  193. //map ("l", "TrainAccel", "tis(\"Leviathan\") tis(\"Slinger\")")
  194. //map ("shift-l", "TrainAccel", "tis(\"Leviathan\",5) tis(\"Slinger\",5)")
  195. //map ("o", "TrainAccel", "tis(\"Ox Cart\") tis(\"Hero Greek Argo\")")
  196. //map ("shift-o", "TrainAccel", "tis(\"Ox Cart\",5)")
  197. //map ("p", "TrainAccel", "tis(\"Priest\") tis(\"Hoplite\") tis(\"Peltast\") tis(\"Prodromos\")")
  198. //map ("shift-p", "TrainAccel", "tis(\"Priest\",5) tis(\"Hoplite\",5) tis(\"Peltast\",5) tis(\"Prodromos\",5)")
  199. //map ("r", "TrainAccel", "tis(\"Helepolis\") tis(\"Hero Norse\") tis(\"Siege Tower\") tis(\"Portable Ram\") tis(\"HammerShip\") tis(\"Raiding Cavalry\") tis(\"Roc\")")
  200. //map ("shift-r", "TrainAccel", "tis(\"Helepolis\",5) tis(\"Hero Norse\",5) tis(\"Siege Tower\",5) tis(\"Portable Ram\",5) tis(\"HammerShip\",5) tis(\"Raiding Cavalry\",5) tis(\"Roc\",5)")
  201. //map ("s", "TrainAccel", "tis(\"Hero Greek Chiron\") tis(\"Hero Greek Hippolyta\") tis(\"Hero Greek Odysseus\") tis(\"SiegeShip\") tis(\"Spearman\")")
  202. //map ("shift-s", "TrainAccel", "tis(\"SiegeShip\",5) tis(\"Spearman\",5)")
  203. //map ("t", "TrainAccel", "tis(\"Toxotes\") tis(\"Throwing Axeman\") tis(\"Transport\")")
  204. //map ("shift-t", "TrainAccel", "tis(\"Toxotes\",5) tis(\"Throwing Axeman\",5) tis(\"Transport\",5)")
  205. //map ("u", "TrainAccel", "tis(\"Ulfsark\") tis(\"Sea Turtle\") tis(\"Myrmidon\") tis(\"Hetairoi\") tis(\"Cataphract\")")
  206. //map ("shift-u", "TrainAccel", "tis(\"Ulfsark\",5) tis(\"Sea Turtle\",5) tis(\"Myrmidon\",5) tis(\"Hetairoi\",5) tis(\"Cataphract\",5)")
  207. //map ("v", "TrainAccel", "tis(\"Villager Greek\") tis(\"Villager Egyptian\") tis(\"Villager Norse\")")
  208. //map ("shift-v", "TrainAccel", "tis(\"Villager Greek\",5) tis(\"Villager Egyptian\",5) tis(\"Villager Norse\",5)")
  209. //map ("w", "TrainAccel", "tis(\"War Elephant\")")
  210. //map ("shift-w", "TrainAccel", "tis(\"War Elephant\",5)")
  211. //map ("y", "TrainAccel", "tis(\"Hypaspist\") tis(\"Scylla\")")
  212. //map ("shift-y", "TrainAccel", "tis(\"Hypaspist\",5) tis(\"Scylla\",5)")
  213.  
  214. ////////////////////////////////////
  215. // Settlement Accelerators
  216. ////////////////////////////////////
  217. map ("a", "SettlementAccel", "tis(\"Hero Greek Ajax\") tis(\"Hero Greek Jason\") tis(\"Hero Greek Theseus\")")
  218. map ("s", "SettlementAccel", "tis(\"Hero Greek Odysseus\") tis(\"Hero Greek Chiron\") tis(\"Hero Greek Hippolyta\")")
  219. map ("d", "SettlementAccel", "tis(\"Hero Greek Achilles\") tis(\"Hero Greek Atalanta\") tis(\"Hero Greek Heracles\")")
  220. map ("f", "SettlementAccel", "tis(\"Hero Greek Perseus\") tis(\"Hero Greek Bellerophon\") tis(\"Hero Greek Polyphemus\")")
  221.  
  222. map ("c", "SettlementAccel", "tis(\"Mercenary Cavalry\")")
  223. map ("i", "SettlementAccel", "tis(\"Mercenary\")")
  224. map ("p", "SettlementAccel", "tis(\"Priest\")")
  225.  
  226. map ("w", "SettlementAccel", "tis(\"Dwarf\")")
  227. map ("o", "SettlementAccel", "tis(\"Ox Cart\")")
  228. map ("u", "SettlementAccel", "tis(\"Ulfsark\")")
  229. map ("v", "SettlementAccel", "tis(\"Villager Norse\") tis(\"Villager Egyptian\") tis(\"Villager Greek\")")
  230.  
  231. map ("b", "SettlementAccel", "unitTownBell()")
  232. map ("r", "SettlementAccel", "unitReturnToWork()")
  233. map ("n", "SettlementAccel", "uiEjectGarrisonedUnits()")
  234.  
  235. map ("shift-c", "SettlementAccel", "tis(\"Mercenary Cavalry\",5)")
  236. map ("shift-i", "SettlementAccel", "tis(\"Mercenary\",5)")
  237. map ("shift-p", "SettlementAccel", "tis(\"Priest\",5)")
  238. map ("shift-w", "SettlementAccel", "tis(\"Dwarf\",5)")
  239. map ("shift-o", "SettlementAccel", "tis(\"Ox Cart\",5)")
  240. map ("shift-u", "SettlementAccel", "tis(\"Ulfsark\",5)")
  241. map ("shift-v", "SettlementAccel", "tis(\"Villager Norse\",5) tis(\"Villager Egyptian\",5) tis(\"Villager Greek\",5)")
  242.  
  243. ////////////////////////////////////
  244. // Dock Accelerators
  245. ////////////////////////////////////
  246. map ("f", "DockAccel", "tis(\"Fishing Ship Egyptian\") tis(\"Fishing Ship Greek\") tis(\"Fishing Ship Norse\")")
  247. map ("t", "DockAccel", "tis(\"Transport Ship Norse\") tis(\"Transport Ship Greek\") tis(\"Transport Ship Egyptian\")")
  248. map ("a", "DockAccel", "tis(\"Trireme\") tis(\"Kebenit\") tis(\"Longboat\")")
  249. map ("r", "DockAccel", "tis(\"Ramming Ship Greek\") tis(\"Ramming Ship Norse\") tis(\"Ramming Ship Egyptian\")")
  250. map ("s", "DockAccel", "tis(\"Siege Ship Greek\") tis(\"Siege Ship Norse\") tis(\"Siege Ship Egyptian\")")
  251. map ("o", "DockAccel", "tis(\"Hero Greek Argo\")")
  252. map ("k", "DockAccel", "tis(\"Kraken\")")
  253. map ("y", "DockAccel", "tis(\"Scylla\")")
  254. map ("l", "DockAccel", "tis(\"Leviathan\")")
  255. map ("u", "DockAccel", "tis(\"Sea Turtle\")")
  256. map ("j", "DockAccel", "tis(\"Jormund Elver\")")
  257. map ("c", "DockAccel", "tis(\"Carcinos\")")
  258.  
  259. map ("shift-f", "DockAccel", "tis(\"UtilityShip\",5)")
  260. map ("shift-t", "DockAccel", "tis(\"TransportShip\",5)")
  261. map ("shift-a", "DockAccel", "tis(\"ArcherShip\",5)")
  262. map ("shift-r", "DockAccel", "tis(\"HammerShip\",5)")
  263. map ("shift-s", "DockAccel", "tis(\"SiegeShip\",5)")
  264. map ("shift-k", "DockAccel", "tis(\"Kraken\",5)")
  265. map ("shift-y", "DockAccel", "tis(\"Scylla\",5)")
  266. map ("shift-l", "DockAccel", "tis(\"Leviathan\",5)")
  267. map ("shift-u", "DockAccel", "tis(\"Sea Turtle\",5)")
  268. map ("shift-j", "DockAccel", "tis(\"Jormund Elver\",5)")
  269. map ("shift-c", "DockAccel", "tis(\"Carcinos\",5)")
  270.  
  271. ////////////////////////////////////
  272. // Market Accelerators
  273. ////////////////////////////////////
  274. map ("c", "MarketAccel", "tis(\"Caravan Greek\") tis(\"Caravan Egyptian\") tis(\"Caravan Norse\")")
  275.  
  276. map ("shift-c", "MarketAccel", "tis(\"Caravan Greek\",5) tis(\"Caravan Egyptian\",5) tis(\"Caravan Norse\",5)")
  277.  
  278. ////////////////////////////////////
  279. // Greek Academy Accelerators
  280. ////////////////////////////////////
  281. map ("p", "GreekAcademyAccel", "tis(\"Hoplite\")")
  282. map ("y", "GreekAcademyAccel", "tis(\"Hypaspist\")")
  283.  
  284. map ("shift-p", "GreekAcademyAccel", "tis(\"Hoplite\",5)")
  285. map ("shift-y", "GreekAcademyAccel", "tis(\"Hypaspist\",5)")
  286.  
  287. ////////////////////////////////////
  288. // Greek Archery Range Accelerators
  289. ////////////////////////////////////
  290. map ("t", "GreekArcheryRangeAccel", "tis(\"Toxotes\")")
  291. map ("p", "GreekArcheryRangeAccel", "tis(\"Peltast\")")
  292.  
  293. map ("shift-t", "GreekArcheryRangeAccel", "tis(\"Toxotes\",5)")
  294. map ("shift-p", "GreekArcheryRangeAccel", "tis(\"Peltast\",5)")
  295.  
  296. ////////////////////////////////////
  297. // Greek Stable Accelerators
  298. ////////////////////////////////////
  299. map ("c", "GreekStableAccel", "tis(\"Hippikon\")")
  300. map ("p", "GreekStableAccel", "tis(\"Prodromos\")")
  301.  
  302. map ("shift-c", "GreekStableAccel", "tis(\"Hippikon\",5)")
  303. map ("shift-p", "GreekStableAccel", "tis(\"Prodromos\",5)")
  304.  
  305. ////////////////////////////////////
  306. // Greek Fortress Accelerators
  307. ////////////////////////////////////
  308. map ("a", "GreekFortressAccel", "tis(\"Hero Greek Ajax\") tis(\"Hero Greek Jason\") tis(\"Hero Greek Theseus\")")
  309. map ("s", "GreekFortressAccel", "tis(\"Hero Greek Odysseus\") tis(\"Hero Greek Chiron\") tis(\"Hero Greek Hippolyta\")")
  310. map ("d", "GreekFortressAccel", "tis(\"Hero Greek Achilles\") tis(\"Hero Greek Atalanta\") tis(\"Hero Greek Heracles\")")
  311. map ("f", "GreekFortressAccel", "tis(\"Hero Greek Perseus\") tis(\"Hero Greek Bellerophon\") tis(\"Hero Greek Polyphemus\")")
  312. map ("u", "GreekFortressAccel", "tis(\"Crossbowman\") tis(\"Hetairoi\") tis(\"Myrmidon\")")
  313. map ("r", "GreekFortressAccel", "tis(\"Helepolis\")")
  314. map ("c", "GreekFortressAccel", "tis(\"Petrobolos\")")
  315.  
  316. map ("shift-u", "GreekFortressAccel", "tis(\"Crossbowman\",5) tis(\"Hetairoi\",5) tis(\"Myrmidon\",5)")
  317. map ("shift-r", "GreekFortressAccel", "tis(\"Helepolis\",5)")
  318. map ("shift-c", "GreekFortressAccel", "tis(\"Petrobolos\",5)")
  319.  
  320.  
  321. ////////////////////////////////////
  322. // Egyptian Barracks Accelerators
  323. ////////////////////////////////////
  324. map ("s", "EgyptBarracksAccel", "tis(\"Spearman\")")
  325. map ("a", "EgyptBarracksAccel", "tis(\"Axeman\")")
  326. map ("l", "EgyptBarracksAccel", "tis(\"Slinger\")")
  327.  
  328. map ("shift-s", "EgyptBarracksAccel", "tis(\"Spearman\",5)")
  329. map ("shift-a", "EgyptBarracksAccel", "tis(\"Axeman\",5)")
  330. map ("shift-l", "EgyptBarracksAccel", "tis(\"Slinger\",5)")
  331.  
  332. ////////////////////////////////////
  333. // Egyptian Migdol Stronghold Accelerators
  334. ////////////////////////////////////
  335. map ("a", "EgyptMigdolAccel", "tis(\"Chariot Archer\")")
  336. map ("c", "EgyptMigdolAccel", "tis(\"Camelry\")")
  337. map ("w", "EgyptMigdolAccel", "tis(\"War Elephant\")")
  338.  
  339. map ("shift-a", "EgyptMigdolAccel", "tis(\"Chariot Archer\",5)")
  340. map ("shift-c", "EgyptMigdolAccel", "tis(\"Camelry\",5)")
  341. map ("shift-w", "EgyptMigdolAccel", "tis(\"War Elephant\",5)")
  342.  
  343. ////////////////////////////////////
  344. // Egyptian Siege Camp Accelerators
  345. ////////////////////////////////////
  346. map ("r", "EgyptSiegeCampAccel", "tis(\"Siege Tower\")")
  347. map ("c", "EgyptSiegeCampAccel", "tis(\"Catapult\")")
  348.  
  349. map ("shift-r", "EgyptSiegeCampAccel", "tis(\"Siege Tower\",5)")
  350. map ("shift-c", "EgyptSiegeCampAccel", "tis(\"Catapult\",5)")
  351.  
  352. ////////////////////////////////////
  353. // Norse Long House Accelerators
  354. ////////////////////////////////////
  355. map ("u", "NorseLongHouseAccel", "tis(\"Ulfsark\")")
  356. map ("t", "NorseLongHouseAccel", "tis(\"Throwing Axeman\")")
  357. map ("r", "NorseLongHouseAccel", "tis(\"Hero Norse\")")
  358. map ("c", "NorseLongHouseAccel", "tis(\"Raiding Cavalry\")")
  359.  
  360. map ("shift-u", "NorseLongHouseAccel", "tis(\"Ulfsark\",5)")
  361. map ("shift-t", "NorseLongHouseAccel", "tis(\"Throwing Axeman\",5)")
  362. map ("shift-r", "NorseLongHouseAccel", "tis(\"Hero Norse\",5)")
  363. map ("shift-c", "NorseLongHouseAccel", "tis(\"Raiding Cavalry\",5)")
  364.  
  365. ////////////////////////////////////
  366. // Norse Hill Fort Accelerators
  367. ////////////////////////////////////        
  368. map ("k", "NorseFortAccel", "tis(\"Huskarl\")")
  369. map ("j", "NorseFortAccel", "tis(\"Jarl\")")
  370. map ("r", "NorseFortAccel", "tis(\"Portable Ram\")")
  371. map ("b", "NorseFortAccel", "tis(\"Ballista\")")
  372.  
  373. map ("shift-k", "NorseFortAccel", "tis(\"Huskarl\",5)")
  374. map ("shift-j", "NorseFortAccel", "tis(\"Jarl\",5)")
  375. map ("shift-r", "NorseFortAccel", "tis(\"Portable Ram\",5)")
  376. map ("shift-b", "NorseFortAccel", "tis(\"Ballista\",5)")
  377.  
  378. ////////////////////////////////////
  379. // Temple Accelerators
  380. ////////////////////////////////////
  381.  
  382. ////////////////////////////////////
  383. // Greek Temple
  384. ////////////////////////////////////
  385. map ("c", "TempleGreekAccel", "tis(\"Centaur\")")
  386. map ("i", "TempleGreekAccel", "tis(\"Chimera\")")
  387. map ("o", "TempleGreekAccel", "tis(\"Colossus\")")
  388. map ("y", "TempleGreekAccel", "tis(\"Cyclops\")")
  389. map ("h", "TempleGreekAccel", "tis(\"Hydra\")")
  390. map ("m", "TempleGreekAccel", "tis(\"Manticore\")")
  391. map ("d", "TempleGreekAccel", "tis(\"Medusa\")")
  392. map ("t", "TempleGreekAccel", "tis(\"Minotaur\")")
  393. map ("n", "TempleGreekAccel", "tis(\"Nemean Lion\")")
  394. map ("p", "TempleGreekAccel", "tis(\"Pegasus\")")
  395.  
  396. map ("shift-c", "TempleGreekAccel", "tis(\"Centaur\",5)")
  397. map ("shift-i", "TempleGreekAccel", "tis(\"Chimera\",5)")
  398. map ("shift-o", "TempleGreekAccel", "tis(\"Colossus\",5)")
  399. map ("shift-y", "TempleGreekAccel", "tis(\"Cyclops\",5)")
  400. map ("shift-h", "TempleGreekAccel", "tis(\"Hydra\",5)")
  401. map ("shift-m", "TempleGreekAccel", "tis(\"Manticore\",5)")
  402. map ("shift-d", "TempleGreekAccel", "tis(\"Medusa\",5)")
  403. map ("shift-t", "TempleGreekAccel", "tis(\"Minotaur\",5)"
  404. map ("shift-n", "TempleGreekAccel", "tis(\"Nemean Lion\",5)")
  405. map ("shift-p", "TempleGreekAccel", "tis(\"Pegasus\",5)")
  406.  
  407.  
  408. ////////////////////////////////////
  409. // Egyptian Temple
  410. ////////////////////////////////////
  411. map ("a", "TempleEgyptianAccel", "tis(\"Anubite\")")
  412. map ("v", "TempleEgyptianAccel", "tis(\"Avenger\")")
  413. map ("c", "TempleEgyptianAccel", "tis(\"Petsuchos\")")
  414. map ("p", "TempleEgyptianAccel", "tis(\"Priest\")")
  415. map ("u", "TempleEgyptianAccel", "tis(\"Mummy\")")
  416. map ("n", "TempleEgyptianAccel", "tis(\"Phoenix\")")
  417. map ("r", "TempleEgyptianAccel", "tis(\"Roc\")")
  418. map ("s", "TempleEgyptianAccel", "tis(\"Scarab\")")
  419. map ("m", "TempleEgyptianAccel", "tis(\"Scorpion Man\")")
  420. map ("x", "TempleEgyptianAccel", "tis(\"Sphinx\")")
  421. map ("w", "TempleEgyptianAccel", "tis(\"Wadjet\")")
  422.  
  423. map ("shift-a", "TempleEgyptianAccel", "tis(\"Anubite\",5)")
  424. map ("shift-v", "TempleEgyptianAccel", "tis(\"Avenger\",5)")
  425. map ("shift-c", "TempleEgyptianAccel", "tis(\"Petsuchos\",5)")
  426. map ("shift-p", "TempleEgyptianAccel", "tis(\"Priest\",5)")
  427. map ("shift-u", "TempleEgyptianAccel", "tis(\"Mummy\",5)")
  428. map ("shift-n", "TempleEgyptianAccel", "tis(\"Phoenix\",5)")
  429. map ("shift-r", "TempleEgyptianAccel", "tis(\"Roc\",5)")
  430. map ("shift-s", "TempleEgyptianAccel", "tis(\"Scarab\",5)")
  431. map ("shift-m", "TempleEgyptianAccel", "tis(\"Scorpion Man\",5)")
  432. map ("shift-x", "TempleEgyptianAccel", "tis(\"Sphinx\",5)")
  433. map ("shift-w", "TempleEgyptianAccel", "tis(\"Wadjet\",5)")
  434.  
  435.  
  436. ////////////////////////////////////
  437. // Norse Temple
  438. ////////////////////////////////////
  439. map ("b", "TempleNorseAccel", "tis(\"Battle Boar\")")
  440. map ("e", "TempleNorseAccel", "tis(\"Einheriar\")")
  441. map ("w", "TempleNorseAccel", "tis(\"Fenris Wolf\")")
  442. map ("f", "TempleNorseAccel", "tis(\"Fire Giant\")")
  443. map ("g", "TempleNorseAccel", "tis(\"Frost Giant\")")
  444. map ("r", "TempleNorseAccel", "tis(\"Hero Norse\")")
  445. map ("m", "TempleNorseAccel", "tis(\"Mountain Giant\")")
  446. map ("t", "TempleNorseAccel", "tis(\"Troll\")")
  447. map ("v", "TempleNorseAccel", "tis(\"Valkyrie\")")
  448.  
  449. map ("shift-b", "TempleNorseAccel", "tis(\"Battle Boar\",5)")
  450. map ("shift-e", "TempleNorseAccel", "tis(\"Einheriar\",5)")
  451. map ("shift-w", "TempleNorseAccel", "tis(\"Fenris Wolf\",5)")
  452. map ("shift-f", "TempleNorseAccel", "tis(\"Fire Giant\",5)")
  453. map ("shift-g", "TempleNorseAccel", "tis(\"Frost Giant\",5)")
  454. map ("shift-r", "TempleNorseAccel", "tis(\"Hero Norse\",5)")
  455. map ("shift-m", "TempleNorseAccel", "tis(\"Mountain Giant\",5)")
  456. map ("shift-t", "TempleNorseAccel", "tis(\"Troll\",5)")
  457. map ("shift-v", "TempleNorseAccel", "tis(\"Valkyrie\",5)")
  458.  
  459. ////////////////////////////////
  460. //  Building placement Mode   //
  461. ////////////////////////////////
  462. map ("mouse1down", "building", "")
  463. map ("mouse1up", "building", "uiBuildAtPointer")
  464. map ("shift-mouse1down", "building", "")
  465. map ("shift-mouse1up", "building", "uiBuildAtPointer uiLeaveModeOnUnshift")
  466. map ("mouse2down", "building", "")
  467. map ("mouse2up", "building", "editMode(\"none\")")
  468. //map ("mouse2up", "building", "uiBuildAtPointer")
  469. //map ("mousez", "building", "uiWheelRotatePlacedUnit")
  470. map ("esc", "building", "editMode(\"none\")")
  471. map ("mouse1doubleup", "building", "uiBuildAtPointer")
  472.  
  473.  
  474. /////////////////////////////
  475. //  Wall Building Mode     //
  476. /////////////////////////////
  477. map ("mouse1down", "buildWall", "")
  478. map ("shift-mouse1down", "buildWall", "")
  479. map ("mouse1up", "buildWall", "uiBuildWallAtPointer(0)")
  480. map ("shift-mouse1up", "buildWall", "uiBuildWallAtPointer(1)")
  481. map ("mouse2down", "buildWall", "")
  482. map ("mouse2up", "buildWall", "editMode(\"none\")")
  483. map ("esc", "buildWall", "editMode(\"none\")")
  484. map ("mouse1doubledown", "buildWall", "")
  485. map ("shift-mouse1doubledown", "buildWall", "")
  486. map ("mouse1doubleup", "buildWall", "uiBuildWallAtPointer(0)")
  487. map ("shift-mouse1doubleup", "buildWall", "uiBuildWallAtPointer(1)")
  488.  
  489.  
  490. ////////////////////////////////
  491. //  Gather point mode        //
  492. ////////////////////////////////
  493. map ("mouse1down", "setGatherPoint", "")
  494. map ("mouse1up", "setGatherPoint", "uiSetGatherPointAtPointer editMode(\"none\")")
  495. map ("mouse2down", "setGatherPoint", "")
  496. map ("mouse2up", "setGatherPoint", "uiSetGatherPointAtPointer editMode(\"none\")")
  497. map ("esc", "setGatherPoint", "editMode(\"none\")")
  498.  
  499.  
  500. ////////////////////////////////
  501. //  special power invocation  //
  502. ////////////////////////////////
  503. map ("mouse1down", "specialpower", "")
  504. map ("mouse1up", "specialpower", "uiSpecialPowerAtPointer")
  505. map ("mouse2down", "specialpower", "")
  506. map ("mouse2up", "specialpower", "editMode(\"none\")")
  507. //map ("mousez", "specialpower", "uiWheelRotatePlacedUnit")
  508. map ("esc", "specialpower", "editMode(\"none\")")
  509.  
  510.  
  511. /////////////////////////
  512. //  garrison mappings  //
  513. /////////////////////////
  514. map ("mouse1down", "garrison", "")
  515. map ("mouse1up", "garrison", "uiGarrisonToPointer editMode(\"none\")")
  516. map ("mouse2down", "garrison", "")
  517. map ("mouse2up", "garrison", "editMode(\"none\")")
  518. map ("esc", "garrison", "editMode(\"none\")")
  519. //map ("b", "game", "unitTownBell")
  520. //map ("u", "game", "unitReturnToWork")
  521. //map ("n", "game", "uiEjectGarrisonedUnits")
  522.  
  523.  
  524. ///////////////////////////////////////////////
  525. //  scenario editing / editing key mappings  //
  526. ///////////////////////////////////////////////
  527.  
  528. // editing UI
  529. map ("e", "editor", "gadgetToggleIfNotMP(\"maineditlist\")")
  530. map ("t", "editor", "editMode(\"PaintLand\")")
  531. map ("o", "editor", "editMode(\"PlaceUnit\")")
  532. map ("alt-o", "editor", "editMode(\"PlaceUnit\")")
  533. map ("r", "editor", "gadgetToggleIfNotMP(\"RoughenSettings\")")
  534.  
  535.  
  536. map ("control-shift-s", "editor", "saveGame(\"QuickSavegame\")")
  537. map ("control-shift-q", "editor", "gadgetToggle(\"ABrushSizeSquare\")")
  538. map ("control-shift-h", "editor", "gadgetToggle(\"ABrushSizeHollowSquare\")")
  539. map ("control-shift-r", "editor", "gadgetToggle(\"ABrushSizeRectangular\")")
  540.  
  541. map ("esc", "editor", "uiClearMenu(\"EditorMenu\")")
  542. map ("control-s", "editor", "uiSaveScenarioBrowser")
  543. map ("control-l", "editor", "uiScenarioLoad")
  544.  
  545.  
  546.  
  547. //brush size changing mappings
  548. map ("1", "editor", "uiChangeBrushSize(1)")
  549. map ("2", "editor", "uiChangeBrushSize(2)")
  550. map ("3", "editor", "uiChangeBrushSize(3)")
  551. map ("4", "editor", "uiChangeBrushSize(4)")
  552. map ("5", "editor", "uiChangeBrushSize(5)")
  553. map ("6", "editor", "uiChangeBrushSize(6)")
  554. map ("7", "editor", "uiChangeBrushSize(7)")
  555. map ("8", "editor", "uiChangeBrushSize(8)")
  556. map ("9", "editor", "uiChangeBrushSize(9)")
  557. map ("0", "editor", "uiChangeBrushSize(10)")
  558. map ("alt-mousez", "editor", "uiScrollBrushSize")
  559.  
  560. //New Scenario Editor hotkeys
  561. map ("control-z",  "editor", "undo")
  562. map ("control-y",  "editor", "redo")
  563. map ("control-e",  "editor", "editmode(\"elevation\")")
  564. map ("control-P",  "editor", "editmode(\"Paint\")")
  565. map ("control-a",  "editor", "editmode(\"elevationsample\")")
  566. map ("control-s",  "editor", "editmode(\"smooth\")")
  567. map ("control-r",  "editor", "editmode(\"roughen\")")
  568. map ("w",          "editor", "editmode(\"paintwater\")")
  569. map ("c",          "editor", "editmode(\"paintCliff\")")
  570. map ("f",          "editor", "editmode(\"paintforest\")")
  571. map ("control-u",  "editor", "editmode(\"moveunit\")")
  572. map ("control-t",  "editor", "editmode(\"Triggers\")")
  573. map ("control-i",  "editor", "editmode(\"CameraTracks\")")
  574. map ("alt-r",      "editor", "renderObstructionManager")
  575. map ("alt-c",      "editor", "cameraRotate")
  576.  
  577. //brush type changing functions
  578. map ("[", "editor", "uiChangeBrushType(\"Circular\")")
  579. map ("]", "editor", "uiChangeBrushType(\"Rectangular\")")
  580.  
  581. // brush drag size functions
  582. map ("control-mouse1down", "editor", "uiTerrainSelection(0)")
  583. map ("control-mouse1up", "editor", "uiTerrainSelection(1)")
  584.  
  585.  
  586. //uniform height changes
  587. map ("control-,", "editor", "uiUniformRaiseElevation()")
  588. map ("control-.", "editor", "uiUniformLowerElevation()")
  589.  
  590. // this is kind of a hack for now
  591. map ("control-z", "editor", "undo")
  592. map ("control-y", "editor", "redo")
  593. map ("control-c", "editor", "uiCopyToClipboard")
  594. map ("control-v", "editor", "editMode(\"unitpaste\")")
  595.  
  596. // elevation
  597. map ("mouse1down", "elevation", "uiRaiseElevation(0)")
  598. map ("mouse1up", "elevation", "uiRaiseElevation(1)")
  599. map ("mouse2down", "elevation", "uiLowerElevation(0)")
  600. map ("mouse2up", "elevation", "uiLowerElevation(1)")
  601. map ("esc", "elevation", "editMode(\"none\")")
  602.  
  603. // elevation by sample
  604. map ("mouse1down", "elevationsample", "uiChangeElevationToSample(0)")
  605. map ("mouse1up", "elevationsample", "uiChangeElevationToSample(1)")
  606. map ("mouse2down", "elevationsample", "uiSampleElevationAtPointer")
  607. map ("mouse2up", "elevationsample", "")
  608. map ("esc", "elevationsample", "editMode(\"none\")")
  609.  
  610. // roughen
  611. map ("mouse1down", "roughen", "uiRoughen(0)")
  612. map ("mouse1up", "roughen", "uiRoughen(1)")
  613. map ("esc", "roughen", "editMode(\"none\")")
  614.  
  615. // deleteunits
  616. map ("mouse1down", "deleteunits", "uiDeleteUnits(0)")
  617. map ("mouse1up", "deleteunits", "uiDeleteUnits(1)")
  618. map ("esc", "deleteunits", "editMode(\"none\")")
  619.  
  620. // paint by sample
  621. map ("mouse1down", "paintsample", "uiPaintTerrainToSample(0)")
  622. map ("mouse1up", "paintsample", "uiPaintTerrainToSample(1)")
  623. map ("mouse2down", "paintsample", "uiSampleTerrainAtPointer")
  624. map ("mouse2up", "paintsample", "")
  625. map ("esc", "paintsample", "editMode(\"none\")")
  626.  
  627.  
  628. // copy and paste
  629. map ("mouse1down", "copy", "uiTerrainSelection(0)")
  630. map ("mouse1up",   "copy", "uiTerrainSelection(1)")
  631. map ("control-v",  "copy", "editMode(\"TerrainPaste\") ")
  632. map ("mouse2down", "copy", "")
  633. map ("mouse2up",   "copy", "")
  634. map ("esc", "copy", "editMode(\"none\")")
  635.  
  636. map ("mouse1down", "TerrainPaste", "")
  637. map ("mouse1up",   "TerrainPaste", "uiPasteFromClipboard")
  638. map ("mouse2down", "TerrainPaste", "")
  639. map ("mouse2up",   "TerrainPaste", "editMode(\"copy\")")
  640. map ("esc",        "TerrainPaste", "editMode(\"none\")")
  641.  
  642. map ("mouse1down", "UnitPaste", "")
  643. map ("mouse1up",   "UnitPaste", "uiPasteFromClipboard")
  644. map ("mouse2down", "UnitPaste", "")
  645. map ("mousez",     "UnitPaste", "uiRotateClipboard")
  646. map ("esc",        "UnitPaste", "editMode(\"none\")")
  647.  
  648.  
  649. //handle editing list gadgets
  650. map ("esc", "list", "editMode(\"none\")")
  651.  
  652. // Sun. orientation keys
  653. map ("+y", "editor", "sunIncreaseInclination")
  654. map ("+shift-y", "editor", "sunDecreaseInclination")
  655. map ("+alt-y", "editor", "sunIncreaseRotation")
  656. map ("+alt-shift-y", "editor", "sunDecreaseRotation")
  657.  
  658. // Player shifting keys
  659. map ("control-f1", "editor", "player(1)")
  660. map ("control-f2", "editor", "player(2)")
  661. map ("control-f3", "editor", "player(3)")
  662. map ("control-f4", "editor", "player(4)")
  663. map ("control-f5", "editor", "player(5)")
  664. map ("control-f6", "editor", "player(6)")
  665. map ("control-f7", "editor", "player(7)")
  666. map ("control-f8", "editor", "player(8)")
  667. map ("control-f9", "editor", "player(9)")
  668. map ("control-f10", "editor", "player(0)")
  669.  
  670. // Animation Controller
  671. map ("alt-a", "editor", "gadgetToggle(\"animgadget\")")
  672. map ("control-d", "editor", "gadgetToggle(\"soundsetgadget\")")
  673. map ("alt-u", "editor", "gadgetToggle(\"soundgadget\")")
  674.  
  675. // Misc
  676. map ("delete", "editor", "uiRemoveSelectedUnit")
  677. map ("control-k", "editor", "configToggle(\"cameraMovementLock\")")
  678. map ("mouse3down", "editor", "uiMoveSelectionButtonDown")
  679. map ("mouse3up", "editor", "uiMoveSelectionButtonUp editMode(\"none\")")
  680. map ("shift-mouse3down", "editor", "uiMoveSelectionAddButtonDown")
  681. map ("shift-mouse3up", "editor", "uiMoveSelectionAddButtonUp")
  682. map ("control-mousez", "editor", "uiRotateSelection")
  683.  
  684. // painting
  685. map ("mouse1down", "paint", "uiPaint(true)")
  686. map ("alt-mouse1down", "paint", "uiSampleTerrainAtPointer")
  687. map ("mouse1up", "paint", "uiPaint(false)")
  688. //map ("alt-mouse1down", "paint", "uiPaint(true, true)")
  689. map ("mouse2down", "paint", "uiSampleTerrainAtPointer")
  690. map ("mouse2up", "paint", "")
  691. map ("esc", "paint", "editMode(\"none\")")
  692.  
  693. // Density is used improperly with these.  It is really units per repeat.
  694. map ("shift-[", "paint", "terrainResizeSubtype(-1)")
  695. map ("shift-]", "paint", "terrainResizeSubtype(1)")
  696. map ("+alt-[", "paint", "uiIncreaseTextureDensity")
  697. map ("+alt-]", "paint", "uiDecreaseTextureDensity")
  698. map ("mouse1down", "paintmix", "uiPaint(true)")
  699. map ("mouse1up", "paintmix", "uiPaint(false)")
  700. map ("mouse2up", "paintmix", "")
  701. map ("esc", "paintmix", "editMode(\"none\")")
  702. map ("alt-m", "developer", "reloadMixes")
  703.  
  704. // place units
  705. map ("mouse1down", "placeunit", "")
  706. map ("mouse1up", "placeunit", "uiPlaceAtPointer")
  707. map ("shift-mouse1up", "placeunit", "uiPlaceAtPointer(false)")
  708. map ("mouse2down", "placeunit", "")
  709. map ("mouse2up", "placeunit", "uiIncPlaceVariation")
  710. map ("shift-mouse2up", "placeunit", "uiDecPlaceVariation")
  711. map("mousez", "placeunit", "uiWheelRotatePlacedUnit")
  712. map ("esc", "placeunit", "uiClearCursor editMode(\"none\")")
  713.  
  714. // paint pine forest
  715. map ("control-f", "editor", "editMode(\"paintforest\")")
  716. map ("mouse1down", "paintforest", "uiPaint(true)")
  717. map ("mouse1up", "paintforest", "uiPaint(false)")
  718. map ("esc", "paintforest", "editMode(\"none\")")
  719.  
  720. // smoothing tools
  721. map ("mouse1down", "smooth", "uiSmooth(0)")
  722. map ("mouse1up", "smooth", "uiSmooth(1)")
  723. map ("esc", "smooth", "editMode(\"none\")")
  724.  
  725. // world editor tools
  726. map ("mouse1down", "WorldEditor", "uiApplyWorldEditor")
  727. map ("mouse1up", "WorldEditor", "")
  728. map ("mouse2down", "WorldEditor", "")
  729. map ("mouse2up", "WorldEditor", "")
  730. map ("esc", "WorldEditor", "editMode(\"none\")")
  731. //map ("control-w", "editor", "uiEditCurrentWorldEditor")
  732.  
  733. // edit water tools
  734. map ("esc", "editwater", "editMode(\"none\") uiUnSelectWater")
  735. map ("mouse1down", "editwater", "uiSelectWaterAtPointer")
  736. map ("mouse1up", "editwater", "")
  737.  
  738. // paintwater tools
  739. map ("esc", "paintwater", "editMode(\"none\")")
  740. map ("mouse1down", "paintwater", "uiPaintWater(0)")
  741. map ("mouse1up", "paintwater", "uiPaintWater(1)"
  742. map ("d", "paintwater", "gadgetToggle(\"waterColorDialog\")")
  743. map ("c", "paintwater", "configToggle(\"waterColorPaint\")")
  744.  
  745.  
  746. // paintcliff tools
  747. map ("shift-c", "editor", "editMode(\"paintCliff\")")
  748. map ("esc", "paintcliff", "editMode(\"none\")")
  749. map ("mouse1down", "paintcliff", "uiPaintCliff(0)")
  750. map ("mouse1up", "paintcliff", "uiPaintCliff(1)"
  751. map ("mouse2down", "paintcliff", "uiPaintCliff(2)")
  752. map ("mouse2up", "paintcliff", "uiPaintCliff(3)")
  753.  
  754. // modify terrain
  755. map ("mouse1down", "modifyterrain", "uiTerrainSelection(0)")
  756. map ("mouse1up", "modifyterrain", "uiTerrainSelection(1)")
  757. map ("+[", "modifyterrain", "uiLowerTerrainSelection")
  758. map ("+]", "modifyterrain", "uiRaiseTerrainSelection")
  759. map ("+alt-[", "modifyterrain", "uiLowerTerrainSelection")
  760. map ("+alt-]", "modifyterrain", "uiRaiseTerrainSelection")
  761. map ("space", "modifyterrain", "uiFilterTerrainSelection")
  762. map ("control-space", "modifyterrain", "uiFlattenTerrainSelection")
  763. map ("esc","modifyterrain", "editMode(\"none\")")
  764.  
  765. // Move unit mode
  766. map ("mouse1down",      "moveunit", "uiMoveSelectionButtonDown")
  767. map ("mouse1up",        "moveunit", "uiMoveSelectionButtonUp")
  768. map ("mousez",  "moveunit", "uiRotateSelection")
  769.  
  770. map("+control-arrowleft", "moveunit", "uiYawUnitLeft")
  771. map("+control-arrowright", "moveunit", "uiYawUnitRight")
  772. map("+alt-control-arrowleft", "moveunit", "uiYawUnitLeft")
  773. map("+alt-control-arrowright", "moveunit", "uiYawUnitRight")
  774. //map("+control-arrowup", "moveunit", "uiPitchUnitDown")
  775. //map("+control-arrowdown", "moveunit", "uiPitchUnitUp")
  776. //map("+alt-control-arrowup", "moveunit", "uiPitchUnitDown")
  777. //map("+alt-control-arrowdown", "moveunit", "uiPitchUnitUp")
  778. //map("+s", "moveunit", "uiRollUnitLeft")
  779. //map("+d", "moveunit", "uiRollUnitRight")
  780. //map("+alt-s", "moveunit", "uiRollUnitLeft")
  781. //map("+alt-d", "moveunit", "uiRollUnitRight")
  782.  
  783. map("+arrowleft", "moveunit", "uiMoveUnitLeft")
  784. map("+arrowright", "moveunit", "uiMoveUnitRight")
  785. map("+alt-arrowleft", "moveunit", "uiMoveUnitLeft")
  786. map("+alt-arrowright", "moveunit", "uiMoveUnitRight")
  787. map("+arrowup", "moveunit", "uiMoveUnitForward")
  788. map("+arrowdown", "moveunit", "uiMoveUnitBackward")
  789. map("+alt-arrowup", "moveunit", "uiMoveUnitForward")
  790. map("+alt-arrowdown", "moveunit", "uiMoveUnitBackward")
  791. map("esc", "moveunit", "editMode(\"none\")")
  792.  
  793. // paint terrain overlay
  794. map ("mouse1down", "paintterrainoverlay", "uiPaint(true)")
  795. map ("mouse1up", "paintterrainoverlay", "uiPaint(false)")
  796. map ("mouse2down", "paintterrainoverlay", "uiRemoveTerrainOverlay")
  797. map ("mouse2up", "paintterrainoverlay", "")
  798. map ("esc", "paintterrainoverlay", "editMode(\"none\")")
  799.  
  800. // trigger area selection mode
  801. map ("mouse1up",     "trigselect", "")
  802. map ("mouse1down",   "trigselect", "uiTriggerSelectLocation()")
  803. map ("mouse2up",     "trigselect", "editMode(\"triggers\")")
  804. map ("mouse2down",   "trigselect", "")
  805. map ("esc",          "trigselect", "editMode(\"triggers\")")
  806.  
  807. map ("esc",          "trigger", "editMode(\"none\")")
  808. map ("esc",          "triggroups", "editMode(\"none\")")
  809. map ("esc",          "camtrack", "editMode(\"none\")")
  810.  
  811. // AI Chat area selection mode
  812. map ("mouse1up",     "AILocSelect", "")
  813. map ("mouse1down",   "AILocSelect", "uiAIChatSelectLocation")
  814. map ("mouse2up",     "AILocSelect", "editMode(\"none\")")
  815. map ("mouse2down",   "AILocSelect", "")
  816. map ("esc",          "AILocSelect", "editMode(\"none\")")
  817.  
  818.  
  819. //////////////////////////
  820. //  developer mode      //
  821. //////////////////////////
  822.  
  823. map ("control-q", "developer", "mpCommand(\"rateToggle\")")
  824. map ("control-w", "developer", "renderWireframe")
  825. map ("control-alt-b", "developer", "renderBackfaceCull")
  826. map ("control-n", "developer", "configToggle(\"drawSurfaceNormals\")")
  827. map ("shift-control-n", "developer", "configToggle(\"drawVertexNormals\")")
  828. map ("shift-g", "developer", "gameSpeedMult(2.0)")
  829. map ("control-shift-g", "developer", "gameSpeedMult(0.5)")
  830. map ("+shift-,", "developer", "uiScaleProtoUnitDown")
  831. map ("+shift-.", "developer", "uiScaleProtoUnitUp")
  832. map ("+shift-k", "developer", "uiScaleUnitDown")
  833. map ("+k", "developer", "uiScaleUnitUp")
  834. map ("f12", "developer", "loadQuickCamera")
  835. map ("shift-f12", "developer", "saveQuickCamera")
  836. map ("p", "developer", "playerIncCurrent")
  837. map ("shift-p", "developer", "playerDecCurrent")
  838. map ("f5", "developer", "gadgetToggle(\"APerfDialog\")")
  839. map ("f6", "developer", "blackmap")
  840. map ("f7", "developer", "fog")
  841. map ("control-alt-d", "developer", "toggleDebugUI")
  842. map ("control-alt-i", "aidebug", "AIDebugInfoToggle")
  843.  
  844.  
  845. // Mappings for resource addition
  846. map ("shift-f1", "world", "resourceAdjust(-1, \"Food\", 50000)")
  847. map ("shift-f2", "world", "resourceAdjust(-1, \"Wood\", 50000)")
  848. map ("shift-f3", "world", "resourceAdjust(-1, \"Gold\", 50000)")
  849. map ("shift-f4", "world", "resourceAdjust(-1, \"Favor\", 100)")
  850. map ("shift-f5", "world", "resourceAdjust(-1, \"Favor\", 100)")
  851.  
  852. // Mappings for player switching
  853. map ("control-f1", "world", "player(1)")
  854. map ("control-f2", "world", "player(2)")
  855. map ("control-f3", "world", "player(3)")
  856. map ("control-f4", "world", "player(4)")
  857. map ("control-f5", "world", "player(5)")
  858. map ("control-f6", "world", "player(6)")
  859. map ("control-f7", "world", "player(7)")
  860. map ("control-f8", "world", "player(8)")
  861. map ("control-f9", "world", "player(9)")
  862. map ("control-f10", "world", "player(0)")
  863.  
  864. //Debugging keys.
  865. map ("control-alt-o", "developer", "renderObstructionManager")
  866. map ("alt-p", "developer", "pathShow")
  867. map ("alt-shift-p", "developer", "configToggle(\"showLowLevelPather\")")
  868. map ("alt-u", "developer", "configToggle(\"showUnits\")")
  869. map ("alt-i", "developer", "unitIncRenderIDStyle")
  870. map ("alt-g", "developer", "renderUnitGroups")
  871. map ("control-alt-e", "developer", "renderUnitGrouper")
  872. map ("alt-b", "developer", "renderBorders")
  873. //map ("control-alt-r", "developer", "renderAreas")
  874. map ("control-alt-r", "developer", "reloadSelected")
  875. //map ("alt-h", "developer", "renderRotateHPBars")
  876. //map ("control-alt-t", "developer", "areaCalculateTileAreas(100.0)")
  877. //map ("control-alt-w", "developer", "areaIncrementAreaToRender")
  878. //map ("alt-m", "developer", "specialEffect(0)")
  879. map ("alt-h", "developer", "uiToggleDebugUnitData")
  880. map ("alt-shift-d", "developer", "gadgetToggle(\"XSDebugger\")")
  881. map ("alt-l", "developer", "doSingleUpdate(1)")
  882. map ("alt-shift-l", "developer", "doSingleUpdate(5)")
  883. map ("alt-v", "root", "toggleDeveloper")
  884. map ("alt-q", "aidebug", "AIDebugInfoToggle")
  885. map ("alt-w", "aidebug", "uiShowAIDebugInfoKBUnit")
  886. map ("control-alt-w", "aidebug", "uiShowAIDebugInfoKBUnit(1)")
  887.  
  888. // Toggle camera limiting
  889. map("control-alt-c", "developer", "cameraLimit")
  890.  
  891. // Get to a camera limit valid viewing angle but with camera limit off.
  892. map("alt-shift-c", "developer", "cameraLimit(1) cameraLimit(0)")
  893.  
  894. // Toggle camera rotation
  895. map("alt-c", "world", "cameraRotate")
  896.  
  897. // Unit debugging.
  898. map("alt-f1", "developer", "configToggle(\"showSelectedUnitLOS\")")
  899. map("alt-shift-f1", "developer", "configToggle(\"showUnitLOS\")")
  900. map("alt-f3", "developer", "unitToggleShowSelectedActionRange(\"rangedattack\")")
  901. map("alt-shift-f3", "developer", "unitToggleShowActionRange(\"rangedattack\")")
  902.  
  903. // Animation Controller
  904. map ("control-alt-v", "developer", "unitIncVariation(-1)")
  905.  
  906. // editing UI
  907. map ("control-i", "game", "gadgetToggle(\"UnitStatsDialog\")")
  908. map ("alt-o", "developer", "gadgetToggleIfNotMP(\"gameprotopalette\")")
  909.  
  910. //Misc
  911. map ("shift-control-c", "world", "uiFindType(\"Camera Start\")")
  912.  
  913.  
  914.  
  915. //////////////////////////
  916. //  world mode          //
  917. //////////////////////////
  918.  
  919. // World screen shots
  920. map ("control-f12", "world", "screenshot")
  921. map ("printscreen", "world", "screenshot")
  922. // Supa screen shot
  923. map("control-alt-f12", "root", "supascreenshot(10000)")
  924.  
  925. // World Misc
  926. map ("alt-x", "world", "gadgetReal(\"exitdialog\")")
  927. map ("esc", "world", "uiClearSelection")
  928.  
  929. // World Camera control
  930. map("+numpad1", "world", "cameraWorldBackwardLeft")
  931. map("+numpad2", "world", "cameraWorldBackward")
  932. map("+numpad3", "world", "cameraWorldBackwardRight")
  933. map("+numpad4", "world", "cameraLeft")
  934. map("+numpad6", "world", "cameraRight")
  935. map("+numpad7", "world", "cameraWorldForwardLeft")
  936. map("+numpad8", "world", "cameraWorldForward")
  937. map("+numpad9", "world", "cameraWorldForwardRight")
  938. map("+alt-numpad1", "world", "cameraWorldBackwardLeft")
  939. map("+alt-numpad2", "world", "cameraWorldBackward")
  940. map("+alt-numpad3", "world", "cameraWorldBackwardRight")
  941. map("+alt-numpad4", "world", "cameraLeft")
  942. map("+alt-numpad6", "world", "cameraRight")
  943. map("+alt-numpad7", "world", "cameraWorldForwardLeft")
  944. map("+alt-numpad8", "world", "cameraWorldForward")
  945. map("+alt-numpad9", "world", "cameraWorldForwardRight")
  946. map("+shift-numpad1", "world", "cameraWorldBackwardLeft")
  947. map("+shift-numpad2", "world", "cameraWorldBackward")
  948. map("+shift-numpad3", "world", "cameraWorldBackwardRight")
  949. map("+shift-numpad4", "world", "cameraLeft")
  950. map("+shift-numpad6", "world", "cameraRight")
  951. map("+shift-numpad7", "world", "cameraWorldForwardLeft")
  952. map("+shift-numpad8", "world", "cameraWorldForward")
  953. map("+shift-numpad9", "world", "cameraWorldForwardRight")
  954. map("+control-numpad6", "world", "cameraYawRight")
  955. map("+control-numpad4", "world", "cameraYawLeft")
  956. map("+control-numpad8", "world", "cameraPitchForward")
  957. map("+control-numpad2", "world", "cameraPitchBackward")
  958. map("+control-numpad7", "world", "")
  959. map("+control-numpad9", "world", "")
  960. map("+control-numpad1", "world", "")
  961. map("+control-numpad3", "world", "")
  962.  
  963. map("+arrowup", "world", "cameraWorldForward")
  964. map("+arrowdown", "world", "cameraWorldBackward")
  965. map("+arrowright", "world", "cameraRight")
  966. map("+arrowleft", "world", "cameraLeft")
  967. map("+numpadplus", "world", "cameraForward")
  968. map("+=", "world", "cameraForward")
  969. map("+numpadminus", "world", "cameraBackward")
  970. map("+-", "world", "cameraBackward")
  971. map("+control-arrowup", "world", "cameraPitchForward")
  972. map("+control-arrowdown", "world", "cameraPitchBackward")
  973. map("+control-arrowright", "world", "cameraYawRight")
  974. map("+control-arrowleft", "world", "cameraYawLeft")
  975. map("mousez", "world", "uiWheelRotate")
  976. // jce 10/8/99 -- camera control hack until fallback on modifiers implemented.
  977. map("+alt-arrowup", "world", "cameraWorldForward")
  978. map("+alt-arrowdown", "world", "cameraWorldBackward")
  979. map("+alt-arrowright", "world", "cameraRight")
  980. map("+alt-arrowleft", "world", "cameraLeft")
  981. map("+alt-numpadplus", "world", "cameraForward")
  982. map("+alt-=", "world", "cameraForward")
  983. map("+alt-numpadminus", "world", "cameraBackward")
  984. map("+alt--", "world", "cameraBackward")
  985. map("+alt-pagedown", "world", "cameraDown")
  986. map("+alt-pageup", "world", "cameraUp")
  987. map("+alt-control-arrowup", "world", "cameraPitchForward")
  988. map("+alt-control-arrowdown", "world", "cameraPitchBackward")
  989. map("+alt-a", "world", "cameraPitchForward")
  990. map("+alt-z", "world", "cameraPitchBackward")
  991. map("+alt-control-arrowright", "world", "cameraYawRight")
  992. map("+alt-control-arrowleft", "world", "cameraYawLeft")
  993. map("+shift-arrowup", "world", "cameraWorldForward")
  994. map("+shift-arrowdown", "world", "cameraWorldBackward")
  995. map("+shift-arrowright", "world", "cameraRight")
  996. map("+shift-arrowleft", "world", "cameraLeft")
  997. map("+shift-numpadplus", "world", "cameraForward")
  998. map("+shift-=", "world", "cameraForward")
  999. map("+shift-numpadminus", "world", "cameraBackward")
  1000. map("+shift--", "world", "cameraBackward")
  1001. map("+shift-pagedown", "world", "cameraDown")
  1002. map("+shift-pageup", "world", "cameraUp")
  1003. map("+shift-control-arrowup", "world", "cameraPitchForward")
  1004. map("+shift-control-arrowdown", "world", "cameraPitchBackward")
  1005. map("+shift-a", "world", "cameraPitchForward")
  1006. map("+shift-z", "world", "cameraPitchBackward")
  1007. map("+shift-control-arrowright", "world", "cameraYawRight")
  1008. map("+shift-control-arrowleft", "world", "cameraYawLeft")
  1009.  
  1010. // World minimap
  1011. map ("control-alt-m", "world", "gadgetRefresh(\"AGameMinimap\")")
  1012. //map ("]", "world", "minimapZoomDelta(-0.1)")
  1013. //map ("shift-]", "world", "minimapZoom(0.1)")
  1014. //map ("[", "world", "minimapZoomDelta(0.1)")
  1015. //map ("shift-[", "world", "minimapZoom(1.0)")
  1016. map ("control-alt-tab", "world", "gadgetToggle(\"AGameMinimap\")")
  1017.  
  1018. // World Game UI
  1019. map ("q", "game", "uiStopSelectedUnits")
  1020. map ("alt-f", "game", "renderFriendOrFoe")
  1021. map ("alt-f", "postgame", "renderFriendOrFoe")
  1022.  
  1023. map ("control-arrowdown", "game", "uiMinimizeMainBackground")
  1024. map ("control-arrowup", "game", "uiMaximizeMainBackground")
  1025.  
  1026. // World Quick save and quick load
  1027. map ("control-alt-s", "world", "saveScenario(\"QuickSave\")")
  1028. map ("control-alt-l", "world", "loadScenario(\"QuickSave\")")
  1029. map ("control-s", "developer", "saveScenario(\"QuickSave\")")
  1030. map ("control-l", "developer", "loadScenario(\"QuickSave\")")
  1031. map ("control-shift-s", "world", "saveGame(\"QuickSavegame\")")
  1032. map ("control-shift-l", "world", "loadGame(\"QuickSavegame\")")
  1033.  
  1034. // World selection
  1035. map ("mouse1down", "world", "uiSelectionButtonDown")
  1036. map ("mouse1up", "world", "uiSelectionButtonUp")
  1037. map ("alt-mouse1down", "world", "uiSelectionButtonDown")
  1038. map ("alt-mouse1up", "world", "uiSelectionButtonUp")
  1039. map ("control-mouse1down", "world", "uiAddSelectionButtonDown")
  1040. map ("control-mouse1up", "world", "uiToggleSelectionButton")
  1041. map ("shift-mouse1down", "world", "uiAddSelectionButtonDown")
  1042. map ("shift-mouse1up", "world", "uiToggleSelectionButton")
  1043. //map ("shift-mouse1down", "world", "")
  1044. //map ("shift-mouse1up", "world", "uiToggleSelectionButton")
  1045. map ("mouse2up", "world", "uiWorkAtPointer")
  1046. map ("mouse2doubleup", "world", "uiWorkAtPointer")
  1047. map ("mouse1doubleup", "world", "uiDoubleClickSelect(0)")
  1048. map ("shift-mouse1doubledown", "world", "")
  1049. map ("shift-mouse1doubleup", "world", "uiDoubleClickSelect(1)")
  1050. map ("control-mouse1doubledown", "world", "")
  1051. map ("control-mouse1doubleup", "world", "uiDoubleClickSelect(0, true)")
  1052. map ("control-shift-mouse1doubledown", "world", "")
  1053. map ("control-shift-mouse1doubleup", "world", "uiDoubleClickSelect(1, true)")
  1054.  
  1055. map ("mouse2up", "attackMove", "uiWorkAtPointer editMode(\"none\")")
  1056. map ("mouse2down", "attackMove", "")
  1057. map ("mouse1up", "attackMove", "uiWorkAtPointer editMode(\"none\")")
  1058. map ("mouse1down", "attackMove", "")
  1059. map ("esc", "attackMove", "editMode(\"none\")")
  1060. map ("a", "game", "enterAttackMoveMode")
  1061.  
  1062.  
  1063. // World game modes
  1064. map ("alt-e", "developer", "subModeToggleBetweenIfNotMP(\"Simulation\", \"Editor\", \"SinglePlayer\")")
  1065. map ("control-alt-g", "developer", "subModeToggleBetweenIfNotMP(\"Simulation\", \"Editor\", \"SinglePlayer\")")
  1066.  
  1067. ///////////////////////
  1068. //  Other Modes      //
  1069. ///////////////////////
  1070.  
  1071. // flare
  1072. map ("mouse1down", "flare", "")
  1073. map ("mouse1up", "flare", "uiFlareAtPointer editMode(\"none\")")
  1074. map ("mouse2down", "flare", "")
  1075. map ("mouse2up", "flare", "editMode(\"none\")")
  1076. map ("esc", "flare", "editMode(\"none\")")
  1077. // respond to flare, but game context
  1078. map ("mouse3down", "game", "uiZoomToMinimapEvent()")
  1079. map ("home", "game", "uiZoomToMinimapEvent()")
  1080.  
  1081. // help
  1082. map ("mouse1down", "help", "")
  1083. map ("mouse1up", "help", "uiHelpAtPointer editMode(\"none\")")
  1084. map ("mouse2down", "help", "")
  1085. map ("mouse2up", "help", "editMode(\"none\")")
  1086. map ("esc", "help", "editMode(\"none\")")
  1087.  
  1088. // repair
  1089. map ("mouse1down", "repair", "")
  1090. map ("mouse1up", "repair", "uiRepairAtPointer editMode(\"none\")")
  1091. map ("mouse2down", "repair", "")
  1092. map ("mouse2up", "repair", "editMode(\"none\")")
  1093. map ("esc", "repair", "editMode(\"none\")")
  1094.  
  1095. // empower
  1096. map ("mouse1down", "empower", "")
  1097. map ("mouse1up", "empower", "uiEmpowerAtPointer editMode(\"none\")")
  1098. map ("mouse2down", "empower", "")
  1099. map ("mouse2up", "empower", "editMode(\"none\")")
  1100. map ("esc", "empower", "editMode(\"none\")")
  1101.  
  1102. // eject at
  1103. map ("mouse1down", "ejectat", "")
  1104. map ("mouse1up", "ejectat", "uiEjectAtPointer editMode(\"none\")")
  1105. map ("mouse2down", "ejectat", "")
  1106. map ("mouse2up", "ejectat", "editMode(\"none\")")
  1107. map ("esc", "ejectat", "editMode(\"none\")")
  1108.  
  1109. // guard
  1110. map ("mouse1down", "guard", "")
  1111. map ("mouse1up", "guard", "uiGuardAtPointer editMode(\"none\")")
  1112. map ("mouse2down", "guard", "")
  1113. map ("mouse2up", "guard", "editMode(\"none\")")
  1114. map ("esc", "guard", "editMode(\"none\")")
  1115.  
  1116. // patrol
  1117. map ("mouse1down", "patrol", "")
  1118. map ("mouse1up", "patrol", "uiPatrolAtPointer editMode(\"none\")")
  1119. map ("shift-mouse1down", "patrol", "")
  1120. map ("shift-mouse1up", "patrol", "uiPatrolAtPointer uiLeaveModeOnUnshift")
  1121. map ("mouse2down", "patrol", "")
  1122. map ("mouse2up", "patrol", "editMode(\"none\")")
  1123. map ("esc", "patrol", "editMode(\"none\")")
  1124.  
  1125. // earthquake
  1126. map ("mouse1down", "earthquake", "")
  1127. map ("mouse1up", "earthquake", "uiEarthquakeAtPointer")
  1128. map ("esc", "earthquake", "editMode(\"none\")")
  1129.  
  1130. // create hull
  1131. map ("mouse1down", "createhull", "")
  1132. map ("mouse1up", "createhull", "uiAddPointToHull")
  1133. map ("mouse2down", "createhull", "uiClearHull")
  1134. map ("mouse2up", "createhull", "")
  1135. map ("esc", "createhull","editMode(\"none\")")
  1136.  
  1137. // field set type gadgets
  1138. map ("esc", "fieldSet", "uiCloseFieldSet")
  1139. map ("tab", "fieldSet", "uiCycleGadget(1)")
  1140. map ("shift-tab", "fieldSet", "uiCycleGadget(-1)")
  1141.  
  1142. // dialog set type gadgets
  1143. //map ("esc", "dialog", "uiCloseDialog")
  1144. map ("tab", "dialog", "uiCycleGadget(1)")
  1145. map ("shift-tab", "dialog", "uiCycleGadget(-1)")
  1146. //map ("enter", "dialog", "uiCycleCurrentActivate")
  1147.  
  1148.  
  1149. // requested designer feature
  1150. map ("alt-b", "editor", "fogToBlack")
  1151.  
  1152. // Tribute Hot Key
  1153. //map ("alt-t", "game", "uiShowTributeDialog() subModeEnter("Simulation", "GameMenu")")
  1154.  
  1155. // XS Debugger.
  1156. map("F10", "xsdebugger", "")
  1157. map("F11", "xsdebugger", "")
  1158.  
  1159. // combat comparisoN
  1160. map("alt-n", "developer", "gadgetToggle(\"CCDialog\")")
  1161.  
  1162. // cinematic mode
  1163. map("esc", "cinematic", "abortCinematic")
  1164. map("space", "cinematic", "abortCinematic")
  1165.  
  1166. //pregame stuff
  1167. map("esc", "pregame", "gadgetUnreal(\"PlayBanner\") gadgetUnReal(\"MoreBanner\")")
  1168.  
  1169. map("pagedown", "world", "uiChatScroll(0)")
  1170. map("pageup", "world", "uiChatScroll(1)")
  1171.  
  1172. // jce 2/12/2002 -- restore some of the freaky camera keys/move them into developer context so
  1173. // the can override other hotkeys in developer mode.
  1174. map("+pagedown", "developer", "cameraDown")
  1175. map("+pageup", "developer", "cameraUp")
  1176. map("+a", "developer", "cameraPitchForward")
  1177. map("+z", "developer", "cameraPitchBackward")
  1178.  
  1179. // stances & formations
  1180. map("alt-a", "game", "unitSetStanceAggressive()")
  1181. map("alt-d", "game", "unitSetStanceDefensive()")
  1182. map("alt-s", "game", "unitSetStancePassive()")
  1183.  
  1184. map("alt-l", "game", "unitSetFormationDefault()")
  1185. map("alt-b", "game", "unitSetFormationBox()")
  1186. map("alt-m", "game", "unitSetFormationMixed()")
  1187. map("alt-x", "game", "unitSetFormationSpread()")
  1188.  
  1189. map("alt-n", "game", "uiToggleCombatCommands")
  1190.