Forums Index >> General >> Lightspeed typers!
Page : <1> :
Put this at the bottom of your main.cs:
//------------------------------------------------------------------------------
// Hotkeys
//------------------------------------------------------------------------------
GlobalActionMap.bindCmd(keyboard, F1, "",
"commandToServer('messageSent',"YOUR MESSAGE HERE");" );
GlobalActionMap.bindCmd(keyboard, F2, "",
"commandToServer('messageSent',"/ YOUR TEAM MESSAGE HERE");" );
GlobalActionMap.bindCmd(keyboard, F3, "",
"commandToServer('messageSent',"/ YOUR TEAM MESSAGE HERE");" );
GlobalActionMap.bindCmd(keyboard, F4, "",
"commandToServer('messageSent',"/ YOUR TEAM MESSAGE HERE");" );
GlobalActionMap.bindCmd(keyboard, F5, "",
"commandToServer('messageSent',"/ YOUR TEAM MESSAGE HERE");" );
Here's one from -z-.
Open up the main.cs file and paste this to the bottom.
if (!$server::dedicated) {
moveMap.bindCmd(keyboard, "R", "", "commandToServer('messageSent', "pass!");");
}
For PCs the main.cs should be located in: BraveTree/ThinkTanks/Contents/Resources.
You can change the hot key and message to anything you want. Any server with team chat add "/tm" to the front of your message and only the team will see it. Good for league servers.
if (!$server::dedicated) {
moveMap.bindCmd(keyboard, "7", "", "commandToServer('messageSent', "/tm pass!");");
}
If you're interested in the number keypad, it will only let you map 1-3-7-9. 2-4-5-6-8 are already binded as driving keys.
if (!$server::dedicated) {
moveMap.bindCmd(keyboard, "numpad9", "", "commandToServer('messageSent', "pass!");");
}
Hope that helps.
Jay check the downloads section of my WEBSITE there is a cut and copy text for loads for hot keys, just paste it at the bottom of your main.cs and change the words in between the " " marks to whatever you want.
Daz
I don't really care, I have a top typing speed of 50 WPM. Proven. Just ask for a screenie. It is a nice idea, though...
For PCs the main.cs should be located in: BraveTree/ThinkTanks/Contents/Resources.
Ehh... No. It'll be in C:Program FilesBraveTreeThinkTanks.
Ok for some reason its not working :S
This is what I put...
if (!$server::dedicated) {
moveMap.bindCmd(keyboard, "1", "", "commandToServer('messageSent', "/tm Pass!!");");
}
If (!$server::dedicated) {
moveMap.bindCmd(keyboard, "2", "", "commandToServer('messageSent', "/tm gjt!");");
}
^same here
I love my randylion
Page : <1> :
Ive noticed that in TS people say something like "****Good job team!****" etc....but obviously they dont type it becasue it takes to long and its exsactly the same message each time...so im guessing that theres some sort of keyboard shortcut that I dont know about....ive tried to look it up but have found nothing....Im on a Mac so can some one please tell me how you do it?
Thanks
Jay