Forums Index >> Modding >> Hotkeys for messages?
Page : <1> :
Screen shots are in the Game>Data>Resources...press control+P on Macs to take screen shots. Nathan is wrong! It is CONTROL+P! He doesn't have a Mac (unlike me, go Mac! XD ) and thinks that you take screen shots with the command key. It is the control key, command+p doesn't do a darned thing!
Don't know how to the hot key thing...maybe if you make a new messageHud.cs.dso telling it to display those messages when you press the corresponding key?
Spunk
P.S. Macr0t0r, do you get MacAddict? I recently saw a section on it about army people in Iraq who use iPods and Laptops and stuff...was that you?
I'm not in Iraq, though much of my Battalion is. I was assigned to guard a certain post. However, we tankers have figured out how to hook up the iPod to the M1A1 intercom system so that the entire crew can enjoy a little Rob Zombie during a road march!
Huh. I've seen people spew out long-winded repeated phrases when they die or score. I wonder how they are doing it?
The messageHud.cs.dso file is in binary format. Do I need to get GarageGames developer software (for $100) to create this?
I did find out that CONTROL-P does screenshots, but thanks for the note!
-macr0t0r
I can help. They probably typed these things before you got in the room, then you can simply repeat them. Just push "enter" to type (or return) then push your up/down arrows to go through the last four things you have said, then push enter/return again. Then you can simply say long things multiple times through the game!
Ah! Thanks, FilbertMM. Well, that at least answers my question how others were doing it. Problem is, as soon as I want to say something custom, it'll mess things up. Time to look into Applescript and HotKeys and see if I can work something there, I guess.
Thanks for the help, guys!
-macr0t0r
Bump
That wont do any good
WwmSWAT(ra
Here is one that you add to the bottom of Main.cs:
Pressing the RIGHT MOUSE BUTTON while playing will cause your message to appear:
GlobalActionMap.bindCmd(mouse, button1, "",
"commandToServer('messageSent',"YOUR MESSAGE GOES HERE!");" );
This will only work on PC. However, you can change "mouse, button1," to whatever you want. Button0 for example, would be the middle mouse button.
Last edited: Tuesday, June 29, 2004 at 4:06:03 PM
Ive got a problem with that Nathan:
Would you put
Keyboard, c, "",
If you wanted to change it to keyboard hotkeys?
Last edited: Tuesday, June 29, 2004 at 8:52:53 PM
Yeah Ice, keyboard and whatever key for it works good.
Ps: Dont use the Mod Wiz's keys as hotkeys
Thanks Nathan works well! But for me the mouse middle button are "mouse2"! Mayby u have different kind of mouse. :o
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.
Okey putting "keyboard c" isnt a good idea. You cant type "c" anymore in the chat. So u need put them as a key what u dont need to use ever.
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.
Use the / key.. Or mabey it can be a control+whatever type of thing, that would be alot easier...
Last edited: Wednesday, June 30, 2004 at 8:50:06 PM
Keyboard, ctrl p, for CTRL P.
Awsome. Ok. That will help alot, cept you shouldn't use ctrl+p unless you want to be saying gg every time you take a screeny... Maybe you can make it say cheese though....
Last edited: Wednesday, June 30, 2004 at 11:45:23 PM
Here's one from -z-. It was posted in another forum.
I have just been asked for this in an email, so thought I'd add it to this thread here as well.
Just paste the code below into the bottom of 'main.cs' in the ThinkTanks folder.
If (!$server::dedicated) {
ÊÊmoveMap.bindCmd(keyboard, "1", "", "commandToServer('messageSent', "I want to PASS the scrum!");");
}
Obviously you can change which key you want to assign it to (in this case '1') and you can change the message too (or add extra bindings for extra messages).
*NOTE, make sure the "I" in the first line is not in caps. I can't seem to make it stay that way in here. "if (!$server::dedicated) {"
Last edited: Thursday, July 01, 2004 at 12:06:19 PM
Thanks KBC :)
Thats fixed the chatting bug now I can use any letter as a hotkey and use it while I chat. Great!
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.
Shouldn't matter if the I in an if argument is in caps.
But thanks kbc, that one works good!
That doesnt work...
You don't work...
Riight.....
This works better:
Go to the main TT folder and find "main.cs" open that with a text editor, like word pad or sumthin, then go to the bottum of main.cs and click after the last peice of information is writen and press enter twice, then paste the following:
If (!$server:dedicated) {
moveMap.bindCmd(keyboard, "z", "", "commandToServer('messageSent', "{ufo");");
}
Leave everything in that alone except the "z" and the {ufo
the "z" means the keyboard button u want the hotkey to be, so if I press "z" in game it will say "{ufo" change z to wat every u want, now for the {ufo, change that to wat ever u want, thats the thing the hotkey will say when u press it
Page : <1> :
For the life of me, I can't figure out how to create a series of pre-constructed messages and tie them to hot-keys. I've seen it done. I want to be able to send a Team Message "Pass" when I press F1, A simple "doh" when I press F2 to alert them when I lose the flag, etc.
How does one do this? I'm running the MacOS X version, but if you tell me how on any version I can probably figure it out from there.
Where do they document the hidden features, such as screen-grabs and so on?
Thanks for your help.
-macr0t0r