Controls Not Responding ever since compile.
by Samuel Heinicke · in Torque 3D Beginner · 10/22/2012 (2:41 pm) · 7 replies
Hello,
I am following along with the FPS Tutorial. I have made some changes to the player controls as they suggested (added the pistol in so you can select it from the keyboard) I have been following the instructions and came to the command where it says to compile everything (using the compileAll command) Ever since I have done this I have had on and off problems of the controls not working. All i can do is fire and aim with the mouse buttons and move with the arrow keys. I have made sure to delete the file and this solves it for a little bit, I try in world editor to do the "start animation" this works but when I export the game the problem arrises again.
I know this must be a really simple problem, But I am not seeing a solution to it. Do I have to recompile each time I do something? Can someone help me out? Sorry for the noob question :/
I am following along with the FPS Tutorial. I have made some changes to the player controls as they suggested (added the pistol in so you can select it from the keyboard) I have been following the instructions and came to the command where it says to compile everything (using the compileAll command) Ever since I have done this I have had on and off problems of the controls not working. All i can do is fire and aim with the mouse buttons and move with the arrow keys. I have made sure to delete the file and this solves it for a little bit, I try in world editor to do the "start animation" this works but when I export the game the problem arrises again.
I know this must be a really simple problem, But I am not seeing a solution to it. Do I have to recompile each time I do something? Can someone help me out? Sorry for the noob question :/
#2
10/22/2012 (4:27 pm)
I was considering trying the very same thing actually, It was working yes, Im not sure if the compile is what caused it or not just stating what I did up until the problem.
#3
EDIT:
Again I can only move with the arrow keys. my WASD keys dont work.
EDIT:
If I go into options, Select Input then bind "chat to everyone" to "return/enter" I go in game press enter then enter again to close the chat box, then suddenly the game decides to work and all my controls are responding as normal, What gives? What did I do wrong?
10/23/2012 (11:37 am)
Ok now I cant even move the world camera, NONE of the controls are working. and the "Start Simulation" is not working. What on earth did I do???? Someone help!EDIT:
Again I can only move with the arrow keys. my WASD keys dont work.
EDIT:
If I go into options, Select Input then bind "chat to everyone" to "return/enter" I go in game press enter then enter again to close the chat box, then suddenly the game decides to work and all my controls are responding as normal, What gives? What did I do wrong?
#4
10/23/2012 (1:48 pm)
Can you hit ~ to open the console and see if there are any errors?
#5
10/23/2012 (1:54 pm)
I have done this, Just the usual errors that are unrelated to the problem (I made a new project, same errors in the console yet in the new project the controls work but my original project it only works if I do my temporary fix)
#6
I would look closely at the code you added for the pistol, check that you didnt make a typo somewhere in the actionmap that isnt shown as an error in the console(trust me, a simple typo can cause all kinds of unnecessary problems in torquescript).
If that doesnt work perhaps you could post your entire scriptfile in somewhere like www.pastebin.com where others could look over your code and maybe find a solution.
10/24/2012 (7:36 am)
sounds to me like the actionmap is being unloaded somewhere or replaced incorrectly, and that using return to enter then exit chatting restores the actionmap correctly.I would look closely at the code you added for the pistol, check that you didnt make a typo somewhere in the actionmap that isnt shown as an error in the console(trust me, a simple typo can cause all kinds of unnecessary problems in torquescript).
If that doesnt work perhaps you could post your entire scriptfile in somewhere like www.pastebin.com where others could look over your code and maybe find a solution.
#7
10/25/2012 (8:47 am)
What would I need to show? I tried removing the ryder.cs file from the folder, the game still ran like I did nothing to it. I still have the same problem up until I press enter to open the chat then enter again to close it.
Torque Owner none
Lahage Studios