Game Development Community

dev|Pro Game Development Curriculum

Proper ShowTool Keyboard Setup

by Ori Cohen · 04/26/2004 (10:28 am) · 1 comments

Hi Folks,

One of the programmers i work with requested this change in the showtool's keyboard setup.
As you know ShowTool's keyboard setup is pretty bad. so here is how you change it.

Cam View (arrows):
[left,right] - turning on y
[forward,backward] - z axis

Person View:
[w,s] - y axis
[a,d] - x axis

you will find the file you need in example\show\scripts\show.bind.cs
In line 61 change From:
showMoveMap.bind(keyboard, a, showMoveleft);
showMoveMap.bind(keyboard, d, showMoveright);
showMoveMap.bind(keyboard, w, showMoveforward);
showMoveMap.bind(keyboard, s, showMovebackward);
showMoveMap.bind(keyboard, e, showMoveup);
showMoveMap.bind(keyboard, c, showMovedown);
showMoveMap.bind(keyboard, z, showTurnLeft);
showMoveMap.bind(keyboard, x, showTurnRight);

To:
showMoveMap.bind(keyboard, a, showMoveleft);
showMoveMap.bind(keyboard, d, showMoveright);
showMoveMap.bind(keyboard, up, showMoveforward);
showMoveMap.bind(keyboard, down, showMovebackward);
showMoveMap.bind(keyboard, w, showMoveup);
showMoveMap.bind(keyboard, s, showMovedown);
showMoveMap.bind(keyboard, left, showTurnLeft);
showMoveMap.bind(keyboard, right, showTurnRight);

its about time someone would Upgrade showtool completely [HINT]

Ori

#1
04/26/2004 (11:25 am)
Check forums - John Vanderbeck is already on that task ;-)