PDA

View Full Version : Horn-bind doesnt work and using command more than once in script


pmw
26th August 2010, 19:17
Hi,

at first, I dont really know should I post script-things in here or to programmers-side, so please move this thread if its on wrong place.

Anyway, I have a problem with horn-binding.
I really would want to use button on my steeringwheel for switching car lights on, _and_ using horn at the same time.

It works when I bind "button 1", and create script file which handles that.
Like this script file works:


foobar.lfs:

/press 3

But it doesnt work like this when "B" is binded to horn:


/press 3
/press B

Even I put "/key B horn" before those press-commands, it still doesnt work.
Any advice?


And another thing:

Is it impossible to put like, "/press 3" for 5 times in scriptfile? Like, car would switch lights on and off 5 times. I tried it, but it only switch lights on for once.


Thank you.

rockclan
26th August 2010, 19:50
Dear PMW,

Very nice that you are trying to make this. But please post it here:
http://www.lfsforum.net/forumdisplay.php?f=9

imthebestracerthereis
26th August 2010, 19:54
Why not just go to Controls in Settings, and remap the horn button to one of your wheel buttons?

Also, if you wanted to have a strobelike effect, you can download LFSStrobe (http://www.lfsforum.net/showthread.php?p=938769#post938769) and change the settings in there.

pmw
26th August 2010, 20:52
Why not just go to Controls in Settings, and remap the horn button to one of your wheel buttons?

Also, if you wanted to have a strobelike effect, you can download LFSStrobe (http://www.lfsforum.net/showthread.php?p=938769#post938769) and change the settings in there.

Did you read what I said? I want lights and horn on same button. I think it doesnt work by remapping buttons from LFS's SEttings-menu.

Anthoop
26th August 2010, 21:04
You need horn and lights in race....at the same time is that what you mean?

skywatcher122
26th August 2010, 21:13
don't tell me u need a police chase while your racing:schwitz:

rockclan
26th August 2010, 21:22
don't tell me u need a police chase while your racing:schwitz:

Cruise is very much fun! :)

pmw
26th August 2010, 22:02
You need horn and lights in race....at the same time is that what you mean?

I mean, when I hit button on my steeringwheel. Car flashes lights and horn says *BOOO*. And I press only _one_ button, only _once_.

Zipppy
26th August 2010, 22:18
Xpadder (http://www.softpedia.com/get/System/System-Miscellaneous/Xpadder.shtml) can do it. I've done it myself. the key to make the headlights flash is "G", not "3". 3 toggles the lights on and off.

imthebestracerthereis
27th August 2010, 01:58
Did you read what I said? I want lights and horn on same button. I think it doesnt work by remapping buttons from LFS's SEttings-menu.

Then just use LFS Strobe, they have lights and horn integrated together...

pmw
28th August 2010, 20:25
Then just use LFS Strobe, they have lights and horn integrated together...

What is "LFS Strobe"?

VoiD
28th August 2010, 20:45
Donīt try it, you may suffer autism...

logitekg25
28th August 2010, 21:21
its a key pressing emulator, so it repeats presses without you having to do anything except press on, or off. you can toggle the horn being used as well..its meant to simulate cop chases in cruise servers, but it can be used for whatever.

http://www.youtube.com/watch?v=qvZ1XMdNjA8
its fully customizable and i have AMAZING strobe's that i made if anyone wants them :tilt:

skywatcher122
28th August 2010, 21:26
Donīt try it, you may suffer autism...

LMAO

Hi,

at first, I dont really know should I post script-things in here or to programmers-side, so please move this thread if its on wrong place.

Anyway, I have a problem with horn-binding.
I really would want to use button on my steeringwheel for switching car lights on, _and_ using horn at the same time.

It works when I bind "button 1", and create script file which handles that.
Like this script file works:


foobar.lfs:

/press 3But it doesnt work like this when "B" is binded to horn:


/press 3
/press BEven I put "/key B horn" before those press-commands, it still doesnt work.
Any advice?


And another thing:

Is it impossible to put like, "/press 3" for 5 times in scriptfile? Like, car would switch lights on and off 5 times. I tried it, but it only switch lights on for once.


Thank you.

the code you are doing is like /press <bindkb> is only once to at the time might strobe help it download it just click the thing bellow

download it from THE WIZARD DK (http://www.lfsforum.net/showthread.php?p=667611#post667611) posts

TehPaws3D
1st September 2010, 19:22
If you don't want to download LFS strobe, You could always use a keyboard Marco set, That would work quite nicely, However you'd have to tap out a beat in your head, My Logitech keyboard profile is strobbing at 0.079 - 0.090 seconds. And it's pretty damn amazing.

pmw
6th September 2010, 13:25
Nice posts people, but I think I'm gonna quit from this case.
I don't want to download any strobe-software or something like that. It would be nice if I could do it with scripts, but it seems to be impossible.

Thanks anyway for nice posts.