Projector Headlights

Projector Headlights 3.0.3

Login or Register an account to download this content
Hot Fix for lamp hours being to low, you will need to purchase a new set of bulbs at the store.
Projector Headlights V3.0.2
This update brings back the wear system and the replaceable parts in the shop, you will find a set of aftermarket projector headlights on your work bench along with two brand new lamps. Note the lamp has to be installed first simply installing the headlights will result in no output.
You will need MscLoader and MscModApi.
Download MscModApi
KHqe1OE.jpg
Installation
You will need to install the lamps first simply flip the headlight over so the lens is facing down and hover the bulb over the top.
UOdcAqT.jpg

Once installed you can go ahead and install the headlight to the car.
KvI1s8O.jpg


Control settings you can now set Intensity, Angle, Range, Colour. This is done via the Mods settings control. There is no Keybind


HhAGlBb.png

Shop/Spares
with the new system you can purchase as many spares as you like and the mod will be able to keep track of every item, note spares will not respawn where they are left due to the api mechanics they will spawn on a shelf as seen below.

To purchase a new lamp head over to Teimo's you will see a board called ModShop click on this to see a list of items.

stb9ygz.jpg

Now click on the list to see the items and purchase as many as you need.
UdiwxcQ.jpg

nI7eB7x.jpg

Now once purchased they will spawn on the counter
YKdLCnX.jpg


Once you reload the game any spares will be spawn in the garage as below
c2OTq9d.jpg

If you have any issues let me know, this is the initial release with the new part system and wear so if there are any bugs let me know. Please provide as much information as possible when reporting a bug.
Projector Headlights V3.0.1 Beta This Update re adds the control settings you can now set Intensity, Angle, Range, Colour. This is done via the Mods settings control. There is no Keybind You will need MscLoader and MscModApi.
Download MscModApi

HhAGlBb.png
This is the start of the rewrite basic functionality is present there are no lamps in the shop however bolts are now fully working thanks to McsModApi this version requires MscModApi v1.1.0
There is no GUI for settings yet as these are being re created
This is still a work in progress.
More updates to follow
This should resolve the GUI issue for users of modloader pro.
Fixed an issue with the settings not saving or updating in game, Please note this is only for MSCLoader not the separate pro version.
This update bring Modloader Pro support(v1.1.1) there may be a few bugs, I will eventually get round to rewriting the mod but let me know if you come across anything.

Please see the Help.txt for installing both versions.
Projector Headlights V2.4

Updated to use the latest version of MSCLoader 1.1.16

Added bolts logic, this is very finicky, these can now be tighten and loosen they will highlight but again its very finicky
when you swap from the tool to hand any highlighted bolts will return to normal if they are stuck green.
Bolt positions are now saved if you experience any issues with loading I advise to delete the save config files from Mods\Config\Mod Settings\Projector_Headlights

Issue with purchasing replacement bulbs from the shop has been resolved there should be no other issues but if you see anything let me know.
  • Like
Reactions: michu97736
While working on an update i have been told about an issue with the shop and purchasing the bulb boxs. I have been away for a while working on other projects so im not sure which game update has broken this. For the mean time i hope to figure out what is casuing it but if all else fails I will post a update with a version where the lamp wear is disabled in the mean time you can get around this by opening lightsettings.save with notepad and puting a new number where you see a 0 ie 27000 and any value that is saved as true replace this with false and reload
This update addresses issues with the sun being brighter this should also fix the issues with installing the mod. Please let me know if you have any issues
Modloader v1.1.7 & Install guide.
modloader 1.1.7.png

I have been receiving a lot of reviews and questions regarding modloader support for 1.1.7. This update post is going to cover this and any issues you may have trying to install the mod.

To start with this mod has been written for modloader 1.1.7 and ModAPI v0120-alpha This is the latest release from the ModAPI author please see his github for reference. https://github.com/tommojphillips/ModAPI/releases

Included in the downloaded zip archive is all the files you will need to install the mod.

Step1:
go to your reference folder and make sure that you have the correct version of the modapi.
Please make sure that you don’t have modapi_v0130-alpha.dll in the Reference folder. This is a custom version of 1020 and is not compatible as the hashes will not match and the mods will not load.
Reference folder.png


Step2 Assets folder. make sure you have a folder within the assets folder called Projector_Headlights
Folder.png


Next in that folder should be the unity asset file. Copy this from the downloaded archive.
Assets.png


Step 3 Copy the Projector_Headlights.dll to the mods folder.

mods.png


Load the game and the projector headlights will spawn on the work bench along with 2 Lamps to install. Once the lamps blow you can replace them via purchasing and new set from the store. Lamps have around 5000hrs of real life time they wear over time when the headlights are switched on.

Attachments

  • Folder.png
    Folder.png
    20.6 KB · Views: 170
This address a few issue people have been having with Using this mod along with ECU's and Turbo charger DonnerPlays and i have been talking about this he was not having any issues however I was able to replicate the error this should resolve this issue.
Img4.png

All three mods have loaded successfully, if you have any issues please let me know.
This update resolves a bug where the spare parts are installed when the game loads a save file for this Mod.

Also the Main beam settings increases its angle spreading more light across the road.

Main Beam Before:
OldDrive main beam.png

Main Beam V2.1:

New MainBeam.png
**Mod Optimisation Plugin (MOP), is causing some players to see white cubes. This should be fixed Users of MOP have to update the rule files (Start MSC -> Mod Settings -> MOP Settings -> Force Update). **
This Update brings new 3D Models Replaceable Lamps from the shop and a wear system. using ModApi 1.2.0 and the latest release of MSCLoader.
img1.png


You will need to delete any saved files for this mod.

The new Projectors including the the lamps will spawn on the work bench this install as previous with the new lamps
Install location.png

And the lamp

Lamp install.png


Once installed the Lights will function as previously
img2.png


Another view
Installed an on.png


The wear system the lamps have approx 5000hrs and they wear down only when the cars lights are on.

When a lamp fails you will need to remove it make sure that the power is off and then you will be able to remove it via a left mouse click when looking at the front lens. You can purchase a replacement from the shop.

BulbBox.png


I have done a lot of testing on the logic and believe i have removed all the bugs i have found if you find one please let me know.

At the moment the bolts are still not working i will get to it but once a part is installed it shouldn't fall off.
This update brings finer control over the settings of the headlights.
Settings.png

Press F6 to open and close the GUI

You now adjust the following settings:
Intensity
Spot Angle( how far the light is spread)
Range

Position of the light source with the previous release the light sources were overlapped to create an even beam pattern (Be careful with this Y coordinates adjusts left to right.)
The default position is Left: 0,0,0 Right 0,-0.999,0

Colour of the light can now be adjusted using the RGB slider.

If you need to reset the settings to defaults hit the default button at the top left.

The update button pushes out your changes to the headlights.

The glow on the lights when they spawn in on the work bench should be gone.

These settings are saved when saving the game i have tested a few times and the saves have been successful please report any bugs you experience.
This Release address's a few issues since version 1:
Both head light parts have to be installed before the logic will function previously you only needed the left light installed
The Satsuma now needs to have power going to it, this has introduced new code which should be stable please report any crashes you experience.
----------------------------------------------------------------------------------
Future features:
Light bulb ware meaning having to purchase new bulbs from the store
Light bulb temperatures being able to change the colour light.

No time frame set on this yet.
----------------------------------------------------------------------------------

Latest News

Online or Offline racing?

  • 100% online racing

    Votes: 105 7.8%
  • 75% online 25% offline

    Votes: 139 10.4%
  • 50% online 50% offline

    Votes: 195 14.5%
  • 25% online 75% offline

    Votes: 380 28.3%
  • 100% offline racing

    Votes: 518 38.6%
  • Something else, explain in comment

    Votes: 5 0.4%
Back
Top