Tilde Key Stops Working
by Tom Irony · in Torque Game Engine · 10/07/2007 (2:33 am) · 5 replies
Hi there! I checked out the other threads related to Tilde key problems but they didn't solve my problem.
I'm going through the 2nd Edition of 3D Game Programming All In One and have run into the problem while going through chapter 3, page 133, step 11. I've had no problems beforehand: pressing the Tilde key would open the console while in the Main Menu of the Torque demo, but as soon as I start a server for the FPS demo the Tilde key stops responding. When I quit the FPS demo and return to the Main Menu (where there are the four demo options) the Tilde key still no longer responds, despite having worked earlier.
I've tried all the keys on my keyboard, alone and using shift, but nothing works.
Does it have anything to do with my using the Vista OS on a laptop?
I'm going through the 2nd Edition of 3D Game Programming All In One and have run into the problem while going through chapter 3, page 133, step 11. I've had no problems beforehand: pressing the Tilde key would open the console while in the Main Menu of the Torque demo, but as soon as I start a server for the FPS demo the Tilde key stops responding. When I quit the FPS demo and return to the Main Menu (where there are the four demo options) the Tilde key still no longer responds, despite having worked earlier.
I've tried all the keys on my keyboard, alone and using shift, but nothing works.
Does it have anything to do with my using the Vista OS on a laptop?
#2
I'm a total newbie to the field, by the way, so I may not immediately figure out how to change the key bindings. Where can I expect to find this file (and I assume I open it with an Editor (i.e., UltraEdit))?
10/08/2007 (6:52 pm)
Hey, thanks for the response! I'll check that out tonight as soon as I can.I'm a total newbie to the field, by the way, so I may not immediately figure out how to change the key bindings. Where can I expect to find this file (and I assume I open it with an Editor (i.e., UltraEdit))?
#3
ANY text editor will do the trick, & dont worry abt being a newbie, u'll find it much easier than u could ever imagine @ the end :)
cheers ;)
10/08/2007 (7:53 pm)
Th file is in URGAMENAME/client/scripts/default.bind.cs.ANY text editor will do the trick, & dont worry abt being a newbie, u'll find it much easier than u could ever imagine @ the end :)
cheers ;)
#4
Okay, so I checked it out and the "default.bind.cs" file has the line: GlobalActionMap.bind(keyboard, "tilde", toggleConsole);
There was nothing to change, so I didn't change anything. How do I make sure it's active?
I would just like to point out again that the Tilde key works fine until I load up FPS Demo, so I assume something gets changed somewhere (though I can't fathom where). Also, I've used this program before on an older computer and I hadn't encountered this problem.
Thanks for the help!
10/10/2007 (1:13 am)
Hi!Okay, so I checked it out and the "default.bind.cs" file has the line: GlobalActionMap.bind(keyboard, "tilde", toggleConsole);
There was nothing to change, so I didn't change anything. How do I make sure it's active?
I would just like to point out again that the Tilde key works fine until I load up FPS Demo, so I assume something gets changed somewhere (though I can't fathom where). Also, I've used this program before on an older computer and I hadn't encountered this problem.
Thanks for the help!
#5
explain more what do u meen that it is working till u load the FPS demo ??, till u enter the mission or the whole game (even the main menu ??)
if it is working in the main menu open it, then load the mission, type "trace(1)" then c what the trace shows up
or u could add those 2 lines in the player created function
then try to press the tilde key & c what the trace gives
10/10/2007 (3:30 am)
Make sure that in the same file there is no binding at all with the function ToggleConsole, or any binding with the tidle key.explain more what do u meen that it is working till u load the FPS demo ??, till u enter the mission or the whole game (even the main menu ??)
if it is working in the main menu open it, then load the mission, type "trace(1)" then c what the trace shows up
or u could add those 2 lines in the player created function
ToggleConsole(); trace(1);
then try to press the tilde key & c what the trace gives
Torque Owner Ehab Yosry Amer
make sure that u have this line in default.bind
GlobalActionMap.bind(keyboard, "tilde", toggleConsole);
& make sure that the GlobalActionMap is active
if u found it there & it is still not working, u could bind it with the movemap or any other map u want for testing.
make sure that there was no binding for the tilde key elswhere (if u found it)
& no binding on the function toggleConsole
note: I have not read the book 3d programming all in one