[TUTORIAL] Horn/Siren Changing
|
2011-10-03, 20:33
(This post was last modified: 2015-12-03 09:35 by Ash.)
Post: #1
|
|||||||
|
|||||||
Horn/Siren Changing
Hello All!
In the servers, you are allowed allocated use of two horns. HORN5: This horn is allocated for a Wail Siren which is to be used as the main siren throughout a pursuit/blue light run. HORN4: This horn has been allocated as a piercer/two tone/yelp siren which is to be used when passing cars in dangerous situations and when driving on wrong side of the road. Please read the rules http://www.city-driving.co.uk/rules for further clarification about sirens. You can download a recommended siren pack from [TC]'s website at http://www.city-driving.co.uk/downloads Now, down to the nitty gritty. This tutorial is based on the fact you are using a program such as LFS Cops, LFS Strobe or TCLights to control the siren on/off function. Throughout this tutorial, anything which is formatted in bold, is customizable to your specific setup within LFS. You will need one F Key (either Ctrl F1-9 or Alt F1-9). For this script, i am using Ctrl F5 as my chosen 'hot key' to control the flicking between Wail (HORN5) and my Yelp (HORN4). You will need to open up Notepad (or similar) and create two files. We will call the first file wailtoyelp.lfs Inside your Notepad document, you will need to type the following. Code: //This script will change from HORN5 to HORN4 The /ctrlf 5 /run yelptowail programs the key to change to run the next script, therefore it makes it a 'scrolling key'. Save this file as wailtoyelp.lfs - Please ensure you do not save as a txt file, but change it to .lfs! The second document has to be called what you entered into the command line within the last script, therefore our new file will be called yelptowail.lfs. Enter this into the new document: Code: //This script will change from HORN4 to HORN5 As you can see, the command line /ctrlf 5 /run wailtoyelp has now programmed the key to run the original script, therefore it will now just alternate between the two sirens! Enjoy people, please feel free to ask any questions! Ash First, its only possible using Logitech Profiler, unless you create your own script, which i can do You will need 1 spare button, 10 minutes of your time. First, find your button on the controller, this will operate the flicking between horns. You can see here in mine, i have programmed it to me left wheel button. Once you have found your button, click it, go 'Select Command', then Create Command. Call it something like 'Switch Horn 4 Times'. Press Record, and press buttons in this sequence:
You should have in your profiler, the following:
Next step, is to get the button to change horns once. Press record, and press the buttons found in the sequence.
Now we have the main process out of the way, the last thing to do, is we need to combine the two sequences together. We can do this, using something called a 'Cycling Command'. A cycling command allows you to program one button to do more than one thing on one press. Click the button in the profiler again, this will bring up the drop down menu. Select 'Select Cycling Command', and 'New Cycle Command'. You will see a new box appear. From the left side of that box, is a list will all your commands, locate 'Change Horn 4 Times' first, then locate 'Change Horn 1 Time' as shown above in the image. Call it a reasonable name, such as siren change or something similar. You then need to click 'Ok', and off you go. In Live For Speed. Make sure you have the horn selected as 'Horn 5' first, you can toggle through the sounds ingame by using Shift and H. Once you have made sure it is on Horn 5, you can then press your new 'Siren Change' button. Whilst doing this, you can leave the siren on, the change will then make the siren go to Horn 4, which is a 'Piercer' sound. This sound is intended for use at busy junctions to warn members of the public that you are there, the horn should only be used ideally for no more than 3-5 seconds. If you do not have the 'Piercer' siren yet, you can download it from the attachment in this post. Happy Driving! EDITED - LOGITECH PROFILER FILE ADDED. http://www.filedropper.com/publicsirenonly Link updated by Bez 7/5/2015 PLEASE ENSURE THAT YOU DO NOT USE TCLIGHTS WITH THIS SETUP. You may use other software such as LFSStrobe by Tommy or LFSCops, as they do not operate the siren. In game, you MUST have your siren binded to PageUP for this to work. |
|||||||
2011-10-03, 20:54
Post: #2
|
|||||||
|
|||||||
RE: Horn Changing Tutorial
Good guide! Will definitely help the newbies.
|
|||||||
|
|||||||
2011-10-04, 00:31
(This post was last modified: 2011-10-04 00:31 by Pete.)
Post: #3
|
|||||||
|
|||||||
RE: Horn Changing Tutorial
Nice guide, stickied.
|
|||||||
|
|||||||
2011-10-04, 22:37
Post: #4
|
|||||||
|
|||||||
RE: Horn Changing Tutorial
* Elmo takes all the credit for the original script way back when
|
|||||||
|
|||||||
2011-11-20, 23:23
(This post was last modified: 2011-11-20 23:27 by Dylan.)
Post: #5
|
|||||||
|
|||||||
RE: [TUTORIAL] - Horn Changing
i can't get this to work. i assume you're supposed to put both of those in the script folder.. i did that, and they will not do anything.. what do i need to do?
nevermind, got it.. i think this tutorial needs some clarifications/revising.. lol |
|||||||
|
|||||||
2011-11-21, 20:05
Post: #6
|
|||||||
|
|||||||
RE: [TUTORIAL] - Horn Changing
You need to go into LFS and assign Ctrl+F5 to:
/run wailtoyelp |
|||||||
2011-11-21, 20:50
Post: #7
|
|||||||
|
|||||||
RE: [TUTORIAL] - Horn Changing
Yep, sorry i forgot to add that
|
|||||||
2011-11-22, 19:24
Post: #8
|
|||||||
|
|||||||
RE: [TUTORIAL] - Horn Changing
Thanks! Helped me out bigtime
|
|||||||
|
|||||||
2011-11-22, 21:33
Post: #9
|
|||||||
|
|||||||
RE: [TUTORIAL] - Horn Changing
Works great, thank you.
|
|||||||
|
|||||||
2011-11-23, 09:10
(This post was last modified: 2011-11-23 09:11 by B!ll.)
Post: #10
|
|||||||
|
|||||||
RE: [TUTORIAL] - Horn Changing
Nice guide ash thx for this. I searched this long time.
But i have one question, is possible change hot key at F4 (only F4)? Cuz i got (in lfs) script error when i change this 2 files for hot key F4. On combination ctrl + F1-9 or alt + F1-9 all work perfect. (edit: i cant type rapaired) |
|||||||
|
|||||||
2011-11-23, 14:47
Post: #11
|
|||||||
|
|||||||
RE: [TUTORIAL] - Horn Changing
Yeah, you can't use that with the normal F keys, only the ctrlf or altf keys
|
|||||||
|
|||||||
2011-11-23, 17:35
Post: #12
|
|||||||
|
|||||||
RE: [TUTORIAL] - Horn Changing
"Could not load file : data\script\wailtoyelp.lfs"
Why? |
|||||||
|
|||||||
2011-11-23, 18:17
Post: #13
|
|||||||
|
|||||||
RE: [TUTORIAL] - Horn Changing
You didnt add a . after .lfs did you? Because in my first post i accidently put that.
|
|||||||
2011-11-24, 17:09
Post: #14
|
|||||||
|
|||||||
RE: [TUTORIAL] - Horn Changing | |||||||
|
|||||||
2011-11-25, 19:28
Post: #15
|
|||||||
|
|||||||
RE: [TUTORIAL] - Horn Changing
Any idea? :/
|
|||||||
|
|||||||
2011-11-26, 17:46
Post: #16
|
|||||||
|
|||||||
RE: [TUTORIAL] - Horn Changing | |||||||
|
|||||||
2011-11-26, 17:52
Post: #17
|
|||||||
|
|||||||
RE: [TUTORIAL] - Horn Changing | |||||||
2011-11-26, 18:21
Post: #18
|
|||||||
|
|||||||
RE: [TUTORIAL] - Horn Changing
Either way, if so, set your folder options to show extensions.
|
|||||||
|
|||||||
2011-11-27, 17:45
Post: #19
|
|||||||
|
|||||||
RE: [TUTORIAL] - Horn Changing
Yeah, it was wailtoyelp.lfs.txt, I only saw the ".txt" in Total Commander. Ty guys!
|
|||||||
|
|||||||
2013-01-26, 11:44
Post: #20
|
|||||||
|
|||||||
RE: [TUTORIAL] - Horn Changing
Okay, I know soemone will punch me in the face for reviving a year old thread but I'm having some trouble in the profiler... I have the script set up exactly how Ash has it, I run LFS through the profiler, and under Specific Game Settings I have ticked 'Use Special Game Settings'. The siren doesn't work with this ticked or not ticked, so I oficially have no idea what's going on. Little help?
|
|||||||
|
|||||||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)
Powered By MyBB, © 2002-2024 MyBB Group