Post by gbsd70ace on Dec 6, 2008 21:02:03 GMT -5
Hello,
I am trying to edit the lights on the Metrolink MP36. I have re-done the lighting totally and cannot seem to evade the "cannot read database file Line:XXXXX. Last time it came up with File Line:567832 there isnt even that many lines?!
Heres my lighting code:
Lights ( 17
Light (
comment( sphere of bright light )
Type ( 1 )
Conditions (
Headlight ( 3 )
Unit ( 2 )
)
Cycle ( 0 )
FadeIn ( 0.5 )
FadeOut ( 0.5 )
States ( 1
State (
Duration ( 0.0 )
LightColour ( ffffffff )
Position ( 0.0 3.5 13 )
Transition ( 0 )
Radius ( 400.0 )
Angle ( 15.0 )
)
)
)
Light (
comment( sphere of dim light )
Type ( 1 )
Conditions (
Headlight ( 2 )
Unit ( 2 )
)
Cycle ( 0 )
FadeIn ( 0.5 )
FadeOut ( 0.5 )
States ( 1
State (
Duration ( 0.0 )
LightColour ( ffffffff )
Position ( 0.0 3.5 13 )
Transition ( 0 )
Radius ( 400.0 )
Angle ( 15.0 )
)
)
)
Light (
comment( front right flashing ditch light )
Type ( 0 )
Conditions (
Headlight ( 2 )
Penalty ( 1 )
Unit ( 2 )
)
FadeIn ( 0.5 )
FadeOut ( 0.5 )
Cycle ( 0 )
States ( 2
State (
Duration ( 0.6 )
LightColour ( ffffffff )
Position ( 1.128 1.869 10.25 )
Azimuth ( 15 15 15 )
Elevation ( 8 8 8 )
Transition ( 1.0 )
Radius ( 0.24 )
)
State (
Duration ( 0.6 )
LightColour ( 00000000 )
Position ( 1.128 1.869 10.25 )
Azimuth ( 15 15 15 )
Elevation ( 8 8 8 )
Transition ( 1.0 )
Radius ( 0.24 )
)
)
)
Light (
comment( front left flashing ditch light )
Type ( 0 )
Conditions (
Headlight ( 2 )
Penalty ( 1 )
Unit ( 2 )
)
FadeIn ( 0.5 )
FadeOut ( 0.5 )
Cycle ( 0 )
States ( 2
State (
Duration ( 0.6 )
LightColour ( 00000000 )
Position ( -1.128 1.869 10.25 )
Azimuth ( -15 -15 -15 )
Elevation ( 8 8 8 )
Transition ( 1.0 )
Radius ( 0.24 )
)
State (
Duration ( 0.6 )
LightColour ( ffffffff )
Position ( -1.128 1.869 10.25 )
Azimuth ( -15 -15 -15 )
Elevation ( 8 8 8 )
Transition ( 1.0 )
Radius ( 0.24 )
)
)
)
Light (
comment( front right ditch light high )
Type ( 0 )
Conditions (
Headlight ( 3 )
Penalty ( 1 )
Unit ( 2 )
)
FadeIn ( 0.5 )
FadeOut ( 0.5 )
Cycle ( 0 )
States ( 1
State (
Duration ( 0.0 )
LightColour ( ffffffff )
Position ( 1.128 1.869 10.25 )
Azimuth ( 15 15 15 )
Elevation ( 8 8 8 )
Transition ( 0 )
Radius ( 0.24 )
)
)
)
Light (
comment( front left ditch light high )
Type ( 0 )
Conditions (
Headlight ( 3 )
Penalty ( 1 )
Unit ( 2 )
)
FadeIn ( 0.5 )
FadeOut ( 0.5 )
Cycle ( 0 )
States ( 1
State (
Duration ( 0.0 )
LightColour ( ffffffff )
Position ( -1.128 1.869 10.25 )
Azimuth ( -15 -15 -15 )
Elevation ( 8 8 8 )
Transition ( 0 )
Radius ( 0.24 )
)
)
)
Light (
comment( front right headlight high )
Type ( 0 )
Conditions (
Headlight ( 2 )
Penalty ( 1 )
Unit ( 2 )
)
Cycle ( 0 )
FadeIn ( 0.5 )
FadeOut ( 0.0 )
States ( 1
State (
Duration ( 0.0 )
LightColour ( ffffffff )
Position ( -0.1218 2.851 10.259 )
Transition ( 0 )
Radius ( 0.25 )
)
)
)
Light (
comment( front left headlight high )
Type ( 0 )
Conditions (
Headlight ( 2 )
Penalty ( 1 )
Unit ( 2 )
)
Cycle ( 0 )
FadeIn ( 0.5 )
FadeOut ( 0.0 )
States ( 1
State (
Duration ( 0.0 )
LightColour ( ffffffff )
Position ( 0.1218 2.851 10.259 )
Transition ( 0 )
Radius ( 0.25 )
)
)
)
Light (
comment( front right headlight high )
Type ( 0 )
Conditions (
Headlight ( 3 )
Penalty ( 1 )
Unit ( 2 )
)
Cycle ( 0 )
FadeIn ( 0.0 )
FadeOut ( 0.0 )
States ( 1
State (
Duration ( 0.0 )
LightColour ( ffffffff )
Position ( -0.1218 2.851 10.259 )
Transition ( 0 )
Radius ( 0.25 )
)
)
)
Light (
comment( front left headlight high )
Type ( 0 )
Conditions (
Headlight ( 3 )
Penalty ( 1 )
Unit ( 2 )
)
Cycle ( 0 )
FadeIn ( 0.0 )
FadeOut ( 0.0 )
States ( 1
State (
Duration ( 0.0 )
LightColour ( ffffffff )
Position ( 0.1218 2.851 10.259 )
Transition ( 0 )
Radius ( 0.25 )
)
)
)
Light (
comment( front right red emergency light )
Type ( 0 )
Conditions (
Headlight ( 0 )
Unit ( 2 )
Penalty ( 2 )
Control ( 0 )
)
Cycle ( 0 )
FadeIn ( 0.0 )
FadeOut ( 0.0 )
States ( 1
State (
Duration ( 0.0 )
LightColour ( a0ff0000 )
Position ( 1.115 1.869 10.25 )
Transition ( 0 )
Radius ( 0.25 )
)
)
) Light (
comment( front left red emergency light )
Type ( 0 )
Conditions (
Headlight ( 0 )
Unit ( 2 )
Penalty ( 2 )
Control ( 0 )
)
Cycle ( 0 )
FadeIn ( 0.0 )
FadeOut ( 0.0 )
States ( 1
State (
Duration ( 0.0 )
LightColour ( a0ff0000 )
Position ( -1.115 1.869 10.25 )
Transition ( 0 )
Radius ( 0.25 )
)
)
)
Light (
comment( rear left head light dim )
Type ( 0 )
Conditions (
Headlight ( 2 )
Unit ( 3 )
Penalty ( 0 )
Control ( 0 )
)
FadeIn ( 0.5 )
FadeOut ( 0.5 )
Cycle ( 0 )
States ( 1
State (
Duration ( 0.0 )
LightColour ( eff9ec95 )
Position ( 0.7871 1.869 10.385 )
Azimuth ( 0 0 0 )
Transition ( 0 )
Azimuth ( -180 -180 -180 )
Radius ( .30 )
)
)
)
Light (
comment( rear right head light dim )
Type ( 0 )
Conditions (
Headlight ( 2 )
Unit ( 3 )
Penalty ( 0 )
Control ( 0 )
)
FadeIn ( 0.5 )
FadeOut ( 0.5 )
Cycle ( 0 )
States ( 1
State (
Duration ( 0.0 )
LightColour ( eff9ec95 )
Position ( -0.7871 1.869 10.385 )
Azimuth ( 0 0 0 )
Transition ( 0 )
Azimuth ( -180 -180 -180 )
Radius ( .30 )
)
)
)
Light (
comment( rear left head light bright )
Type ( 0 )
Conditions (
Headlight ( 3 )
Unit ( 3 )
Penalty ( 0 )
Control ( 0 )
)
FadeIn ( 0.5 )
FadeOut ( 0.5 )
Cycle ( 0 )
States ( 1
State (
Duration ( 0.0 )
LightColour ( ffffffff )
Position ( 0.7871 1.869 10.385 )
Azimuth ( 0 0 0 )
Transition ( 0 )
Azimuth ( -180 -180 -180 )
Radius ( 0.50 )
)
)
)
Light (
comment( rear right head light bright )
Type ( 0 )
Conditions (
Headlight ( 3 )
Unit ( 3 )
Penalty ( 0 )
Control ( 0 )
)
FadeIn ( 0.5 )
FadeOut ( 0.5 )
Cycle ( 0 )
States ( 1
State (
Duration ( 0.0 )
LightColour ( ffffffff )
Position ( -0.7871 1.869 10.385 )
Azimuth ( 0 0 0 )
Transition ( 0 )
Azimuth ( -180 -180 -180 )
Radius ( 0.50 )
)
)
)
Light (
comment( EBRAKE APPLICATION STROBE )
Type ( 0 )
Conditions (
Headlight ( 0 )
Unit ( 2 )
Penalty ( 2 )
)
Cycle ( 0 )
FadeIn ( 0.5 )
FadeOut ( 0.5 )
States ( 8
State (
Duration ( 0.1 )
LightColour ( ffF52323 )
Position ( 0.0 4.85 -8.7 )
Azimuth ( 0 0 0 )
Transition ( 0 )
Radius ( 0.35 )
)
State (
Duration ( 0.1 )
LightColour ( ffF52323 )
Position ( 0.1 4.85 -8.7 )
Azimuth ( 45 45 45 )
Transition ( 0 )
Radius ( 0.35 )
)
State (
Duration ( 0.1 )
LightColour ( ffF52323 )
Position ( 0.125 4.85 -8.849 )
Azimuth ( 90 90 90 )
Transition ( 0 )
Radius ( 0.35 )
)
State (
Duration ( 0.1 )
LightColour ( ffF52323 )
Position ( 0.125 4.85 -8.95 )
Azimuth ( 135 135 135 )
Transition ( 0 )
Radius ( 0.35 )
)
State (
Duration ( 0.1 )
LightColour ( ffF52323 )
Position ( 0.0 4.85 -8.978 )
Azimuth ( 180 180 180 )
Transition ( 0 )
Radius ( 0.35 )
)
State (
Duration ( 0.1 )
LightColour ( ffF52323 )
Position ( -0.125 4.85 -8.95 )
Azimuth ( -135 -135 -135 )
Transition ( 0 )
Radius ( 0.35 )
)
State (
Duration ( 0.1 )
LightColour ( ffF52323 )
Position ( -0.125 4.85 -8.849 )
Azimuth ( -90 -90 -90 )
Transition ( 0 )
Radius ( 0.35 )
)
State (
Duration ( 0.1 )
LightColour ( ffF52323 )
Position ( 0.1 4.85 -8.7 )
Azimuth ( -45 -45 -45 )
Transition ( 0 )
Radius ( 0.35 )
)
)
)
I am trying to edit the lights on the Metrolink MP36. I have re-done the lighting totally and cannot seem to evade the "cannot read database file Line:XXXXX. Last time it came up with File Line:567832 there isnt even that many lines?!
Heres my lighting code:
Lights ( 17
Light (
comment( sphere of bright light )
Type ( 1 )
Conditions (
Headlight ( 3 )
Unit ( 2 )
)
Cycle ( 0 )
FadeIn ( 0.5 )
FadeOut ( 0.5 )
States ( 1
State (
Duration ( 0.0 )
LightColour ( ffffffff )
Position ( 0.0 3.5 13 )
Transition ( 0 )
Radius ( 400.0 )
Angle ( 15.0 )
)
)
)
Light (
comment( sphere of dim light )
Type ( 1 )
Conditions (
Headlight ( 2 )
Unit ( 2 )
)
Cycle ( 0 )
FadeIn ( 0.5 )
FadeOut ( 0.5 )
States ( 1
State (
Duration ( 0.0 )
LightColour ( ffffffff )
Position ( 0.0 3.5 13 )
Transition ( 0 )
Radius ( 400.0 )
Angle ( 15.0 )
)
)
)
Light (
comment( front right flashing ditch light )
Type ( 0 )
Conditions (
Headlight ( 2 )
Penalty ( 1 )
Unit ( 2 )
)
FadeIn ( 0.5 )
FadeOut ( 0.5 )
Cycle ( 0 )
States ( 2
State (
Duration ( 0.6 )
LightColour ( ffffffff )
Position ( 1.128 1.869 10.25 )
Azimuth ( 15 15 15 )
Elevation ( 8 8 8 )
Transition ( 1.0 )
Radius ( 0.24 )
)
State (
Duration ( 0.6 )
LightColour ( 00000000 )
Position ( 1.128 1.869 10.25 )
Azimuth ( 15 15 15 )
Elevation ( 8 8 8 )
Transition ( 1.0 )
Radius ( 0.24 )
)
)
)
Light (
comment( front left flashing ditch light )
Type ( 0 )
Conditions (
Headlight ( 2 )
Penalty ( 1 )
Unit ( 2 )
)
FadeIn ( 0.5 )
FadeOut ( 0.5 )
Cycle ( 0 )
States ( 2
State (
Duration ( 0.6 )
LightColour ( 00000000 )
Position ( -1.128 1.869 10.25 )
Azimuth ( -15 -15 -15 )
Elevation ( 8 8 8 )
Transition ( 1.0 )
Radius ( 0.24 )
)
State (
Duration ( 0.6 )
LightColour ( ffffffff )
Position ( -1.128 1.869 10.25 )
Azimuth ( -15 -15 -15 )
Elevation ( 8 8 8 )
Transition ( 1.0 )
Radius ( 0.24 )
)
)
)
Light (
comment( front right ditch light high )
Type ( 0 )
Conditions (
Headlight ( 3 )
Penalty ( 1 )
Unit ( 2 )
)
FadeIn ( 0.5 )
FadeOut ( 0.5 )
Cycle ( 0 )
States ( 1
State (
Duration ( 0.0 )
LightColour ( ffffffff )
Position ( 1.128 1.869 10.25 )
Azimuth ( 15 15 15 )
Elevation ( 8 8 8 )
Transition ( 0 )
Radius ( 0.24 )
)
)
)
Light (
comment( front left ditch light high )
Type ( 0 )
Conditions (
Headlight ( 3 )
Penalty ( 1 )
Unit ( 2 )
)
FadeIn ( 0.5 )
FadeOut ( 0.5 )
Cycle ( 0 )
States ( 1
State (
Duration ( 0.0 )
LightColour ( ffffffff )
Position ( -1.128 1.869 10.25 )
Azimuth ( -15 -15 -15 )
Elevation ( 8 8 8 )
Transition ( 0 )
Radius ( 0.24 )
)
)
)
Light (
comment( front right headlight high )
Type ( 0 )
Conditions (
Headlight ( 2 )
Penalty ( 1 )
Unit ( 2 )
)
Cycle ( 0 )
FadeIn ( 0.5 )
FadeOut ( 0.0 )
States ( 1
State (
Duration ( 0.0 )
LightColour ( ffffffff )
Position ( -0.1218 2.851 10.259 )
Transition ( 0 )
Radius ( 0.25 )
)
)
)
Light (
comment( front left headlight high )
Type ( 0 )
Conditions (
Headlight ( 2 )
Penalty ( 1 )
Unit ( 2 )
)
Cycle ( 0 )
FadeIn ( 0.5 )
FadeOut ( 0.0 )
States ( 1
State (
Duration ( 0.0 )
LightColour ( ffffffff )
Position ( 0.1218 2.851 10.259 )
Transition ( 0 )
Radius ( 0.25 )
)
)
)
Light (
comment( front right headlight high )
Type ( 0 )
Conditions (
Headlight ( 3 )
Penalty ( 1 )
Unit ( 2 )
)
Cycle ( 0 )
FadeIn ( 0.0 )
FadeOut ( 0.0 )
States ( 1
State (
Duration ( 0.0 )
LightColour ( ffffffff )
Position ( -0.1218 2.851 10.259 )
Transition ( 0 )
Radius ( 0.25 )
)
)
)
Light (
comment( front left headlight high )
Type ( 0 )
Conditions (
Headlight ( 3 )
Penalty ( 1 )
Unit ( 2 )
)
Cycle ( 0 )
FadeIn ( 0.0 )
FadeOut ( 0.0 )
States ( 1
State (
Duration ( 0.0 )
LightColour ( ffffffff )
Position ( 0.1218 2.851 10.259 )
Transition ( 0 )
Radius ( 0.25 )
)
)
)
Light (
comment( front right red emergency light )
Type ( 0 )
Conditions (
Headlight ( 0 )
Unit ( 2 )
Penalty ( 2 )
Control ( 0 )
)
Cycle ( 0 )
FadeIn ( 0.0 )
FadeOut ( 0.0 )
States ( 1
State (
Duration ( 0.0 )
LightColour ( a0ff0000 )
Position ( 1.115 1.869 10.25 )
Transition ( 0 )
Radius ( 0.25 )
)
)
) Light (
comment( front left red emergency light )
Type ( 0 )
Conditions (
Headlight ( 0 )
Unit ( 2 )
Penalty ( 2 )
Control ( 0 )
)
Cycle ( 0 )
FadeIn ( 0.0 )
FadeOut ( 0.0 )
States ( 1
State (
Duration ( 0.0 )
LightColour ( a0ff0000 )
Position ( -1.115 1.869 10.25 )
Transition ( 0 )
Radius ( 0.25 )
)
)
)
Light (
comment( rear left head light dim )
Type ( 0 )
Conditions (
Headlight ( 2 )
Unit ( 3 )
Penalty ( 0 )
Control ( 0 )
)
FadeIn ( 0.5 )
FadeOut ( 0.5 )
Cycle ( 0 )
States ( 1
State (
Duration ( 0.0 )
LightColour ( eff9ec95 )
Position ( 0.7871 1.869 10.385 )
Azimuth ( 0 0 0 )
Transition ( 0 )
Azimuth ( -180 -180 -180 )
Radius ( .30 )
)
)
)
Light (
comment( rear right head light dim )
Type ( 0 )
Conditions (
Headlight ( 2 )
Unit ( 3 )
Penalty ( 0 )
Control ( 0 )
)
FadeIn ( 0.5 )
FadeOut ( 0.5 )
Cycle ( 0 )
States ( 1
State (
Duration ( 0.0 )
LightColour ( eff9ec95 )
Position ( -0.7871 1.869 10.385 )
Azimuth ( 0 0 0 )
Transition ( 0 )
Azimuth ( -180 -180 -180 )
Radius ( .30 )
)
)
)
Light (
comment( rear left head light bright )
Type ( 0 )
Conditions (
Headlight ( 3 )
Unit ( 3 )
Penalty ( 0 )
Control ( 0 )
)
FadeIn ( 0.5 )
FadeOut ( 0.5 )
Cycle ( 0 )
States ( 1
State (
Duration ( 0.0 )
LightColour ( ffffffff )
Position ( 0.7871 1.869 10.385 )
Azimuth ( 0 0 0 )
Transition ( 0 )
Azimuth ( -180 -180 -180 )
Radius ( 0.50 )
)
)
)
Light (
comment( rear right head light bright )
Type ( 0 )
Conditions (
Headlight ( 3 )
Unit ( 3 )
Penalty ( 0 )
Control ( 0 )
)
FadeIn ( 0.5 )
FadeOut ( 0.5 )
Cycle ( 0 )
States ( 1
State (
Duration ( 0.0 )
LightColour ( ffffffff )
Position ( -0.7871 1.869 10.385 )
Azimuth ( 0 0 0 )
Transition ( 0 )
Azimuth ( -180 -180 -180 )
Radius ( 0.50 )
)
)
)
Light (
comment( EBRAKE APPLICATION STROBE )
Type ( 0 )
Conditions (
Headlight ( 0 )
Unit ( 2 )
Penalty ( 2 )
)
Cycle ( 0 )
FadeIn ( 0.5 )
FadeOut ( 0.5 )
States ( 8
State (
Duration ( 0.1 )
LightColour ( ffF52323 )
Position ( 0.0 4.85 -8.7 )
Azimuth ( 0 0 0 )
Transition ( 0 )
Radius ( 0.35 )
)
State (
Duration ( 0.1 )
LightColour ( ffF52323 )
Position ( 0.1 4.85 -8.7 )
Azimuth ( 45 45 45 )
Transition ( 0 )
Radius ( 0.35 )
)
State (
Duration ( 0.1 )
LightColour ( ffF52323 )
Position ( 0.125 4.85 -8.849 )
Azimuth ( 90 90 90 )
Transition ( 0 )
Radius ( 0.35 )
)
State (
Duration ( 0.1 )
LightColour ( ffF52323 )
Position ( 0.125 4.85 -8.95 )
Azimuth ( 135 135 135 )
Transition ( 0 )
Radius ( 0.35 )
)
State (
Duration ( 0.1 )
LightColour ( ffF52323 )
Position ( 0.0 4.85 -8.978 )
Azimuth ( 180 180 180 )
Transition ( 0 )
Radius ( 0.35 )
)
State (
Duration ( 0.1 )
LightColour ( ffF52323 )
Position ( -0.125 4.85 -8.95 )
Azimuth ( -135 -135 -135 )
Transition ( 0 )
Radius ( 0.35 )
)
State (
Duration ( 0.1 )
LightColour ( ffF52323 )
Position ( -0.125 4.85 -8.849 )
Azimuth ( -90 -90 -90 )
Transition ( 0 )
Radius ( 0.35 )
)
State (
Duration ( 0.1 )
LightColour ( ffF52323 )
Position ( 0.1 4.85 -8.7 )
Azimuth ( -45 -45 -45 )
Transition ( 0 )
Radius ( 0.35 )
)
)
)