Forums Index >> General >> Lightspeed typers!



Page : <1> :

Jay

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

Monday, January 23, 2006 at 8:00:33 PM

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");" );

 

 

Monday, January 23, 2006 at 8:04:52 PM

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.

Monday, January 23, 2006 at 8:08:04 PM

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

 

 

 

 

Monday, January 23, 2006 at 8:09:00 PM

I have it as apple one etc.

Pray to GOD for him to reveal himself to you.

Monday, January 23, 2006 at 8:21:31 PM

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.

Monday, January 23, 2006 at 9:35:45 PM
Jay

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!");");
}

 

 

Monday, January 23, 2006 at 9:55:10 PM

Get rid of the two crosses before MoveMap in each line.

Monday, January 23, 2006 at 10:01:25 PM
Jay

Tried that...still doesnt work

Monday, January 23, 2006 at 11:39:20 PM

^same here

 

I love my randylion

 

Monday, January 23, 2006 at 11:51:09 PM

Get it from my site all you have to do is copy and paste it into the main.cs see ^^^^^^^ for link

 

 

 

 

Tuesday, January 24, 2006 at 12:02:56 AM
Jay

^^^ Thanks daz works perfectly! XD

Tuesday, January 24, 2006 at 12:25:54 AM

Page : <1> :

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