Sorry for the bump but this mod is causing issues with the new trailers in 0.30. It seems it's breaking the indicators. They work on the trailer itself but not when connected to a vehicle.
Apparently, this mod has been causing LUA errors with AI traffic and certain trailers since 0.30, because "stop_turn_signal" wasn't defined. This causes the vehicle electrics controller to crash if AI traffic turns on their turn signal on WCUSA, for example. I've fixed it myself:
doesn't work in 0.32, does someone have a fix or know how to change the position of the lights? like press once low beam, press again high beam and press again parklights, basically like the ai file but without the corruption in west coast
yes but i want the low beams in the first slot instead of the parklights. if i download the original file it works and if i download that reworked file it still works, but when i download the ai file to put the lights in the right other, it just breaks the ai in west coast
Somehow if I use your version, the lights of my modded cars like the CCF break, it has low beams polygon (But the headlights are off), then high beams, then low beams again. Traffic only drives with parking lights, and some DRL-lights are broken. Maybe u got a idea? (This should be definetly implemented into the base game)
The AI version simply switched the light order for the electrics controller to have the low beams first, I can make that change too, won't be today though. I haven't played the game recently, so I haven't tested if anything like the CCF is misbehaving. I can check it on my end, but all of my mods were working fine before (see me using the CVPI above).
Done and tested and works. Can't currently verify weird behavior with the CCF because it is currently broken.
If you haven't got around to fixing this for 0.34 yet or don't plan to, I managed to get it fixed this time around so I can upload it if you want.
saw that JoshD fixed it for 0.34 but noticed that they didn't include the ai one. so i "fixed" that (i just took their file and changed 2 values. i have no idea if that's how you do it, but it works so whatever)
Hi! First of all, thank you for your great work on this mod. It has always added a lot to the gameplay experience. I kindly ask if you could update the mod to be compatible with the latest game version. Many players, including myself, really appreciate this mod and would love to continue using it with the new update. Thank you again for your effort and amazing work!
Ask and ye shall receive. She may not come when you want her, but she'll be there right on time. NOTE: This mod is not compatible with iRetr0x's DFA mod natively! If you still want to use DFA along side this mod, you need to open DFA's zip file and delete "/lua/vehicle/electrics.lua" from their mod. The side effect is that this will cause the switchback turn signals on their 400/800 trucks to stop working. Bug them in their discord to add their LUA code into a separate file, because they don't actually need to overwrite the vanilla one if they ensure theirs loads after the vanilla one. NOTE: If you use the Hirochi CCF, use the AI version! Yes, I tested the CCF this time, lol. Some of the features of the CCF and Velo like the things that automatically dim the high beams, and the headlight pattern animations are tied to the lightStates in the electrics controller. This causes the vehicles to turn their headlights off when you're behind a vehicle instead of the intended behavior. This also causes the regular CCF to put lights on the ground in the parking light state in the non-ai version. Using the AI version that puts the parking lights as the last stage is the easier ask than asking them to make a patch for something like this. Also if anybody is curious what I've actually done, I left a comment above every section I changed. Search for the word "stage". It appears in every single new comment. I promise. it also sorta works in the quick action menu, if you ignore the unlocalized string as the name.
Okay, on second thought since removing the lua file from DFA has broken all my mods that build off the stock D-Series, I'll work on a hotfix, but first, I need someone who kept backups of the game files (usually modders) to provide me the /lua/vehicles/electrics.lua from game version 0.37 so that I can do a compare off of it, and because DFA has not been updated yet this year.