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

  1. newActionMap( herc );
  2. bindAction(keyboard0, make, "down", TO, IDACTION_SPEED, -1.000000);
  3. bindAction(mouse0, make, button0, TO, IDACTION_FIRE, 1.000000);
  4. bindAction(keyboard0, make, "up", TO, IDACTION_SPEED, 1.000000);
  5. bindAction(mouse0, xaxis0, TO, IDACTION_LOOK_X, Flip, Scale, 0.500000);
  6. bindAction(mouse0, yaxis0, TO, IDACTION_LOOK_Y, Flip, Scale, 0.500000);
  7. bindAction(keyboard0, make, "backspace", TO, IDACTION_STOP);
  8. bindAction(mouse0, break, button1, TO, IDACTION_TARGET_SELECTED);
  9. bindAction(keyboard0, make, "left", TO, IDACTION_YAW, 1.000000);
  10. bindAction(keyboard0, make, "right", TO, IDACTION_YAW, -1.000000);
  11. bindAction(keyboard0, break, "right", TO, IDACTION_YAW, 0.000000);
  12. bindAction(keyboard0, break, "up", TO, IDACTION_SPEED, 0.000000);
  13. bindAction(keyboard0, break, "left", TO, IDACTION_YAW, 0.000000);
  14. bindAction(keyboard0, break, "down", TO, IDACTION_SPEED, 0.000000);
  15. bindAction(mouse0, break, button0, TO, IDACTION_FIRE, 0.000000);
  16.  
  17.  
  18. newActionMap( cameraOrbit );
  19. bindAction(keyboard0, make, "n", TO, IDACTION_NEXT);
  20. bindAction(keyboard0, make, "p", TO, IDACTION_PREV);
  21. bindAction(keyboard0, make, "up", TO, IDACTION_SPEED, 0.500000);
  22. bindAction(keyboard0, make, "down", TO, IDACTION_SPEED, -0.500000);
  23. bindAction(keyboard0, make, "left", TO, IDACTION_YAW, -0.750000);
  24. bindAction(keyboard0, make, "right", TO, IDACTION_YAW, 0.750000);
  25. bindAction(keyboard0, break, "up", TO, IDACTION_SPEED, 0.000000);
  26. bindAction(keyboard0, break, "right", TO, IDACTION_YAW, 0.000000);
  27. bindAction(keyboard0, break, "left", TO, IDACTION_YAW, 0.000000);
  28. bindAction(keyboard0, break, "down", TO, IDACTION_SPEED, 0.000000);
  29. bindAction( joystick0, make,  button0, TO, IDACTION_ZOOM_MODE, 1.0 );
  30. bindAction( joystick0, break, button0, TO, IDACTION_ZOOM_MODE, 0.0 );
  31.  
  32.  
  33. #------------------------------------------------------------------------------
  34. # include generic game actions
  35. #------------------------------------------------------------------------------
  36. exec( "_gameActions.cs" );
  37.  
  38.  
  39.  
  40.