Advanced Turn Signals 1.2.3
5 127
59
5 127
59
Advanced Turn Signals - v1.2.3 (Created By QuestDragon)
This explanation uses Google Translate.
Please check the GitHub development page for the latest information and to obtain the latest version and versions not uploaded to 5mods.
Description
There are many turn signal mods uploaded today, but most of them are manually turned on and off or have no turn signal sound, so I decided to create one to practice creating scripts.
The game has a turn signal sound, but it is very low pitched and only sounds for a small percentage of vehicles.
Feature
You can operate the turn signals of the car. It is possible to turn left, right, and turn hazard lights on and off.
You can use sound effects related to turn signals. Various sample sound effects are included in the scripts\AdvancedTurnSignals\TurnSignalSounds folder. It is also possible to customize each vehicle using xml files. (Sound effects can be enabled or disabled in the ini file)
The display language of notifications sent from scripts can be translated in scripts\AdvancedTurnSignals\Localization.ini.
It also supports controller operation. In addition, for those who do not operate turn signals with a controller, it is now possible to set whether to use them from the ini file. (Request from stevensonjnr and dustyblues, thank you!)
It is also possible to combine modifier keys or two controller buttons. (Request from Reldam88, thank you!)
---The following features are not available in the Lite version.---
The behavior of the turn signals used in real Japanese cars is reproduced as closely as possible, and a function is provided to automatically turn off the turn signals when the steering wheel is turned and returned. (The angle of the steering wheel can be adjusted in the ini file.)
Other details such as turning the steering wheel in the opposite direction of the turn signal will also turn off the turn signals, and the turn signals and hazard lamps are independent of each other.
It also has a function that automatically turns on the direction indicators when you turn the steering wheel when driving at low speeds. (Request from NoRain, thank you!)
Installation
Copy the scripts folder to the Grand Theft Auto V folder.
Download ScriptHookV, unzip it, and copy the two dll files in the bin folder to the Grand Theft Auto V folder.
[Important] This script mod requires ScriptHookV DotNet version 3.7.0.
At the time of publication, 3.7.0 has not been released, so you must use the Nightly build.
Download the Nightly build of Script Hook V .NET from the link below, unzip it, and copy the 7 files containing the string "ScriptHookVDotNet" to the Grand Theft Auto V folder.
ScriptHookVDotNet-v3.6.0-nightly
Other requirements must be met for the above two to work. Please check the description section of each download page for details.
How to use
If Enabled is set to True in the ini file, it will be automatically loaded and enabled when the game is loaded.
When you get on the vehicle and press the key set in the ini file, the turn signal will operate. (Excluding some vehicles such as bicycles and helicopters)
If UseSound is set to True and the audio file is properly prepared, the sound effect will be played.
---The following features are not available in the Lite version.---
If Autooff is set to True and the settings are correct, the turn signal will automatically turn off when the turn is completed. (Excluding motorcycles)
If KeyboardComp is set to True, the turn signal will automatically turn off after milliseconds specified by AutooffDuration.
If Autoon is set to True and the conditions are met, the turn signals will automatically turn on.
Aside
Since it determines whether to automatically turn off the direction indicators based on the angle of the steering wheel, I thought about making it compatible with ikt's Manual Transmission Mod, but it turned out that it was no longer usable due to the GTA 5 update, so I decided not to implement it. I could not do it….
The reason it doesn't work with the released version of ScriptHookV DotNet (3.6.0) is that it seems that the handle angle cannot be obtained due to a bug. This is fixed in the development Nightly build and should be used.
Disclaimer
I, QuestDragon, cannot be held responsible for any damage caused by using this script mod. Please use at your own risk.
Secondary distribution is prohibited.
Distribution may be stopped without notice. Please note.
Production: QuestDragon
This explanation uses Google Translate.
Please check the GitHub development page for the latest information and to obtain the latest version and versions not uploaded to 5mods.
Description
There are many turn signal mods uploaded today, but most of them are manually turned on and off or have no turn signal sound, so I decided to create one to practice creating scripts.
The game has a turn signal sound, but it is very low pitched and only sounds for a small percentage of vehicles.
Feature
You can operate the turn signals of the car. It is possible to turn left, right, and turn hazard lights on and off.
You can use sound effects related to turn signals. Various sample sound effects are included in the scripts\AdvancedTurnSignals\TurnSignalSounds folder. It is also possible to customize each vehicle using xml files. (Sound effects can be enabled or disabled in the ini file)
The display language of notifications sent from scripts can be translated in scripts\AdvancedTurnSignals\Localization.ini.
It also supports controller operation. In addition, for those who do not operate turn signals with a controller, it is now possible to set whether to use them from the ini file. (Request from stevensonjnr and dustyblues, thank you!)
It is also possible to combine modifier keys or two controller buttons. (Request from Reldam88, thank you!)
---The following features are not available in the Lite version.---
The behavior of the turn signals used in real Japanese cars is reproduced as closely as possible, and a function is provided to automatically turn off the turn signals when the steering wheel is turned and returned. (The angle of the steering wheel can be adjusted in the ini file.)
Other details such as turning the steering wheel in the opposite direction of the turn signal will also turn off the turn signals, and the turn signals and hazard lamps are independent of each other.
It also has a function that automatically turns on the direction indicators when you turn the steering wheel when driving at low speeds. (Request from NoRain, thank you!)
Installation
Copy the scripts folder to the Grand Theft Auto V folder.
Download ScriptHookV, unzip it, and copy the two dll files in the bin folder to the Grand Theft Auto V folder.
[Important] This script mod requires ScriptHookV DotNet version 3.7.0.
At the time of publication, 3.7.0 has not been released, so you must use the Nightly build.
Download the Nightly build of Script Hook V .NET from the link below, unzip it, and copy the 7 files containing the string "ScriptHookVDotNet" to the Grand Theft Auto V folder.
ScriptHookVDotNet-v3.6.0-nightly
Other requirements must be met for the above two to work. Please check the description section of each download page for details.
How to use
If Enabled is set to True in the ini file, it will be automatically loaded and enabled when the game is loaded.
When you get on the vehicle and press the key set in the ini file, the turn signal will operate. (Excluding some vehicles such as bicycles and helicopters)
If UseSound is set to True and the audio file is properly prepared, the sound effect will be played.
---The following features are not available in the Lite version.---
If Autooff is set to True and the settings are correct, the turn signal will automatically turn off when the turn is completed. (Excluding motorcycles)
If KeyboardComp is set to True, the turn signal will automatically turn off after milliseconds specified by AutooffDuration.
If Autoon is set to True and the conditions are met, the turn signals will automatically turn on.
Aside
Since it determines whether to automatically turn off the direction indicators based on the angle of the steering wheel, I thought about making it compatible with ikt's Manual Transmission Mod, but it turned out that it was no longer usable due to the GTA 5 update, so I decided not to implement it. I could not do it….
The reason it doesn't work with the released version of ScriptHookV DotNet (3.6.0) is that it seems that the handle angle cannot be obtained due to a bug. This is fixed in the development Nightly build and should be used.
Disclaimer
I, QuestDragon, cannot be held responsible for any damage caused by using this script mod. Please use at your own risk.
Secondary distribution is prohibited.
Distribution may be stopped without notice. Please note.
Production: QuestDragon
Først Lastet opp: 4. februar 2024
Sist Oppdatert: 14. mars 2024
Last Downloaded: 13 minutter siden
All Versions
63 Kommentarer
More mods by QuestDragon:
Advanced Turn Signals - v1.2.3 (Created By QuestDragon)
This explanation uses Google Translate.
Please check the GitHub development page for the latest information and to obtain the latest version and versions not uploaded to 5mods.
Description
There are many turn signal mods uploaded today, but most of them are manually turned on and off or have no turn signal sound, so I decided to create one to practice creating scripts.
The game has a turn signal sound, but it is very low pitched and only sounds for a small percentage of vehicles.
Feature
You can operate the turn signals of the car. It is possible to turn left, right, and turn hazard lights on and off.
You can use sound effects related to turn signals. Various sample sound effects are included in the scripts\AdvancedTurnSignals\TurnSignalSounds folder. It is also possible to customize each vehicle using xml files. (Sound effects can be enabled or disabled in the ini file)
The display language of notifications sent from scripts can be translated in scripts\AdvancedTurnSignals\Localization.ini.
It also supports controller operation. In addition, for those who do not operate turn signals with a controller, it is now possible to set whether to use them from the ini file. (Request from stevensonjnr and dustyblues, thank you!)
It is also possible to combine modifier keys or two controller buttons. (Request from Reldam88, thank you!)
---The following features are not available in the Lite version.---
The behavior of the turn signals used in real Japanese cars is reproduced as closely as possible, and a function is provided to automatically turn off the turn signals when the steering wheel is turned and returned. (The angle of the steering wheel can be adjusted in the ini file.)
Other details such as turning the steering wheel in the opposite direction of the turn signal will also turn off the turn signals, and the turn signals and hazard lamps are independent of each other.
It also has a function that automatically turns on the direction indicators when you turn the steering wheel when driving at low speeds. (Request from NoRain, thank you!)
Installation
Copy the scripts folder to the Grand Theft Auto V folder.
Download ScriptHookV, unzip it, and copy the two dll files in the bin folder to the Grand Theft Auto V folder.
[Important] This script mod requires ScriptHookV DotNet version 3.7.0.
At the time of publication, 3.7.0 has not been released, so you must use the Nightly build.
Download the Nightly build of Script Hook V .NET from the link below, unzip it, and copy the 7 files containing the string "ScriptHookVDotNet" to the Grand Theft Auto V folder.
ScriptHookVDotNet-v3.6.0-nightly
Other requirements must be met for the above two to work. Please check the description section of each download page for details.
How to use
If Enabled is set to True in the ini file, it will be automatically loaded and enabled when the game is loaded.
When you get on the vehicle and press the key set in the ini file, the turn signal will operate. (Excluding some vehicles such as bicycles and helicopters)
If UseSound is set to True and the audio file is properly prepared, the sound effect will be played.
---The following features are not available in the Lite version.---
If Autooff is set to True and the settings are correct, the turn signal will automatically turn off when the turn is completed. (Excluding motorcycles)
If KeyboardComp is set to True, the turn signal will automatically turn off after milliseconds specified by AutooffDuration.
If Autoon is set to True and the conditions are met, the turn signals will automatically turn on.
Aside
Since it determines whether to automatically turn off the direction indicators based on the angle of the steering wheel, I thought about making it compatible with ikt's Manual Transmission Mod, but it turned out that it was no longer usable due to the GTA 5 update, so I decided not to implement it. I could not do it….
The reason it doesn't work with the released version of ScriptHookV DotNet (3.6.0) is that it seems that the handle angle cannot be obtained due to a bug. This is fixed in the development Nightly build and should be used.
Disclaimer
I, QuestDragon, cannot be held responsible for any damage caused by using this script mod. Please use at your own risk.
Secondary distribution is prohibited.
Distribution may be stopped without notice. Please note.
Production: QuestDragon
This explanation uses Google Translate.
Please check the GitHub development page for the latest information and to obtain the latest version and versions not uploaded to 5mods.
Description
There are many turn signal mods uploaded today, but most of them are manually turned on and off or have no turn signal sound, so I decided to create one to practice creating scripts.
The game has a turn signal sound, but it is very low pitched and only sounds for a small percentage of vehicles.
Feature
You can operate the turn signals of the car. It is possible to turn left, right, and turn hazard lights on and off.
You can use sound effects related to turn signals. Various sample sound effects are included in the scripts\AdvancedTurnSignals\TurnSignalSounds folder. It is also possible to customize each vehicle using xml files. (Sound effects can be enabled or disabled in the ini file)
The display language of notifications sent from scripts can be translated in scripts\AdvancedTurnSignals\Localization.ini.
It also supports controller operation. In addition, for those who do not operate turn signals with a controller, it is now possible to set whether to use them from the ini file. (Request from stevensonjnr and dustyblues, thank you!)
It is also possible to combine modifier keys or two controller buttons. (Request from Reldam88, thank you!)
---The following features are not available in the Lite version.---
The behavior of the turn signals used in real Japanese cars is reproduced as closely as possible, and a function is provided to automatically turn off the turn signals when the steering wheel is turned and returned. (The angle of the steering wheel can be adjusted in the ini file.)
Other details such as turning the steering wheel in the opposite direction of the turn signal will also turn off the turn signals, and the turn signals and hazard lamps are independent of each other.
It also has a function that automatically turns on the direction indicators when you turn the steering wheel when driving at low speeds. (Request from NoRain, thank you!)
Installation
Copy the scripts folder to the Grand Theft Auto V folder.
Download ScriptHookV, unzip it, and copy the two dll files in the bin folder to the Grand Theft Auto V folder.
[Important] This script mod requires ScriptHookV DotNet version 3.7.0.
At the time of publication, 3.7.0 has not been released, so you must use the Nightly build.
Download the Nightly build of Script Hook V .NET from the link below, unzip it, and copy the 7 files containing the string "ScriptHookVDotNet" to the Grand Theft Auto V folder.
ScriptHookVDotNet-v3.6.0-nightly
Other requirements must be met for the above two to work. Please check the description section of each download page for details.
How to use
If Enabled is set to True in the ini file, it will be automatically loaded and enabled when the game is loaded.
When you get on the vehicle and press the key set in the ini file, the turn signal will operate. (Excluding some vehicles such as bicycles and helicopters)
If UseSound is set to True and the audio file is properly prepared, the sound effect will be played.
---The following features are not available in the Lite version.---
If Autooff is set to True and the settings are correct, the turn signal will automatically turn off when the turn is completed. (Excluding motorcycles)
If KeyboardComp is set to True, the turn signal will automatically turn off after milliseconds specified by AutooffDuration.
If Autoon is set to True and the conditions are met, the turn signals will automatically turn on.
Aside
Since it determines whether to automatically turn off the direction indicators based on the angle of the steering wheel, I thought about making it compatible with ikt's Manual Transmission Mod, but it turned out that it was no longer usable due to the GTA 5 update, so I decided not to implement it. I could not do it….
The reason it doesn't work with the released version of ScriptHookV DotNet (3.6.0) is that it seems that the handle angle cannot be obtained due to a bug. This is fixed in the development Nightly build and should be used.
Disclaimer
I, QuestDragon, cannot be held responsible for any damage caused by using this script mod. Please use at your own risk.
Secondary distribution is prohibited.
Distribution may be stopped without notice. Please note.
Production: QuestDragon
Først Lastet opp: 4. februar 2024
Sist Oppdatert: 14. mars 2024
Last Downloaded: 13 minutter siden
@ssmillian45
Sorry for the strange sentence, we are using a translation service...
After activating the direction indicator and having a problem with the sound not stopping, we would like you to go to Explorer using Alt+Tab, etc. and check the ScripthookVDotNet.log.
Can you please report if there are any errors written in the log file?
@Starfox1993
Thank you for your comment!
Since the behavior of NPCs is not controlled by this script mod, I think that even if the turn signal is activated, NPCs will behave as usual...lol
@QuestDragon this time ı tested 2 times one of them is not changed keys only original keys(j k and I) still sound is not end and this time ı got Caught fatal unhandled exception:
System.InvalidOperationException: Native.Function.Call can only be called from the main thread.
location: GTA.Native.Function.ThrowInvalidOperationExceptionForInvalidNativeCall()
location: GTA.Native.Function.ReturnValueFromNativeIfNotNull[T](UInt64* result)
location: GTA.Game.get_Player()
location: AdvancedTurnSignals.Class1.onTick(Object sender, EventArgs e)
location: SHVDN.Script.DoTick()
[ERROR] The exception was thrown while executing the script AdvancedTurnSignals.Class1.
[WARNING] Aborted script AdvancedTurnSignals.Class1.
location: System.Threading.Thread.AbortInternal()
second tested is changed keys with arrow key and still sound never ends and ı see there is no error in the log file
@ssmillian45
Thank you for your reply.
ScripthookVDotNet uses Nightly build, and are the operating requirements for ScripthookVDotNet (.NET Framework 2 types and Visual C++ 2019 x64) installed?
Judging from the error in the log, it seems to be an error that appears when using the stable version of SHVDN.
If for some reason it is difficult to use the Nightly build, please download the Lite version until the stable version 3.7.0 is released, and use it with another turn signal mod that can automatically turn off the lights (for RPH, hexdex321's Enhanced Vehicle Actions2 by hexdex321) that can automatically turn off the lights.
@QuestDragon not but ı'll install and maybe ı should also try last suggest from you...
@ssmillian45
Thank you for your reply. Unlike other script mods, this is a special file that cannot be used in a stable version, so we apologize for the inconvenience, but thank you for your understanding.
In addition, if a SCRIPTHOOKV ERROR occurs and other script mods are not loaded after installing the Nightly build, please refer to the included Readme for countermeasures.
Can it be used on the steering wheel?
@do260890
It is programmed to work by acquiring the steering wheel angle, so I think this mod will work if GTAV can use the steering wheel controller in some way. If you want to assign button settings to the buttons on the steering wheel controller, please use Input mapper etc.
keeps crashing my game for some reason as soon as I activate it
how to add left, right, hazard to = < , > , / ?
Just want to say this is a great mod! far better customisation than is allowed within SimpleCTRL and there is no need to change my ragenativeUI, THANK YOU!
My only confusion at the moment is how can I change the turn signal sound? I've checked both current versions on this download page along with the one on github, I use nightly so can use either, however, the only audio files that come with any of them are the default ones. I'd love to be able to use the other example you showed in your video i.e. the Renault version, but I don't see any such audio files in the download anywhere.
Are you able to let me know where I can get the Renault or any other sound?
@jas1kk I don't know if those buttons are supported on the keybindings they use, which can be found here https://learn.microsoft.com/en-us/dotnet/api/system.windows.forms.keys?redirectedfrom=MSDN&view=windowsdesktop-7.0
I use the arrow keys instead like this, if it helps you:
Left=Left
LeftModifier=None
Right=Right
RightModifier=None
Hazard=Down
HazardModifier=None
@jas1kk
It will probably be the following:
= : OemMinus
< : Oemcomma
> : OemPeriod
/ : OemQuestion
@Officer_Bob
Thank you for your comment.
The Renault sound is only used as a demo, and distributing it with content from other games is not possible as it may violate the terms of use. Someone has uploaded the turn signal sound to 5mods, so if you install it and edit the xml file, you can use your favorite sound.
@QuestDragon thank you, I'll try somehow
got this error, is this still working within the latest update of GTA V and SHVDN?
System.NullReferenceException: Object reference not set to an instance of an object.
at AdvancedTurnSignals.Class1.sounds_load(String vehicle_name)
at AdvancedTurnSignals.Class1.onTick(Object sender, EventArgs e)
at SHVDN.Script.DoTick()
[12:53:26] [ERROR] The exception was thrown while executing the script AdvancedTurnSignals.Class1 from "D:\games\Windows\Epic\GTAV\scripts\AdvancedTurnSignals.dll".
[12:53:26] [WARNING] Aborted script AdvancedTurnSignals.Class1.
at System.Threading.Thread.AbortInternal()
at System.Threading.Thread.Abort()
at SHVDN.Script.Abort()
at SHVDN.Script.DoTick()
at SHVDN.Script.MainLoop()
[12:53:26] [ERROR] The exception was thrown while executing the script AdvancedTurnSignals.Class1 from "D:\games\Windows\Epic\GTAV\scripts\AdvancedTurnSignals.dll".
[12:53:26] [WARNING] Aborted script AdvancedTurnSignals.Class1.
at System.Threading.Thread.AbortInternal()
at System.Threading.Thread.Abort()
at SHVDN.Script.Abort()
at SHVDN.Script.DoTick()
at SHVDN.Script.MainLoop()
@NoxXex
I just downloaded it and checked it, and it works correctly.
The main cause of the NullReferenceException is probably that you are using the stable version of SHVDN.
As stated in the description, please download and use the Nightly build.
Also, please make sure you are not using any other Turn signals mods.