Forums Index >> Modding >> REALLY interesting code i found for thinktanks whi...



Page : <1> :

Cho


 

// Torque Input Map File
moveMap.delete();
new ActionMap(moveMap);
moveMap.bindCmd(keyboard, "escape", "", "escapeFromGame();");
moveMap.bind(keyboard, "f2", showPlayerList);
moveMap.bind(keyboard, "a", moveleft);
moveMap.bind(keyboard, "d", moveright);
moveMap.bind(keyboard, "w", moveforward);
moveMap.bind(keyboard, "s", movebackward);
moveMap.bind(keyboard, "space", jump);
moveMap.bind(keyboard, "r", setZoomFOV);
moveMap.bind(keyboard, "ctrl w", celebrationWave);
moveMap.bind(keyboard, "ctrl s", celebrationSalute);
moveMap.bind(keyboard, "ctrl k", suicide);
moveMap.bindCmd(keyboard, "1", "commandToServer('use',"Crossbow");", "");
moveMap.bind(keyboard, "u", toggleMessageHud);
moveMap.bind(keyboard, "pageup", pageMessageHudUp);
moveMap.bind(keyboard, "pagedown", pageMessageHudDown);
moveMap.bind(keyboard, "p", resizeMessageHud);
moveMap.bind(keyboard, "f8", dropCameraAtPlayer);
moveMap.bind(keyboard, "f7", dropPlayerAtCamera);
moveMap.bind(keyboard, "ctrl o", bringUpOptions);
moveMap.bind(mouse0, "xaxis", yaw);
moveMap.bind(mouse0, "yaxis", pitch);
moveMap.bind(mouse0, "button0", mouseFire);

 

Some ofthese may not work but I think some will ;)

Last edited: Wednesday, January 12, 2005 at 1:55:21 PM

Wednesday, January 12, 2005 at 1:54:06 PM

Somehow I think none of those may work.

"Moveforward" in TGE might be "forward" in TT.

Thursday, January 13, 2005 at 3:26:50 AM

Legs is right those are the keys for moving ur tank around %)

Thursday, January 13, 2005 at 9:00:08 AM

I already made a script based on those called TTR Binds v1.2. It worked well, but make the first two lines of CODE this:
if (!moveMap)
new ActionMap (MoveMap);
That should stop it from overwriting the original mainMap.

Thursday, January 13, 2005 at 11:28:29 AM

Page : <1> :

insert quote insert url insert email insert image bold italic underline superscript subscript horizontal rule : : Help on using forum codes

Add comment:

HTML is disabled within comments, but ZBB Code is enabled.

Back to the top

Web site designed, maintained and funded by -z- and Dan MacDonald