How to add nightlighting to tracks that dont originally have it?

It isn't hard but very time consuming, for me at least.
Open a track .trk file in any text editor
You will see entries like
Light=NightLight01
{
Type=Omni Pos=(237.733276, 10.986197, -135.773254) Range=(5.000000, 50.000000) Active=True Intensity=(2.000000) Color=(255, 255, 255)
}
That turns the light on at night, Time depend on night lighting setting in .gdb file
Omni Pos=(237.733276, 10.986197, -135.773254) are the 3D coordinates from where the light comes Light bulb so to speak.
You can get the coordinates from 3DSimed.
The two last figures need to swapped for the track file.

Range=(5.000000, 50.000000) Believe that is the range of where textures/ objects gets iluminated.

Intensity=(2.000000) Color=(255, 255, 255) Does what it says. Intensity and color of light.

To make it more natural looking like a cone of light you use "NightLight00Glow"

Which load a light cone textures.

Have only done a couple of track conversions where I need to put nightlight on and it is a very slow process.
 
It isn't hard but very time consuming, for me at least.
Open a track .trk file in any text editor
You will see entries like
Light=NightLight01
{
Type=Omni Pos=(237.733276, 10.986197, -135.773254) Range=(5.000000, 50.000000) Active=True Intensity=(2.000000) Color=(255, 255, 255)
}
That turns the light on at night, Time depend on night lighting setting in .gdb file
Omni Pos=(237.733276, 10.986197, -135.773254) are the 3D coordinates from where the light comes Light bulb so to speak.
You can get the coordinates from 3DSimed.
The two last figures need to swapped for the track file.

Range=(5.000000, 50.000000) Believe that is the range of where textures/ objects gets iluminated.

Intensity=(2.000000) Color=(255, 255, 255) Does what it says. Intensity and color of light.

To make it more natural looking like a cone of light you use "NightLight00Glow"

Which load a light cone textures.

Have only done a couple of track conversions where I need to put nightlight on and it is a very slow process.
gonna save a note pad of this text rn thank you
 
To make it more natural looking like a cone of light you use "NightLight00Glow"
NightLightXXGlow objects are necessary to have night lights turn on and off, otherwise they will be permanently on.
If you don't know how to make light cone or just don't want to do it, just create a small object and place it somewhere where it won't be visible (I put them below track surface).
 
NightLightXXGlow objects are necessary to have night lights turn on and off, otherwise they will be permanently on.
Yes that is true. Though I wrote that.

If you don't know how to make light cone or just don't want to do it, just create a small object and place it somewhere where it won't be visible (I put them below track surface).

Or just reuse one you like from another track.
 

What are you racing on?

  • Racing rig

    Votes: 528 35.2%
  • Motion rig

    Votes: 43 2.9%
  • Pull-out-rig

    Votes: 54 3.6%
  • Wheel stand

    Votes: 191 12.7%
  • My desktop

    Votes: 618 41.2%
  • Something else

    Votes: 66 4.4%
Back
Top