[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. |
|||||||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)
Powered By MyBB, © 2002-2024 MyBB Group