Game Development Community

No World Editor??

by Jason Tilley · in Torque Game Engine · 01/31/2004 (6:08 am) · 3 replies

Hi

When I press F11 in the demo, nothing happens.

I'm not sure if it has something to do with my keyboard. All the F buttons have the F's on the front of the keys and a word on the top.

Any help would be much appreciated.

Thanks

#1
01/31/2004 (6:21 am)
You either:
1 - remapped F11 to something else in your keybindings (its bound to the editor in the common\editor\editor.cs
The line should be:
GlobalActionMap.bind(keyboard, "f11", toggleEditor);
where the "toggleEditor" is a function in the editor.cs

If later on you have another function the re-maps F11 you will lose this mapping.

2 - You removed the execute of the editor.cs from common\main.cs
or
3 - Something I didn't think of.

Hope that helps.

You can open the editor without using the keybinding by:
1 - opening up the console window using the "~" key.
2 - execute 'Editor::create();'
3 - execute 'Editor.close();'
None of those commands should create errors and after you are done you should have the editor open.
#2
02/01/2004 (1:47 pm)
Hey,

I had the same problem. I have a wireless microsoft keyboard that has two functions for the "F" Keys. The keys (like F12, F11, etc...) arent turned on automatically. You have to hit "F Lock" in the upper right hand corner of the keyboard next to the F Buttons. This should solve your problem if you use a keyboard similar to mine.
#3
02/02/2004 (5:01 pm)
The problem that Steven mentions also occurs on some laptops that use the F keys for volume controls, etc. (Apple Laptops especially)

Such machines usually have a fn or F-lock key that, when used in conjunction with the appropriate F-key, should produce the desired effect.