PDA

View Full Version : Makros for chat?


F_Slim
10-08-2007, 18:00
I hope this is no RTFM-question, and I know I've read some coments about this here but the search didn't bring it up ...

Is there some way of creating makros for the chat? Ideal would be to give some joystick-buttons the function to say "turn left", "turn right" and "wait".
When cruising with others you could really need a turn indicator on your car ... I usually miss the turn or hit a tree because of trying to say "<<<<" or something like that :laugh:
Any bright ideas?

Devilbound
10-08-2007, 18:19
Yeah :laugh: I miss turn-signaling possibility too...Would make cruising easier tup:

Sometimes I almost write before a turn "use signal", but that would of course take too long and might cause a crash lolblue:

I think a valid method of communication with others on the road about one's intention to make a turn is flashing the breaklights, repeatedly and smoothly, a little while before the turn. :) Now this maybe really works good only on cruising, not racing-cruising or whatever you want to call when driving in excess speeds. Which is fun too. :) :respect: :salut2:

Oh yeah, somebody did talk about macros or w/e doing just that in his/hers game, and if I remember right was not banned for it. superg

desrat
10-08-2007, 19:03
I have a G15 keyboard with 18 programmable keys for macros, each with 3 shift modes allowing for 54 different macros on a game by game basis (detects when u run the exe for the game). I have never used more than 18 in any game but I currently use 3 in tdu

G1 <<<
G2 >>>
G3 usually a broadcast message inviting anyone to join us
E.G Come Join The Brit Car Cruise [enter for new line]TVR/Aston/Lotus

http://www.logitech.com/repository/121/jpg/610.1.0.jpg
http://www.logitech.com/repository/121/jpg/616.1.0.jpg

matelotmike
10-08-2007, 19:55
Hi all,

I wonder if we could use the horn(yes in the car!) as a means of communication as we do in real driving. I'm not sure how far away from your other cruz mates you can be and still hear a horn.

Two blasts for left turn, three for right turn or something along those lines. I usually give a quick couple of toots as a greeting and so do a lot of other drivers in game so we are already familiar with the concept.

Cheers

BensonJutton
11-08-2007, 00:55
This (http://www.autohotkey.com/) might be a handy program :) I've not looked at it yet but it could be what you're looking for :) Use at your own risk as I've said I've not tried it yet

F_Slim
11-08-2007, 09:56
This (http://www.autohotkey.com/) might be a handy program :) I've not looked at it yet but it could be what you're looking for :) Use at your own risk as I've said I've not tried it yet
Thanks, I actually found that myself just in time before the G-class cruise ;)
http://www.autohotkey.com/
It only works partly though, TDU won't except the "t" for opening the chat-window, but I did put some arrows and a "wait" followed by {enter} on some buttons. Still have to press "t" on the keyboard, but it's a big improvement.

Here's what my skript looks like:
--------------------------------------------------------------
2Joy17::
Send <<<<<-----{enter}
return

2Joy19::
Send ----->>>>>{enter}
return

2Joy18::
Send wait{enter}
return
--------------------------------------------------------------
A little quick-start help, in case anybody wants to try it:
For example Joy17 is the joystick-button number 17 (don't forget the "::"), the 2 in front of it stands for the controller-number. Note that I have only one joystick installed, so usually I wouldn't have to put any number there. But for some reason I have to put a 2 in front. So if it won't work for you, try to play around with this number. (It's a known bug in AutoHotkey)
"Send" means that these are keystrokes to be send to the active window, use {} for special keys like "enter".
"return" ends commands for that button.
So in this case I have to press "t" to open the chat-window, and then press the joystick-button (17 is the left button of the 4 above the POV on the G25), and "<<<<<-----" will written and send as chat-message.
Too bad TDU won't accept a "Send t" to open the chat-window :(

F_Slim
11-08-2007, 10:20
Hey, got it to work! mdr1
Use the following:

2Joy17::
Send {t down}
KeyWait 2Joy17
Send <<<<<-----{enter} ; Release the left-arrow key.
return

It will keep "t" pressed until you release the joystick-button (even without writing tttttt if you fail to release in time), that way it works!
Release the button and the message will be written and send :)

BensonJutton
11-08-2007, 10:20
You should be able to set the open chat window with the G25 profiler ,I have open Xfire chat which is Scroll lock + x on my G25

F_Slim
11-08-2007, 11:39
I never used the profiler, thought it was useless ... hmm ... you can do that sort of thing with the profiler? That easy?
The record-function doesn't seem to be very user-friendly ...

BensonJutton
11-08-2007, 11:50
All I did was record a new command,click record and pressed the combination and it works fine :)

desrat
11-08-2007, 12:12
the problem is that to add chat to macros for TDU u need delays/pauses between hitting the T key and the following text, im not sure the profiler software allows that does it ?

BensonJutton
11-08-2007, 12:23
I will try later to setup autohotkey then use the profiler to press t and then the macro shortcut ,so hopefully you can setup the 2 buttons on the wheel to automaticaly press t and then the macro key then enter so it's all done with one button press or i maybe i'm totally wrong :laugh:

Devilbound
11-08-2007, 12:27
Hi all,

I wonder if we could use the horn(yes in the car!) as a means of communication as we do in real driving. I'm not sure how far away from your other cruz mates you can be and still hear a horn.

Two blasts for left turn, three for right turn or something along those lines. I usually give a quick couple of toots as a greeting and so do a lot of other drivers in game so we are already familiar with the concept.

Cheers
Hi! I also sometimes use quick couple of woots as a greeting, or as a "lets roll" signal if cruising :) . I also often press the horn unintentionally, especially on tight spots and when losing/have lost control :nuts: . I also sometimes have a hard time telling the woots apart from "civilians" woots, if they are around.. :mefiant:

On the other hand, the ai rarely if ever makes 2 or 3 rapid woots, so those should be easily identifiable. It's also very hard to do properly with mi paddy...maybe I should reconfigure...

Good to know thou that there are drivers putting the horn to use, I'll keep that in mind and will try to use the horn likewise. That combined with rapid flashing of breaklights should be quite good telling others of a turn, whether they are behind or in front of you :) .

Thanks for sharing! Good stuff :bravo:

:respect: :salut2:

BensonJutton
11-08-2007, 15:33
I've just had a play with the G25 profiler and you can setup <<<< and >>>> just using the profiler :) Heres what i did
1) select the G25 button you wish to use(I've used the 2 little red ones on the steering wheel)
2)Select Command/New command
3)Give it a name and select options,tick Record Pauses and put the slider over to fast,click ok
4) now click record and press t >>>> then enter then click stop

then do the same for the other button obviously change to t <<<<

it works for me :)
EDIT:Don't forget to use the shiftkey for the >