Controls Question
by Chase Hilderbrandt · in Torque Game Engine · 04/17/2007 (4:47 pm) · 2 replies
How do i take controls out of the client. Such as F10/F11/~ i was wondering how i could take those out. Im just learning C++ coding, and was wondering if anyone knew where i can change this. Such as if i wanted to make a client for other people to use, i wouldnt want them to be able to change GUIS or anything
About the author
Employee Michael Perry
ZombieShortbus
- Search for all instances of GlobalActionMap.bind(keyboard, "f10", GuiEdit); in the scripts and delete the lines[li]Search for all isntances of GlobalActionMap.bind(keyboard, "f11", toggleEditor); in the scripts and delete the lines.
Efficient Way:- Do the above step[li]Delete the creator folder in the example directory
Super Secure and Efficient But Not So Easy Way:[li]Do the above steps[li]Remove the editors from the engine code: files in engine\editor (such as WorldEditor.h/.cc) and engine\gui\editor[li]Recompile engine