home *** CD-ROM | disk | FTP | other *** search
/ Classic Fond 54 / ClassicFond54.iso / games / stars.rar / keyMaps / _defKeyboard.cs < prev    next >
Text File  |  1999-02-19  |  8KB  |  138 lines

  1. #modified 11/9/98
  2.  
  3. ###############################################################################           
  4. #
  5. #         Generic keyboard Herc control script file
  6. #
  7. ###############################################################################     
  8.        
  9. newActionMap( Herc );     
  10. #------------------------------------------------------------------------------
  11. #    Movement Controls           
  12. #------------------------------------------------------------------------------           
  13. bindaction( keyboard, make,  numpad4, TO, IDACTION_YAW, "+1.0" );   
  14. bindaction( keyboard, break,  numpad4, TO, IDACTION_YAW, 0 );   
  15. bindaction( keyboard, make,  numpad6, TO, IDACTION_YAW, "-1.0" );   
  16. bindaction( keyboard, break,  numpad6, TO, IDACTION_YAW, 0 );   
  17. bindaction( keyboard, make,  numpad8, TO, IDACTION_SPEED, "+1.0" );   
  18. bindaction( keyboard, break,  numpad8, TO, IDACTION_SPEED, 0 );   
  19. bindaction( keyboard, make,  numpad2, TO, IDACTION_SPEED, "-1.0" );   
  20. bindaction( keyboard, break,  numpad2, TO, IDACTION_SPEED, 0 );   
  21. bindaction( keyboard, make,  numpad0, TO, IDACTION_REVERSE_THROTTLE );    
  22. bindaction( keyboard, make,  numpad5, TO, IDACTION_STOP );    
  23.            
  24. bindaction( keyboard, make,  left, TO, IDACTION_YAW, "+1.0" );   
  25. bindaction( keyboard, break,  left, TO, IDACTION_YAW, 0 );   
  26. bindaction( keyboard, make,  right, TO, IDACTION_YAW, "-1.0" );   
  27. bindaction( keyboard, break,  right, TO, IDACTION_YAW, 0 );   
  28. bindaction( keyboard, make,  up, TO, IDACTION_SPEED, "+1.0" );   
  29. bindaction( keyboard, break,  up, TO, IDACTION_SPEED, 0 );   
  30. bindaction( keyboard, make,  down, TO, IDACTION_SPEED, "-1.0" );   
  31. bindaction( keyboard, break,  down, TO, IDACTION_SPEED, 0 );      
  32. bindaction( keyboard, make,  backspace, TO, IDACTION_STOP );    
  33.            
  34. bindaction( keyboard, make,  "[", TO, IDACTION_CENTER_TURRET );    
  35. bindaction( keyboard, make,  "]", TO, IDACTION_CENTER_BODY );    
  36. bindaction( keyboard, make,  c, TO, IDACTION_CROUCH );    
  37. bindaction( keyboard, make,  numpadEnter, TO, IDACTION_REACTOR ); 
  38.    
  39. #------------------------------------------------------------------------------           
  40. #    Weapon Controls           
  41. #------------------------------------------------------------------------------
  42. bindaction( keyboard, make, control, 1, TO, IDACTION_WEAPON_SELECT, 0 );   
  43. bindaction( keyboard, make, control, 2, TO, IDACTION_WEAPON_SELECT, 1 );   
  44. bindaction( keyboard, make, control, 3, TO, IDACTION_WEAPON_SELECT, 2 );   
  45. bindaction( keyboard, make, control, 4, TO, IDACTION_WEAPON_SELECT, 3 );   
  46. bindaction( keyboard, make, control, 5, TO, IDACTION_WEAPON_SELECT, 4 );   
  47. bindaction( keyboard, make, control, 6, TO, IDACTION_WEAPON_SELECT, 5 );   
  48. bindaction( keyboard, make, shift, 1, TO, IDACTION_WEAPON_GROUP_TOGGLE, 0 );   
  49. bindaction( keyboard, make, shift, 2, TO, IDACTION_WEAPON_GROUP_TOGGLE, 1 );   
  50. bindaction( keyboard, make, shift, 3, TO, IDACTION_WEAPON_GROUP_TOGGLE, 2 );   
  51. bindaction( keyboard, make, shift, 4, TO, IDACTION_WEAPON_GROUP_TOGGLE, 3 );   
  52. bindaction( keyboard, make, shift, 5, TO, IDACTION_WEAPON_GROUP_TOGGLE, 4 );   
  53. bindaction( keyboard, make, shift, 6, TO, IDACTION_WEAPON_GROUP_TOGGLE, 5 );   
  54. bindaction( keyboard, make,  tab, TO, IDACTION_WEAPON_MODE_SELECT );    
  55. bindaction( keyboard, make,  l, TO, IDACTION_WEAPON_MODE_SELECT );
  56. bindaction( keyboard, make,  "numpad+", TO, IDACTION_WEAPON_MODE_SELECT );    
  57. bindaction( keyboard, make,  "=", TO, IDACTION_WEAPON_GROUP_ADJ, 1 );   
  58. bindaction( keyboard, make,  "-", TO, IDACTION_WEAPON_GROUP_ADJ, "-1.0" );   
  59. bindaction( keyboard, make,  1, TO, IDACTION_WEAPON_GROUP_SELECT, 0 );   
  60. bindaction( keyboard, make,  2, TO, IDACTION_WEAPON_GROUP_SELECT, 1 );   
  61. bindaction( keyboard, make,  3, TO, IDACTION_WEAPON_GROUP_SELECT, 2 );   
  62.  
  63. bindaction( keyboard, make,  space, TO, IDACTION_FIRE, 1 );   
  64. bindaction( keyboard, break,  space, TO, IDACTION_FIRE, 0 );   
  65.  
  66. #------------------------------------------------------------------------------
  67. #    Targeting & Navigation Controls           
  68. #------------------------------------------------------------------------------
  69. bindaction( keyboard, make,  t, TO, IDACTION_TARGET_CLOSEST_ENEMY );    
  70. bindaction( keyboard, make,  y, TO, IDACTION_TARGET_ADJ_ENEMY, "+1.0" );   
  71. bindaction( keyboard, make, shift, y, TO, IDACTION_TARGET_ADJ_ENEMY, "-1.0" );   
  72.            
  73. bindaction( keyboard, make,  f, TO, IDACTION_TARGET_CLOSEST_FRIENDLY );    
  74. bindaction( keyboard, make,  g, TO, IDACTION_TARGET_ADJ_FRIENDLY, "+1.0" );   
  75. bindaction( keyboard, make, shift, g, TO, IDACTION_TARGET_ADJ_FRIENDLY, "-1.0" );   
  76.            
  77. bindaction( keyboard, make,  i, TO, IDACTION_SCAN_TARGET );    
  78. bindaction( keyboard, make,  s, TO, IDACTION_SPOT, 1 );   
  79. bindaction( keyboard, break,  s, TO, IDACTION_SPOT, "-1" );   
  80.            
  81. bindaction( keyboard, make,  n, TO, IDACTION_NAVPOINT_NEXT );    
  82. bindaction( keyboard, make, shift, n, TO, IDACTION_NAVPOINT_PREV );    
  83. bindaction( keyboard, make,  comma, TO, IDACTION_NAVPOINT_SET, "-1" );   
  84. bindaction( keyboard, make,  m, TO, IDACTION_DROP_MARKER );    
  85.  
  86. #------------------------------------------------------------------------------           
  87. #     Shield Controls           
  88. #------------------------------------------------------------------------------
  89. bindaction( keyboard, make,  home, TO, IDACTION_SHIELD );    
  90. bindaction( keyboard, make,  insert, TO, IDACTION_SHIELD_TRACK );    
  91. bindaction( keyboard, make,  prior, TO, IDACTION_SHIELD_FOCUS_ADJ, "0.2" );   
  92. bindaction( keyboard, make,  next, TO, IDACTION_SHIELD_FOCUS_ADJ, "-0.2" );   
  93. bindaction( keyboard, make,  delete, TO, IDACTION_SHIELD_ROTATION_ADJ, "0.125" );   
  94. bindaction( keyboard, make,  end, TO, IDACTION_SHIELD_ROTATION_ADJ, "-0.125" );   
  95.  
  96. #------------------------------------------------------------------------------           
  97. #    Squadmate Controls           
  98. #------------------------------------------------------------------------------           
  99. bindaction( keyboard, make,  F1, TO, IDACTION_ORDER_SQUADMATE_1, 0 );   
  100. bindaction( keyboard, make,  F2, TO, IDACTION_ORDER_SQUADMATE_2, 0 );   
  101. bindaction( keyboard, make,  F3, TO, IDACTION_ORDER_SQUADMATE_3, 0 );   
  102. bindaction( keyboard, make,  F4, TO, IDACTION_ORDER_ALL_SQUADMATES, 0 );   
  103. bindaction( keyboard, make,  shift, F1, TO, IDACTION_GENERAL_COMMAND, 0 );   
  104.  
  105. #------------------------------------------------------------------------------
  106. #    Miscellaneous Controls           
  107. #------------------------------------------------------------------------------           
  108. bindaction( keyboard, make, shift, r, TO, IDACTION_SENSOR_RANGE_TOGGLE );    
  109. bindaction( keyboard, make,  r, TO, IDACTION_SENSOR_MODE_TOGGLE );    
  110. bindaction( keyboard, make,  z, TO, IDACTION_ZOOM_ADJ, 1 );   
  111. bindaction( keyboard, break,  z, TO, IDACTION_ZOOM_ADJ, "-1.0" );   
  112. bindaction( keyboard, make,  "numpad/", TO, IDACTION_ZOOM_ADJ, 1 );   
  113. bindaction( keyboard, break,  "numpad/", TO, IDACTION_ZOOM_ADJ, "-1.0" );    
  114.      
  115. bindaction( keyboard, make,  Enter, TO, IDACTION_MAP_VIEW, 0 );   
  116.            
  117. bindaction( keyboard, make,  ";", TO, IDACTION_TOGGLE_NAME_TAG, 0 );   
  118. bindaction( keyboard, make,  "'", TO, IDACTION_SET_NAME_TAG, 1 );   
  119. bindaction( keyboard, break,  "'", TO, IDACTION_SET_NAME_TAG, 0 );   
  120.  
  121. #------------------------------------------------------------------------------
  122. #    Special Component Controls           
  123. #------------------------------------------------------------------------------
  124. bindaction( keyboard, make, control, x, TO, IDACTION_CAMOUFLAGE );    
  125. bindaction( keyboard, make, control, b, TO, IDACTION_TURBO );    
  126. bindaction( keyboard, make, control, s, TO, IDACTION_USE_SHIELD_CAPACITOR );    
  127. bindaction( keyboard, make, control, r, TO, IDACTION_USE_REACTOR_CAPACITOR );    
  128. bindaction( keyboard, make, control, j, TO, IDACTION_ECM_TOGGLE );    
  129. bindaction( keyboard, make, control, t, TO, IDACTION_THERMAL_DIFFUSER_TOGGLE );    
  130.  
  131. bindaction( keyboard, make, 7, TO, IDACTION_USE_SPECIAL , 0 );
  132. bindaction( keyboard, make, 8, TO, IDACTION_USE_SPECIAL , 1 );
  133. bindaction( keyboard, mak