Forums Index >> Help >> Hotkeys



Page : <1> :


Yes, Im playing a lot of scrum. I didnt think that I should have those hotkeys but now I would like htme. I have a pc. Can somebody tell me how to get those hotkeys working?

PS I wont be here for 7 days

Thanks B)

Cloud

Monday, June 13, 2005 at 6:54:29 PM
b20

Here you go:

Hotkeys

There is one for PCs! :)

Enjoy.

- b20

Monday, June 13, 2005 at 9:07:33 PM

Eh?

Cloud

Sunday, June 19, 2005 at 8:48:01 PM

MoveMap.bindCmd(keyboard, "H ", "","commandToServer('messageSent', "hi ");");

The bold is the part that will come out in the server. Th italicized part is what key is used to activate them.
put the hotkeys at the bottom of your main.cs file.


Wednesday, June 22, 2005 at 1:41:38 PM

Eh?

Cloud

Wednesday, June 22, 2005 at 10:05:01 PM

Eh?


Thursday, June 23, 2005 at 10:00:43 AM

Eh?


Thursday, June 23, 2005 at 10:00:44 AM

Eh?


Thursday, June 23, 2005 at 10:00:45 AM

 

 

MoveMap.bindCmd(keyboard, "H", "","commandToServer('messageSent', "hi");");

The bold is the part that will come out in the server. Th italicized part is what key is used to activate them.
put the hotkeys at the bottom of your main.cs file.

 

WhaaAAAA? :o

Cloud

Thursday, June 23, 2005 at 4:27:40 PM

 

 

                                        
movemap.bindCmd(keyboard, "H ", "","commandToServer('messageSent', "hi ");");

 

1. Open your main.cs file which is in your ThinkTanks folder.

2.Copy that line to the very bottom of it.

3. Now edit the bold parts of the hotkey to your desire.

Ie.: H is the key to acticate that hotkey.
hi is what comes out when you press H .

4. Copy that same line if you want to make more hotkeys.


Saturday, June 25, 2005 at 2:15:36 PM

During a game do I only press h or do I press enter, then h. Or whatever the key might be. :o
Thanks

Cloud

Tuesday, June 28, 2005 at 10:49:28 AM
b20

I tried it. Didn't work for me. Maybe there has to be a nother right command for it? :o

- b20

Tuesday, June 28, 2005 at 12:55:36 PM

So basically use the same command and replace the H with something else if you want a different button right?

Wednesday, June 29, 2005 at 5:43:13 AM

Lol I forgot you can't use backslashes in PTT %).
Well, copy my previous line except anything you don't see on it add to it.

 


Last edited: Wednesday, June 29, 2005 at 7:35:44 AM

Wednesday, June 29, 2005 at 7:28:51 AM

The hot keys are driving me crazy! XO I have tried both of the above suggestions and still have not figured it out. I have gone into the main.cs file and changed my radar, but the hot keys are still not working.

Tried this:
If (!$server:dedicated) {
moveMap.bindCmd(keyboard, "h", "", "commandToServer('messageSent', "hi guys");");
}

Tried this:
MoveMap.bindCmd(keyboard, "H", "","commandToServer('messageSent', "hi");");

I am on a pc if that matters 8o

Thanks for any help you can give me.

Belikin

 

Wednesday, August 10, 2005 at 8:33:07 AM

Tt/main.cs -> edit it -> scroll to the bottom -> add these lines...
IMPORTANT! Change the *'s to slashes ( not to this slash / the other one )

 

                                        
GlobalActionMap.bindCmd(keyboard, h, "", "commandToServer('messageSent',* "/ TEXT* ");" );

 

OR

 

                                        
if (!$server::dedicated) {
moveMap.bindCmd(keyboard, "h", "", "commandToServer('messageSent', * "TEXT* ");");
}

 

 

You don't have to let go of one rope before grabbing the other. But you'll have to let go of one if you want to swing forward.

Last edited: Wednesday, August 10, 2005 at 9:02:13 AM

Wednesday, August 10, 2005 at 8:54:45 AM

Thanks Triv for the very speedy and helpful response. The problem I was having was with the slashes. I put those in and now im good.

Thanks again

Bel

 

Wednesday, August 10, 2005 at 10:31:35 AM

This will also work!

//Paste the syntax below into the bottom of your main.cs file. Change the messages so say what you wish/ The lines with /tm means it's a team message. The others display to all.

 


(Paste the text below at the bottom of your main.cs file)
if (!$server::dedicated) {
moveMap.bindCmd(keyboard, "1", "", "commandToServer('messageSent', "Coming Through");");
}
if (!$server::dedicated) {
moveMap.bindCmd(keyboard, "2", "", "commandToServer('messageSent', "Pardon Me");");
}
if (!$server::dedicated) {
moveMap.bindCmd(keyboard, "3", "", "commandToServer('messageSent', "Excuse Me");");
}
if (!$server::dedicated) {
moveMap.bindCmd(keyboard, "4", "", "commandToServer('messageSent', "Sorry");");
}
if (!$server::dedicated) {
moveMap.bindCmd(keyboard, "5", "", "commandToServer('messageSent', "Sry");");
}
if (!$server::dedicated) {
moveMap.bindCmd(keyboard, "6", "", "commandToServer('messageSent', "I forgot to bring the scrum with me");");
}
if (!$server::dedicated) {
moveMap.bindCmd(keyboard, "7", "", "commandToServer('messageSent', "sweeeet!");");
}
if (!$server::dedicated) {
moveMap.bindCmd(keyboard, "8", "", "commandToServer('messageSent', "/tm gj");");
}
if (!$server::dedicated) {
moveMap.bindCmd(keyboard, "9", "", "commandToServer('messageSent', "/tm pass");");
}
if (!$server::dedicated) {
moveMap.bindCmd(keyboard, "numpad1", "", "commandToServer('messageSent', "/tm Sry");");
}
if (!$server::dedicated) {
moveMap.bindCmd(keyboard, "numpad3", "", "commandToServer('messageSent', "/tm kill me");");
}
if (!$server::dedicated) {
moveMap.bindCmd(keyboard, "numpad7", "", "commandToServer('messageSent', "/tm gj");");
}
if (!$server::dedicated) {
moveMap.bindCmd(keyboard, "numpad9", "", "commandToServer('messageSent', "/tm pass!");");
}

 

Or you could download this file which has all of the correct syntax in it.
Hot key text

 

Last edited: Friday, August 12, 2005 at 8:59:03 AM

Wednesday, August 10, 2005 at 1:29:39 PM

That is really good napalm XD. That is like the whole thing. I can not believe I have been typing those things the whole time.
ty
bel

 

Wednesday, August 10, 2005 at 1:58:17 PM

Hi Guys

Been wondering how to do this for ages!! Have pasted the above into the bottom on the main.cs but nothing happening, any help would be appreciated, thanks in advance Daz.

The bottom of my main.cs lookes like this:

//ONLY ONE OF THESE CAN BE SELECTED:
//Shows The FileName On The Text Bar = "FileName"
//Shows The KileBytes (KB) Left To End Downloading = "FileSize"
//Shows Both = "Both"
$Show::LoadType = "Both";

//Never Stop Download Bar END
exec("game/server/dash/main.cs");
exec("game/server/scripts/observerMM.cs");
exec("game/server/scripts/MissionLoaderMain.cs");
exec("game/server/scripts/Gametime.cs");
exec("game/client/scripts/wingman/loader.cs");
exec("game/server/dash/Chatlogger.cs");

//Quick Commands
GlobalActionMap.bindCmd(keyboard, "F1", "", "commandToServer('messageSent',"HELLLLLLLLLP!!!!!!");" );
GlobalActionMap.bindCmd(keyboard, "F2", "", "commandToServer('messageSent',"Noooooooooo");" );
GlobalActionMap.bindCmd(keyboard, "F3", "", "commandToServer('messageSent',"Dam it.......");" );
GlobalActionMap.bindCmd(keyboard, "F4", "", "commandToServer('messageSent'," Come on ?!?!?!");" );
GlobalActionMap.bindCmd(keyboard, "F5", "", "commandToServer('messageSent',"Ar Yeah");" );

If (!$server::dedicated) {
moveMap.bindCmd(keyboard, "1", "", "commandToServer('messageSent', "Nice Shot.........!!");");
}
if (!$server::dedicated) {
moveMap.bindCmd(keyboard, "2", "", "commandToServer('messageSent', "Good One...!!");");
}
if (!$server::dedicated) {
moveMap.bindCmd(keyboard, "3", "", "commandToServer('messageSent', "Thanks");");
}
if (!$server::dedicated) {
moveMap.bindCmd(keyboard, "4", "", "commandToServer('messageSent', "Sry");");
}
if (!$server::dedicated) {
moveMap.bindCmd(keyboard, "5", "", "commandToServer('messageSent', ":~)");");
}

ETC............

 

 

 

 

Friday, August 12, 2005 at 5:58:50 AM

Dazzle that looks good to me, but if the hotkey commands are pasted from ptt. Go up and see my earlier post. There I told beikin(I noticed I wrote it wrong XD ) that he is missing certain type slashes from the code, which are missing from you too, but I don't know if you have them on the real code as the slashes disappear when it's posted to here. So, better check if you right type slashes on right places...

You don't have to let go of one rope before grabbing the other. But you'll have to let go of one if you want to swing forward.

Friday, August 12, 2005 at 8:39:25 AM

Thanks Triv changed all the $ for slash (not / the other one) no change, I know its a pain but link to screen shot of Main.cs file below any thoughts?

Thanks Daz

Main.cs Screen Shot

 

 

 

 

 

Last edited: Friday, August 12, 2005 at 11:14:05 AM

Friday, August 12, 2005 at 10:57:53 AM

I think, I know what's wrong.

All of the GlobalActionMaps looks correct.
All of the if (server::dedicated)s are wrong.

Here is correct code for if (server::dedicated). Compare it with yours and fix the incorrect parts.
click me

You don't have to let go of one rope before grabbing the other. But you'll have to let go of one if you want to swing forward.

Last edited: Friday, August 12, 2005 at 11:15:37 AM

Friday, August 12, 2005 at 11:06:00 AM

Updated screen shot made a small mistake, Daz

 

 

 

 

Friday, August 12, 2005 at 11:14:49 AM

Thanks for your help Triv all sorted :) :) :)

 

 

 

 

Friday, August 12, 2005 at 11:47:56 AM

Np :P

You don't have to let go of one rope before grabbing the other. But you'll have to let go of one if you want to swing forward.

Friday, August 12, 2005 at 11:52:01 AM

Incase anyone else is having trouble, the link below shows screen shot of working syntax as described by Triv and napalm above, thanks guys.

Main.cs Screen Shot

 

 

 

 

Friday, August 12, 2005 at 4:31:33 PM

Here's a link to a file. Copy it or right click and "save as."

Hot Keys

 

Monday, August 22, 2005 at 1:06:01 PM

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