Anonymous
Goblin Pup
Reputation: +0/-0
Posts: 0
|
 |
« Reply #1 on: November 11, 2002 07:39 PM PST » |
|
Here is an example of all how you can use this to bind *most* of the keys nessassary for tribes rpg. This is based on using the numberpad for most of the spells.
EditActionMap("playMap.sae"); bindCommand(keyboard0, make, ".", TO, "remoteeval(2048, say(0, \"#sleep\"));"); bindCommand(keyboard0, make, shift, ".", TO, "remoteeval(2048, say(0, \"#wake\"));"); bindCommand(keyboard0, make, control, ".", TO, "remoteeval(2048, say(0, \"#meditate\"));");
bindCommand(keyboard0, make, "/", TO, "remoteeval(2048, say(0, \"#camp\"));"); bindCommand(keyboard0, make, shift, "/", TO, "remoteeval(2048, say(0, \"#uncamp\"));");
bindCommand(keyboard0, make, "c", TO, "remoteeval(2048, say(0, \"#shove\"));"); bindCommand(keyboard0, make, "backspace", TO, "remoteeval(2048, say(0, \"#savecharacter\"));");
bindCommand(keyboard0, make, shift, "e", TO, "remoteeval(2048, say(0, \"#teleport yourname\"));");
bindCommand(keyboard0, make, "g", TO, "remoteeval(2048, say(0, \"#defaulttalk #global\"));"); bindCommand(keyboard0, make, shift, "g", TO, "remoteeval(2048, say(0, \"#defaulttalk #say\"));");
bindCommand(mouse0, zaxis0, TO, "nextWeapon();"); //Wheel forward bindCommand(mouse0, zaxis1, TO, "prevWeapon();"); //Wheel backward
bindCommand(keyboard0, make, "f", TO, "use(\"Crystal Blue Potion\");"); bindCommand(keyboard0, make, control, "f", TO, "drop(\"Crystal Blue Potion\");");
bindCommand(keyboard0, make, shift, "f", TO, "use(\"Blue Potion\");");
bindCommand(keyboard0, make, shift, "numpad0", TO, "remoteeval(2048, say(0, \"#cast heal\"));"); bindCommand(keyboard0, make, shift, "numpad1", TO, "remoteeval(2048, say(0, \"#cast advheal1\"));"); bindCommand(keyboard0, make, shift, "numpad2", TO, "remoteeval(2048, say(0, \"#cast advheal2\"));"); bindCommand(keyboard0, make, shift, "numpad3", TO, "remoteeval(2048, say(0, \"#cast advheal3\"));"); bindCommand(keyboard0, make, shift, "numpad4", TO, "remoteeval(2048, say(0, \"#cast advheal4\"));"); bindCommand(keyboard0, make, shift, "numpad5", TO, "remoteeval(2048, say(0, \"#cast advheal5\"));"); bindCommand(keyboard0, make, shift, "numpad6", TO, "remoteeval(2048, say(0, \"#cast advheal6\"));"); bindCommand(keyboard0, make, shift, "numpad7", TO, "remoteeval(2048, say(0, \"#cast godlyheal\"));"); bindCommand(keyboard0, make, shift, "numpad8", TO, "remoteeval(2048, say(0, \"#cast fullheal\"));"); bindCommand(keyboard0, make, shift, "numpad9", TO, "remoteeval(2048, say(0, \"#cast massheal\"));"); bindCommand(keyboard0, make, shift, "numpadplus", TO, "remoteeval(2048, say(0, \"#cast fullmassheal\"));");
bindCommand(keyboard0, make, control, "numpad0", TO, "remoteeval(2048, say(0, \"#cast shield\"));"); bindCommand(keyboard0, make, control, "numpad1", TO, "remoteeval(2048, say(0, \"#cast advshield1\"));"); bindCommand(keyboard0, make, control, "numpad2", TO, "remoteeval(2048, say(0, \"#cast advshield2\"));"); bindCommand(keyboard0, make, control, "numpad3", TO, "remoteeval(2048, say(0, \"#cast advshield3\"));"); bindCommand(keyboard0, make, control, "numpad4", TO, "remoteeval(2048, say(0, \"#cast advshield4\"));"); bindCommand(keyboard0, make, control, "numpad5", TO, "remoteeval(2048, say(0, \"#cast advshield5\"));"); bindCommand(keyboard0, make, control, "numpad6", TO, "remoteeval(2048, say(0, \"#cast advshield6\"));"); bindCommand(keyboard0, make, control, "numpad7", TO, "remoteeval(2048, say(0, \"#cast massshield\"));"); bindCommand(keyboard0, make, control, "numpad8", TO, "remoteeval(2048, say(0, \"#cast lightningshield\"));");
bindCommand(keyboard0, make, alt, "numpad1", TO, "remoteeval(2048, say(0, \"#cast transport keldrin\"));"); bindCommand(keyboard0, make, alt, "numpad2", TO, "remoteeval(2048, say(0, \"#cast transport mine\"));"); bindCommand(keyboard0, make, alt, "numpad3", TO, "remoteeval(2048, say(0, \"#cast transport yolanda\"));"); bindCommand(keyboard0, make, alt, "numpad4", TO, "remoteeval(2048, say(0, \"#cast transport crypt\"));"); bindCommand(keyboard0, make, alt, "numpad5", TO, "remoteeval(2048, say(0, \"#cast transport elven\"));"); bindCommand(keyboard0, make, alt, "numpad6", TO, "remoteeval(2048, say(0, \"#cast transport den\"));"); bindCommand(keyboard0, make, alt, "numpad7", TO, "remoteeval(2048, say(0, \"#cast transport lair\"));"); bindCommand(keyboard0, make, alt, "numpad8", TO, "remoteeval(2048, say(0, \"#cast transport uber\"));"); bindCommand(keyboard0, make, alt, "numpad9", TO, "remoteeval(2048, say(0, \"#cast transport highlands\"));");
bindCommand(keyboard0, make, "numpad1", TO, "remoteeval(2048, say(0, \"#cast thorn\"));"); bindCommand(keyboard0, make, "numpad2", TO, "remoteeval(2048, say(0, \"#cast firebomb\"));"); bindCommand(keyboard0, make, "numpad3", TO, "remoteeval(2048, say(0, \"#cast icespike\"));"); bindCommand(keyboard0, make, "numpad4", TO, "remoteeval(2048, say(0, \"#cast cloud\"));"); bindCommand(keyboard0, make, "numpad5", TO, "remoteeval(2048, say(0, \"#cast melt\"));"); bindCommand(keyboard0, make, "numpad6", TO, "remoteeval(2048, say(0, \"#cast powercloud\"));"); bindCommand(keyboard0, make, "numpad7", TO, "remoteeval(2048, say(0, \"#cast hellstorm\"));"); bindCommand(keyboard0, make, "numpad8", TO, "remoteeval(2048, say(0, \"#cast dimensionrift\"));"); bindCommand(keyboard0, make, "numpad9", TO, "remoteeval(2048, say(0, \"#cast beam\"));");
|