Game Development Community

How to start console

by Holger · in Torque Game Engine · 07/12/2005 (2:18 pm) · 9 replies

Hi,

I am new to this but I think I have a keyboardproblem.

I would like to start the consolewindow in the world editor.

For that I need to press the tilde-key.

Pressing that Tilde-key on my german-keyboard won't popup the Consolewindow.

I think that's a problem of my keymappings of the german keyboard.

Anybody knows what key I have to press instead?

thanks!

#1
07/12/2005 (2:30 pm)
At the end of demo/client/default.binds.cs, there is a line:

GlobalActionMap.bind(keyboard, "tilde", toggleConsole);

Change "tilde" to the name of the key you want to control the console. You might need to delete your config.cs/prefs.cs file to make the change take.
#2
07/12/2005 (3:05 pm)
Ben,

thanks for the fast reply, but where can I find which keywords instead of "tilde" I can use?

Is there anywhere a list in the documentation?

rgds

Juergen
#3
07/12/2005 (3:18 pm)
Hmm,

cannot find any default.binds.cs in the whole SDK-folders
#4
07/12/2005 (3:34 pm)
It's default.bind.cs (not default.binds.cs), and it's in starter.fps/client/scripts

Don't forget to delete starter.fps/client/config.cs

In fact, whilst testing, it might be a good plan to comment out the following line from starter.fps/client/init.cs

// Default player key bindings
   exec("./scripts/default.bind.cs");
   // this next line commented out during development :)
   //exec("./config.cs");
#5
07/12/2005 (4:40 pm)
Quote:
Hmm,

cannot find any default.binds.cs in the whole SDK-folders

It's scripted. Take a look inside common/client/scripts or something like that, it should be there.
#6
07/13/2005 (2:21 am)
Oh, I see my fault.

Can I find somewhere in the docu the keynames.

I suppose for example e-key is just "e" . Right? ;-)
#7
07/13/2005 (6:46 am)
Although you may not have a tilde key its probably still mapped to something... for example I have a UK keyboard and tilde does nothing but the key with a ¬'¦ on it, opens the console! (Its the key below Esc)
#8
07/13/2005 (6:55 am)
Mark,

that did the trick. I tested most of the keys but not that one.

Thank you!
#9
07/14/2005 (2:44 am)
The key you need to press on a german keyboard is '^' then the console window opens.
Hope that helps.