How can i disable the Back quote key (`) on keyboard that can prevent the player/gamers to view the GUI/mouse click code/script & etc. when their press the (`) on pc keyboard?
I want to disabled it but can't find the right script/code to disabled it,besides i can't use the 'ClaimEvent ()' command & 'on_key_press' function through it because it's exlude from ASCII code table in AGS Manual
What i want is the same like the King's Quest 1,2 & 3 games remake by AGD Interactive that prevent/disable the user/gamers to view the code/script from a top of the games screen.
THX.
This function is hardcoded in the engine, not in the scripts, so you cannot disable it by using ClaimEvent(). I think that key's functionality will be disabled when you turn off Debug Mode before saving the game.
A number of people weren't even aware that AGS has a Debug Mode, so they released their game with it still turned on. One of the first thing one should do before releasing the final version of a game to public is to disable this mode.
Yes, in a released game without Debug, all you can get is the engine version.
Just because a certain keycode doesn't show up in the manual doesn't mean AGS can't/won't detect it. Even if on_key_press isn't called, you can check for a lot of keys with IsKeyPressed. Of course, as mentioned, you need to disable debug mode.
Thanks guys..anyway it's just confusing me a little & i just found the manual on the topic 'Debugging features' that explain everything on that..just my negligent :P
The other thing, I've just accidentally hit the CTRL + V and it reveal the popup msg with something like pic below..
http://i.imgur.com/ZfP2V.png
how can i disable it?or not??
Again, just turn Debug Mode off and it will go away.
This time, the key is coded in the Global Script though. Look for the following line in the function on_key_press():
if (keycode == eKeyCtrlV) Debug(1,0); // Ctrl-V, version
If you comment out this line the info won't even be shown while in Debug Mode. There isn't much reason to do this though, unless you need to use Ctrl-V in your game, and in this case you can modify this line by using another key for displaying the engine version, or just comment the line out.
Done..Loud & Clear..Thanks mate.. :)