home *** CD-ROM | disk | FTP | other *** search
- #------------------------------------------------------------------------------
- # include generic camera controls
- exec( "_defCamera.cs" );
-
-
- #------------------------------------------------------------------------------
- # include generic keyboard controls
- exec( "_defKeyboard.cs" );
-
-
- #------------------------------------------------------------------------------
- #
- # Add arrow keys to control of the targeting cursor
- #
- editActionMap( Herc );
-
- # use arrow keys for targeting cursor
- bindAction( keyboard, make, up, TO, IDACTION_LOOK_Y, "+1.0" );
- bindAction( keyboard, make, down, TO, IDACTION_LOOK_Y, -1.0 );
- bindAction( keyboard, break, up, TO, IDACTION_LOOK_Y, 0.0 );
- bindAction( keyboard, break, down, TO, IDACTION_LOOK_Y, 0.0 );
- bindAction( keyboard, make, left, TO, IDACTION_LOOK_X, "+1.0" );
- bindAction( keyboard, make, right, TO, IDACTION_LOOK_X, -1.0 );
- bindAction( keyboard, break, left, TO, IDACTION_LOOK_X, 0.0 );
- bindAction( keyboard, break, right, TO, IDACTION_LOOK_X, 0.0 );
-
-
-