Game Development Community

GUI in game

by Mike G.M. · in Torque Game Engine · 01/12/2004 (12:23 pm) · 7 replies

Could the f10 and f11 keys be disabled so the player not to be allowed editing a published game, i did it in demo and realmwars techdemo and got the GUI, so im too worried about with a player doing this in a compiled game.

#1
01/12/2004 (12:38 pm)
Sure it wouldn't be too hard, you have the code. Wouldn't it just be a matter of removing the key bindings ;)
#2
01/12/2004 (12:50 pm)
They can still mess with the gui if you ship the game with the .gui and/or .cs files.
#3
01/12/2004 (12:57 pm)
That's why you ship with the compiled files ;)
#4
01/12/2004 (1:07 pm)
They can still mess with the .dso files if you ship the game with them....
*cough* script decompiler *cough*

In the long run, whatever you lock away will be hacked, cracked, and used, provided there is a demand to do such a thing.

In the case of the world editor however, it is pretty easy to remove (just remove the scripts). Though im not quite sure if you can easily remove some of the c++ code for it aswell.
#5
01/12/2004 (3:12 pm)
You can pretty irrevocably _break_ the world editor stuff by just deleting chunks of it. If you miss some, so what? It'll still crash and be near-impossible to fix for others. :)
#6
01/12/2004 (8:44 pm)
The mission and GUI editors both use special GUI objects. You can remove the source code to those objects and effectively remove the ability for them to be used, even if you include the scripts.

Further discussion as to what C++ code would need to be changed should be moved to the Private SDK forums.
#7
01/14/2004 (12:53 pm)
Thanks for your all lines of guidance.