The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PATCH] Reverse lights
02-04-2010, 10:33 PM,
[PATCH] Reverse lights
This is one of the first eye-candies I wanted to see for VDrift. I tweaked some code and added a reverse light systems for cars, with appropriate textures for all cars that have taillights which support this (SVN data). It uses the same system as the brake lights, but a second lightening layer.

The only minor issue I couldn't fix (although I seen and modified part of the rendering code) is that brake lights won't show while reverse lights are active. So if you're in Reverse you won't be seeing the red lights as you brake. My coding experience is small and I can't figure where one layer overwrites the other, but if any dev could fix this I'd be grateful. Either way I hope this can be added to VDrift, even with the overwriting if there's no way to show both lights at the same time.

The patch can be downloaded here (I included the src files for backup): alt link

[Image: reverselights1.jpg]
[Image: reverselights2.jpg]
[Image: reverselights3.jpg]
[Image: reverselights4.jpg]

Messages In This Thread
[PATCH] Reverse lights - by MirceaKitsune - 02-04-2010, 10:33 PM
[No subject] - by portets - 02-04-2010, 11:28 PM
[No subject] - by NaN - 02-05-2010, 06:28 AM
[No subject] - by MirceaKitsune - 02-05-2010, 07:25 AM
[No subject] - by NaN - 02-05-2010, 07:40 AM
[No subject] - by MirceaKitsune - 02-05-2010, 07:44 AM
[No subject] - by joevenzon_phpbb2_import3 - 02-05-2010, 11:29 AM
[No subject] - by MirceaKitsune - 04-23-2010, 11:36 AM
[No subject] - by NaN - 04-23-2010, 12:02 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)