TGE key-binding
by Benjamin Wilson · in General Discussion · 12/14/2002 (11:52 am) · 5 replies
Hi all,
I was following a camera zoom tutorial on this site, and I noticed that the keys used to move the camera were bound in /client/scripts/default.bind.cs
and in /client/config.cs
I tried binding the keys in only config.cs and it seems to work okay. Is it necessary to bind the keys in default.bind.cs?
Also, does anyone know how to bind the arrow keys?
ex. moveMap.bind(keyboard, upArrow?, zoomOut);
Thanks,
Ben
I was following a camera zoom tutorial on this site, and I noticed that the keys used to move the camera were bound in /client/scripts/default.bind.cs
and in /client/config.cs
I tried binding the keys in only config.cs and it seems to work okay. Is it necessary to bind the keys in default.bind.cs?
Also, does anyone know how to bind the arrow keys?
ex. moveMap.bind(keyboard, upArrow?, zoomOut);
Thanks,
Ben
#2
06/23/2003 (7:48 pm)
Examples of binding arrow keys etc:moveMap.bind(keyboard, "numpadadd", zoomCameraOut); moveMap.bind(keyboard, "numpadminus", zoomCameraIn); moveMap.bind(keyboard, "right", rotateCameraLeft); moveMap.bind(keyboard, "left", rotateCameraRight); moveMap.bind(keyboard, "up", rotateCameraUp); moveMap.bind(keyboard, "down", rotateCameraDown); moveMap.bind(keyboard, "insert", resetCamera);
#3
I am really confused. I am trying to change mappings. It appears that my .dso files are not being regenerated.
I make the changes in defualt.bind.cs and nothing changes I delete config.cs and nothing chagnes.
Is there a way to force teh rebuild of teh .dso files?
12/07/2006 (6:36 am)
Hey yall. I am really confused. I am trying to change mappings. It appears that my .dso files are not being regenerated.
I make the changes in defualt.bind.cs and nothing changes I delete config.cs and nothing chagnes.
Is there a way to force teh rebuild of teh .dso files?
#4
12/07/2006 (12:12 pm)
Just delete them and they recompile automatically when the game runs.
#5
12/07/2006 (2:13 pm)
Don't use the General Forums for tech questions.
Torque 3D Owner Xavier "eXoDuS" Amado
Default Studio Name